A few months ago I had a user who had somewhere in the neighborhood of 5.5Gb email account size. Everytime she tried to login or click on an email another process would start and use 100% CPU and after about 3 proccess or so it would then use up all the memory and crash the server. Killing PID’s was the only way to keep the server up until I locked her out by changing the password.
I ended up moving her to another server with these spec’s:
Webmin version 1.701
CentOS Linux 6.5
Virtualmin version 4.11 Pro
Real memory 15.54 GB total (less than 5% usage)
Local disk space 855.63 GB total (less than 5%)
CPU load averages 0.38 (1 min) CPU load (1 min) 0.44 (5 mins) CPU load (5 mins) 0.46 (15 mins) CPU load (15 mins)
Things were fine for her until I moved about 50 other virtual servers onto the same machine with her.
The usage is now:
Real memory 15.54 GB total, 4.80 GB used Memory used
Virtual memory 15.62 GB total, 253.82 MB used Swap space used
Local disk space 855.63 GB total, 264.68 GB used Disk space used
She has had one more instance of trouble when her account got to about 5Gb’s again. She cut back to under 4 and has been quiet again.
On the original server that I moved her from, I have had two more issues with users since then.
The specs of this server are:
Operating system CentOS Linux 5.8
Webmin version 1.701 Virtualmin version 4.10 Pro
Kernel and CPU Linux 2.6.18-308.1.1.el5 on x86_64 CPU load averages 0.29 (1 min) CPU load (1 min) 0.47 (5 mins) CPU load (5 mins) 0.50 (15 mins) CPU load (15 mins)
Real memory 7.79 GB total, 1.90 GB used Memory used
Virtual memory 15.63 GB total, 2.86 GB used Swap space used
Local disk space 894.77 GB total, 583 GB used Disk space used
One of the users had trouble at around 3Gbs and the other at 5.85. The first user cut back to around 2 Gbs and was fine the second one I was able to fix by using the suggestion that samri proposed in this post:
I wanted to weigh in that I don’t think this is as uncommon as andreychek might think. I normally troll here for answers and don’t necessarily post (this is me trying to “give back” more)
and offer my situation/logs for clues if anyone wants to take a look.