HELP: Pconnect to many connections

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Chris
Forum Members
Forum Members
Posts: 49
Joined: Tue Mar 22, 2005 6:59 pm

HELP: Pconnect to many connections

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: HELP: Pconnect to many connections

Post 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.
Chris
Forum Members
Forum Members
Posts: 49
Joined: Tue Mar 22, 2005 6:59 pm

Re: HELP: Pconnect to many connections

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: HELP: Pconnect to many connections

Post 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.
Chris
Forum Members
Forum Members
Posts: 49
Joined: Tue Mar 22, 2005 6:59 pm

Re: HELP: Pconnect to many connections

Post 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 ?
Post Reply

Return to “CMSMS Core”