Page 1 of 1

HELP: Pconnect to many connections

Posted: Sun Jun 05, 2005 7:43 am
by Chris
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

Re: HELP: Pconnect to many connections

Posted: Sun Jun 05, 2005 8:41 am
by Ted
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

Posted: Sun Jun 05, 2005 8:48 am
by Chris
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

Re: HELP: Pconnect to many connections

Posted: Sun Jun 05, 2005 8:55 am
by Ted
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.

Re: HELP: Pconnect to many connections

Posted: Sun Jun 05, 2005 9:10 am
by Chris
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 ?