I am experiencing a problem where the server runs out of memory in specific scenarios. one solution I am thinking about is to limit the number of clients served concurrently, but have the extra clients wait for a free slot instead of having them get a "too many connections error". is this possible?
how do I calculate maximum memory usage per open mysql connection?
| |||
|
feedback
|
|
take a look in my.cnf (should be somewhere in /etc or /etc/mysql, depending on your distro); there you have several options for fine tuning, like
and some query cache options | |||||
feedback
|
|
How much memory is the database using? How much is installed? What OS are you running MySQL on? | |||||||
feedback
|