View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue May 30, 2006 8:39 am 
Offline
Joined: Tue Aug 16, 2005 11:50 am
Posts: 181
Location: Douglasville, GA
I ran into a problem this weekend where my system froze several times, and then GDM wouldn't let user mythtv log in. Turns out the my / partition was full. I used du to find the heaviest items. They were, 1. The MySQL logs, and 2. The Kernel source. The MySQL log was over 6GB. I elected to fix it by doing this from the MySQL log directory:
Code:
tail -n 1000 mysql.log > /mythtv/mysql.log; rm mysql.log; mv /mythtv/mysql.log .


I elected not to delete the un-tared kernel source, since I can't remember what I was doing when I un-tared it.

After a reboot all was well. This does, however, beg the question: What is the recommended KnoppMyth maintenance schedule? Is there something that I should me doing on a regular basis, or that my machine should have known to do to itself?

I'd like this thread to develop into something that newbies can refer to for guidance on keeping their system healthy.

Engage.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 30, 2006 9:00 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
This has been discussed in a couple of different threads:

http://mysettopbox.tv/phpBB2/viewtopic. ... =mysql+log
http://mysettopbox.tv/phpBB2/viewtopic. ... =mysql+log

There are multiple solutions listed; the one that sounds most promising is the one where there's something keeping the logrotate scripts from running, and deleting an extraneous script allows it to run without an error.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 30, 2006 2:29 pm 
Offline
Joined: Tue Aug 16, 2005 11:50 am
Posts: 181
Location: Douglasville, GA
ceenvee703 wrote:
This has been discussed in a couple of different threads


Thanks for the lead. After verifying with "diff /etc/logrotate.d/hiber*", I did a "sudo rm /etc/logrotate.d/hibernate-script" which should fix that problem.

I posted the topic not just for the mysql log issue, but for general maintenance discussion. I hope that once these crons work correctly, this topic should be unnecessary.

We'll see.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu