another mysql_pconnect error
Posted: Wed Aug 24, 2005 10:00 pm
Hey, i've seen couple of topics with similar problems, but none exactly about mine...
after installing, configuring and using for couple of days, suddenly i'm getting:
Warning: mysql_pconnect(): Lost connection to MySQL server during query in /home/numer9/ftp/amtel/beta/lib/adodb/drivers/adodb-mysql.inc.php on line 356
Warning: Smarty error: unable to read resource: "db:-1" in /home/numer9/ftp/amtel/beta/lib/smarty/Smarty.class.php on line 1088
(if u want to check it out, http://www.numer9.pl/amtel/beta/)
Mysql on my server is up and running. I'm having another CMS installed, also based on Mysql+php (mambo to be exact), so I got constant check-out.
The strangest thing is that it happend just after another refresh of the page. I was altering css (of a plugin), so I couldn't mess up with the code...
To give full problem description - I was having 500 [Internal server problem] from time-to-time (about once every 40 refresh of the page). My admin says it could be because of many mysql open connections, not closed properly. I doubt it, saying that it's a 0.10 version and it's not buggy software.
Can anyone help me? Cause I really don't know what to do, what to debug or anything. It's the usual mysql_pconnect line the error's reffering... log file of apache isn't saying anything... And i'm supposed to be done with that webpage about week ago
numer9
after installing, configuring and using for couple of days, suddenly i'm getting:
Warning: mysql_pconnect(): Lost connection to MySQL server during query in /home/numer9/ftp/amtel/beta/lib/adodb/drivers/adodb-mysql.inc.php on line 356
Warning: Smarty error: unable to read resource: "db:-1" in /home/numer9/ftp/amtel/beta/lib/smarty/Smarty.class.php on line 1088
(if u want to check it out, http://www.numer9.pl/amtel/beta/)
Mysql on my server is up and running. I'm having another CMS installed, also based on Mysql+php (mambo to be exact), so I got constant check-out.
The strangest thing is that it happend just after another refresh of the page. I was altering css (of a plugin), so I couldn't mess up with the code...
To give full problem description - I was having 500 [Internal server problem] from time-to-time (about once every 40 refresh of the page). My admin says it could be because of many mysql open connections, not closed properly. I doubt it, saying that it's a 0.10 version and it's not buggy software.
Can anyone help me? Cause I really don't know what to do, what to debug or anything. It's the usual mysql_pconnect line the error's reffering... log file of apache isn't saying anything... And i'm supposed to be done with that webpage about week ago

numer9