[URGENT!!] Problem with sessions unclosed

Hello everybody,

 

my hosting says that the user associated to my dolphin's database creates a lot of sessions and he never closes one

 

I've got 2 days or they'll pull down my domain because that destabilize their server

 

how could I try to solve this?

 

please!!! Help!!

 

thank you very much!

Quote · 19 Jun 2008

please it's very important!

Quote · 20 Jun 2008

Dolphin uses mysql_pconnect in which the connection will not be closed and used for future connections. If you need to close it you have reprogram it.

You can use another host.

Regards,

Praveen

http://cpanel.happy-hosting.com

----
Quote · 21 Jun 2008

I'm not an expert... so this is just a suggestion you will have to check ;-)

But I think that you can change mysql_pconnect for mysql_connect in your script.

 

Infos: http://ch2.php.net/mysql_connect

 

Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine.
Quote · 21 Jun 2008

 

I'm not an expert... so this is just a suggestion you will have to check ;-)

But I think that you can change mysql_pconnect for mysql_connect in your script.

 

Infos: http://ch2.php.net/mysql_connect

 

 uhm no.. it seems that it doesn't work

Quote · 21 Jun 2008

 

Dolphin uses mysql_pconnect in which the connection will not be closed and used for future connections. If you need to close it you have reprogram it.

 

You can use another host.

 

Regards,

Praveen

http://cpanel.happy-hosting.com

 well but my problem is the huge number of sessions created, not the number of connections (or is the same thing??)

 

if I open phpmyadmin and refresh the process list continously for a minute I can see something like 30 new sessions

 

is this normal?

Quote · 21 Jun 2008

Whenever a connection is opened it create a session to remember the client.

----
Quote · 21 Jun 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.