Swap usage issue
Today I started getting loads of Error connecting to MySQL server at localhost: Too many connections error messages on our production server. After connecting via SSH, I noticed that the server was completely swamped (load average >50). I barely managed to reboot it.
After a closer examination, I found out that for the past month or so, swap usage has been persistently growing. Today it shot up to more than 2GB (see attachments) and "commited" to 5G (the server has only 512M of RAM). The strange part is that "apps" usage never exceeded 300M and it was more or less around 100M on average.
The server is running ISPConfig 220.127.116.11 on Ubuntu Jaunty. Does anyone have any idea why this has been happening?
I can post additional information about the server if it will help determining the cause.
Any help will be much appreciated.