Jimmy Ruska's Blog
MiscBest Nintendo DS Emulator
List of Webhosting Companies
Rotate.pl eating CPU
See all 3 posts
Misc RSS

Categoriesvideo tutorials (123)
funny pictures (30)
amazing pictures (11)
amazing videos (8)
php tutorials (7)
computer tricks (7)
hilarious videos (6)
personal updates (3)
youtube tips (3)
misc (3)
apache (2)
fake news (2)
articles (2)
cat videos (1)
My WebsitesBest of Internet
Streaming Anime Episodes
Free Video Tutorials
Best of Youtube
Electronics Discounts
MP3s From Google
Free Online Education
Funny Pictures Blog
Video Game Sheet Music
Free Movies Online
Online Degrees
College Online
Mar 17 | Rotate.pl eating CPU Posted on Monday, March 17 2008 |
Today I had an issue in that webmin's /etc/webmin/bandwidth/rotate.pl was taking 99% of the CPU every hour. I guess it's always been there eating up the processor but I've never really noticed until now since it's a cron job. I deleted the entry calling rotate.pl. Suddenly /var/log/bandwidth started increasing at an insane rate. In a day it racked up 17 gigabytes. Deleting it didn't do anything. Here's the solution:
- Edit the Syslog.conf with Vi
- vi /etc/syslog.conf
- click insert key
- Add a "#" in front of
- kern.=debug -/var/log/bandwidth
- Restart the systemlog service
- /sbin/service syslog restart
- Delete the massive file
- rm /var/log/bandwidth
You can check how much disk space any folder takes by typing du -hs foldernamehere. The commmand "df" will tell you how much disk space you have available. Logs definitely can eat tons of space if left unchecked.
Tags: rotate.pl processor, cron job, webmin, function, delete cronjob, disk space keeps increasing centos, deleted webmin, rotatepl

Share:
More OMFG-Good Links
See all Posts in the Funny Pictures category.Download mp3s faster than limewire using google.
I've made 100+ free video tutorials.
See the best of the internet today on one page.