Processes Piling up with the lockf state
    Mel 
    fbsd.questions at rachie.is-a-geek.net
       
    Mon Jan  5 23:31:20 PST 2009
    
    
  
On Monday 05 January 2009 06:29:33 Sydney Longfellow wrote:
> I'm getting problems with my server locking up after accumulating far
> too many processes until I have to reboot.
>
> The states of the processes are reading either sbwait or lockf when this
> spiral out of control starts to happen.
>
> Any ideas what might cause this?
sbwait indicates a process is waiting for data on a socket. lockf indicates 
that a process is trying to lock portions of a file. If you put the two 
together, a cause could be network congestion (disk to network) or harddrive 
problems (network to disk).
A server running out of memory and into swap can also be a cause, as processes 
are blocked (sockets don't get data and locks are not acquired) until the 
swap operation is completed. When processes keep getting spawned, this effect 
snowballs.
-- 
Mel
Problem with today's modular software: they start with the modules
    and never get to the software part.
    
    
More information about the freebsd-questions
mailing list