Greetings,
We've recently been running into performance issues where we keep getting spikes resulting in extremely long load times or the Oops error pages. When investigating through New Relic it points to the database element of "MySQL entity select" being the cause of the long loads. Here are the queries it says are the slow ones:

New Relic reports the same occurring error messages of:
- Out of resources when opening file './reason/entity.MYD' (Errcode: 24 - Too many open files)
- Out of resources when opening file './reason/meta.MYD' (Errcode: 24 - Too many open files)
- Out of resources when opening file './reason/relationship.MYD' (Errcode: 24 - Too many open files)
- Out of resources when opening file './reason/page_node.MYD' (Errcode: 24 - Too many open files)
We haven't done any major changes to the code recently so we're all a bit perplexed as to the recent and ongoing performance issues. Server wise, nothing is being overloaded in terms of hardware. However, our server admins report "apachectl, showing MANY waiting connections. Not sure on the exact nature of the wait, but it seems to have implications. Also, take note of the KeepAlive stuff too.."
Scoreboard Key:
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process
'www-browser -dump http://localhost:80/server-status' failed.
Maybe you need to install a package providing www-browser or you
need to adjust the APACHE_LYNX variable in /etc/apache2/envvars
Throwing this out as maybe someone experienced similar issues or might possibly have some directions to point us to in solving these ongoing issues. Here is an example of the spikes we're experiencing:

Any input would be most appreciated, thanks!