Jakiś czas temu postawiłem stronę na skrypcie sms omedia, jednak gdy jest trochę większy ruch na stronie od czasu do czasu wyrzuca taki komunikat:
Description
[Warning] mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections (@line 355 in file /home/mimik/domains/nazwastrony.pl/public_html/libs/adodb/drivers/adodb-mysql.inc.php).
Source File
/home/mimik/domains/nazwastrony.pl/public_html/libs/adodb/adodb.inc.php (414)
0403: function Connect($argHostname = "", $argUsername = "", $argPassword = "", $argDatabaseName = "", $forceNew = false)
0404: {
0405: if ($argHostname != "") $this->host = $argHostname;
0406: if ($argUsername != "") $this->user = $argUsername;
0407: if ($argPassword != "") $this->password = $argPassword; // not stored for security reasons
0408: if ($argDatabaseName != "") $this->database = $argDatabaseName;
0409:
0410: $this->_isPersistentConnection = false;
0411: if ($forceNew) {
0412: if ($rez=$this->_nconnect($this->host, $this->user, $this->password, $this->database)) return true;
....................itd.
Jak można temu zaradzić? Pewnie i tak chciałbym to komuś zlecić ale chciałem się na początek dowiedzieć w czym tkwi problem