#8355 NORM Not Tri: ohmd leaks sockets when X restarts

Zarro Boogs per Child bugtracker at laptop.org
Tue Sep 9 21:44:39 EDT 2008


#8355: ohmd leaks sockets when X restarts
----------------------------+-----------------------------------------------
   Reporter:  pgf           |       Owner:  cjb          
       Type:  defect        |      Status:  new          
   Priority:  normal        |   Milestone:  Not Triaged  
  Component:  not assigned  |     Version:  not specified
 Resolution:                |    Keywords:  cjbfor8.2    
Next_action:  design        |    Verified:  0            
  Blockedby:                |    Blocking:               
----------------------------+-----------------------------------------------

Comment(by pgf):

 first, neither trigger is likely.

 on exec, close all unneeded file descriptors -- be generous, and keep the
 first, uh, 30 open.  that guarantees we don't close anything important,
 while also guaranteeing we won't run out.

 do the same thing after N consecutive failures to connect to the X server
 -- knowing that if we leak 2 per failed call to XOpenDisplay.

 (just ideas)

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


More information about the Bugs mailing list