#10075 NORM Not Tri: long uptime with constant wakeups fills /var/log and crashes machine

Zarro Boogs per Child bugtracker at laptop.org
Thu Mar 18 17:59:00 EDT 2010


#10075: long uptime with constant wakeups fills /var/log and crashes machine
--------------------------------+-------------------------------------------
           Reporter:  rsmith    |       Owner:  cjb          
               Type:  defect    |      Status:  new          
           Priority:  normal    |   Milestone:  Not Triaged  
          Component:  distro    |     Version:  not specified
         Resolution:            |    Keywords:               
        Next_action:  diagnose  |    Verified:  0            
Deployment_affected:            |   Blockedby:               
           Blocking:            |  
--------------------------------+-------------------------------------------

Comment(by Quozl):

 Currently our /var/log is a message queue rather than a ring buffer.  Head
 of queue is current time.  Tail of queue is last reboot.  The queue is
 flushed on reboot.

 We could

  * run logrotate more rapidly, such as hourly, using ''size'' and
 ''rotate'' options, and tune the ''rotate'' option based on the amount of
 free space on the tmpfs,

  * log less,

  * log nothing at all,

  * fix the redundant X server logging,

  * find what components are failing as a result of /var/log being full,
 and fix those components.

-- 
Ticket URL: <http://dev.laptop.org/ticket/10075#comment:7>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list