I have a VPS with 4 GB of ram and 8 cores and about 200K Visits per day. I have DirectAdmin Installed and I always see a huge number of PIDs for httpd and mysqld in DirectAdmin Service Monitor.
e.g. about 40 number of PIDs for mysqld and it increases in a while. I have CSF installed and configured httpd.conf/my.cnf sometimes this load prevents the server from responding and it freezes.
Administrators installed 32bit Centos and defined only 512 MB for SWAP
Swap: 524280 4 524276
any ideas to fix this ?
Thanks
If you want to add swap space, I'd suggest reading CentOS.org's documentation on the subject.
You may also find this guide from Techotopia helpful.
CentOS recommends your swap being at 6GB for your particular build.
For swap file size, refer to this documentation from CentOS.org.