Jimmy Ruska's Blog
MiscMost common passwords list from 3 databases
Singles.org gets hacked
Kindle 2 out Kindle 1 Prices drop 30+ percent
Guy Kawasaki: Twitter Spammer
Vreel the next Stage6?
Craigslist scammers: Impossible to sell laptop
Michael Moore Releases Slacker Uprising Free
Best Nintendo DS Emulator
List of Webhosting Companies
Rotate.pl eating CPU
See all 10 posts
Misc RSS

Categoriesvideo tutorials (123)
funny pictures (41)
amazing videos (27)
hilarious videos (26)
amazing pictures (21)
misc (10)
php tutorials (8)
computer tricks (7)
personal updates (6)
cat videos (5)
articles (3)
youtube tips (3)
apache (2)
fake news (2)
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.