Hey guys,
First off: This is my first webserver setup ever, so I'm completely green to linux and to cPanel. No advice is trivial for me.
I recently set up a CentOS 6.5 server with the typical cPanel installation (stuck with the default settings for the most part). However, I've noticed that the nightly server images are getting bigger and bigger. They started around 3 GB 8 days ago and have gotten up to 9 GB. I only have 3 cPanel users, with one domain each, and they are using a combined total of ~300mb of space.
After running the command:
find / -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
I found that 3 /usr/tmpDSK files are reading at 1.7 GB.
One is simply /usr/tmpDSK, the other two are /home/virtfs/$username/usr/tmpDSK.
My research lead me to quite a few people complaining about the cPanel tmp folder maximum size of 500 mb... which doesn't seem to be the case for me...
On top of all this, it also bears mentioning that I only did the most basic of server setups. Installed cPanel, and configured iptables, that's about it. I haven't set up any sort of cleanup chrons or sql log truncation.
If anyone has any idea how I can keep these tmp folders under control, or can offer any general maintenance tips as far as automating server cleanup, etc. I would be greatly appreciative.
Thank you for any help you can offer, guys.
First off: This is my first webserver setup ever, so I'm completely green to linux and to cPanel. No advice is trivial for me.
I recently set up a CentOS 6.5 server with the typical cPanel installation (stuck with the default settings for the most part). However, I've noticed that the nightly server images are getting bigger and bigger. They started around 3 GB 8 days ago and have gotten up to 9 GB. I only have 3 cPanel users, with one domain each, and they are using a combined total of ~300mb of space.
After running the command:
find / -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
I found that 3 /usr/tmpDSK files are reading at 1.7 GB.
One is simply /usr/tmpDSK, the other two are /home/virtfs/$username/usr/tmpDSK.
My research lead me to quite a few people complaining about the cPanel tmp folder maximum size of 500 mb... which doesn't seem to be the case for me...
On top of all this, it also bears mentioning that I only did the most basic of server setups. Installed cPanel, and configured iptables, that's about it. I haven't set up any sort of cleanup chrons or sql log truncation.
If anyone has any idea how I can keep these tmp folders under control, or can offer any general maintenance tips as far as automating server cleanup, etc. I would be greatly appreciative.
Thank you for any help you can offer, guys.