Dear all,
I have this problem which is coussed by the Pconnect routine. I can't make a new connection because all connections are full. Does anyone know what changes have to be made at the webserver? Or can I just switch to Connect() instead of PConnect().
Because the webserver is full of connection my website is down, does anyone know how I can terminate these connections without admin right on the server?
Thanks in advance...
Chris
HELP: Pconnect to many connections
Re: HELP: Pconnect to many connections
Wow, that's a strange problem... connections should time out after awhile. You could switch to Connect(), but I'm not totally sure if it'll help or not.
Re: HELP: Pconnect to many connections
Hey Wishy,
I've switched to Normal connect and that also doesn't work. I think the server hangs... but is there a way to flush the connection of a MySql server ?
Best regards,
Chris
I've switched to Normal connect and that also doesn't work. I think the server hangs... but is there a way to flush the connection of a MySql server ?
Best regards,
Chris
Re: HELP: Pconnect to many connections
Reading the docs, it doesn't look like there is.
http://us4.php.net/manual/en/features.p ... ctions.php
http://us4.php.net/manual/en/function.m ... onnect.php
The persistant connections should timeout after a certain amount of time (60 sec?) of not being used.
I'm wondering if it's something with the mysql server.
http://us4.php.net/manual/en/features.p ... ctions.php
http://us4.php.net/manual/en/function.m ... onnect.php
The persistant connections should timeout after a certain amount of time (60 sec?) of not being used.
I'm wondering if it's something with the mysql server.
Re: HELP: Pconnect to many connections
Why do you think it isn't the MySql server ? All account and PhpMyAdmin don't work so neither of them can make a connection.
Is there a funtion to determine the amount of available slots ?
Is there a funtion to determine the amount of available slots ?

