One of my high traffic sites is on a dedicated server, and that server is getting a lot of traffic... so much that it’s starting to experience brown-outs. I’m seeing a lot of Parser errors in Reports-->System Events:
Error: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'sending authentication information', system error: 32
Error type/ Nr.: Warning - 2
File: /var/www/zamm/html/manager/includes/extenders/dbapi.mysql.class.inc.php
Line: 89
Line 89 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {
And also some of these:
PHP error debug
Error: Invalid argument supplied for foreach()
Error type/ Nr.: Warning - 2
File: /var/www/zamm/html/manager/includes/document.parser.class.inc.php(769) : eval()'d code
Line: 243
Are we seriously in trouble? I mean... I know our server is probably in over its head, but what bothers me is that when this error fires, it broadcasts to the world more information than I’d care to share... I’d much prefer a way to fail silently.
And relatedly... anyone got hot tips on tweaking a linux server for better performance?