I am setting the MaxClients directive in Apache's .conf. The setting seems pointless setting when using a reverse proxy since there can only ever be one client, Varnish, even where requests are being passed to the backend (unless of course the browser is pointed to the backend port). Is that correct?
I got mysql connection lost error during heavy load on website. it seems on random. i found this error in watchdog table.
i did n't get any solution for it.
| 16160418 | 0 | php | %message in %file on line %line. | a:4:{s:6:"%error";s:7:"warning";s:8:"%message";s:171:"mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 110";s:5:"%file";s:76:"/includes/common.inc(1695) : eval()'d code";s:5:"%line";i:10;} | 3 | | https://www.example.ca/ | | 10.172.80.20 | 1339005945 |
| 16160283 | 0 | php | %message in %file on line %line. | a:4:{s:6:"%error";s:7:"warning";s:8:"%message";s:171:"mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 110";s:5:"%file";s:76:"/includes/common.inc(1695) : eval()'d code";s:5:"%line";i:10;} | 3 | | https://www.example.ca/webfm_send/513 | https://www.example.ca/ | 23.17.181.146 | 1339005854 |
I recently exported my website from DP onto my desktop. I am attempting to upload the site to Godaddy. The database and files were uploaded correctly (at least I believe this to be the case). DP gives you new credentials when you export and I used those to set up the database.
I'm developing a Drupal 7 site in a shared host. The available memory in this hosting service is limited to 64MB, but I have experienced a memory error when loading the "permissions" tab. It occurs since I've installed the "Conditional Fields" module and created some conditional fields in a custom content type I need to define. This module is still in development (version 7.x-3.x-dev), but anyway I'm not sure if this is the reason why my site needs more memory now.
Many people on drupal.org have reported the following mysql error since the advent of Drupal 7.x
- PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away:
I've provided a google search URL below that captures all the mentions of this problem on drupal.org.
I've also provided the URL of the relevant mysql manual page, which states:
The most common reason for the MySQL server has gone away error is that the server timed out and closed the connection. In this case, you normally get one of the following error codes (which one you get is operating system-dependent).
Over a signifcant span of time people have reported the problem above incorrectly believing it was caused by something in a particular Drupal feature, when in fact it is a MYSQL server configuration problem that can crash execution of all manner of activities one performs within the Drupal administration system.