View Single Post
  #1  
Old 10-19-2004, 11:01 AM
jailbird jailbird is offline
Member
 
Join Date: Oct 2004
Posts: 23
Default lshttpd.2.0RC2 process using CPU

Today I noticed that the main lshttpd.2.0RC2 process was using around 1% CPU consantly, which I thought was wierd since I know nobody was using the web server at the moment.

A truss on the process shows:

Received signal #14, SIGALRM, in pollsys() [caught]
pollsys(0x0022F258, 3, 0xFFBFF628, 0x00000000) Err#4 EINTR
lwp_sigmask(SIG_SETMASK, 0x00002000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
setcontext(0xFFBFEFF0)
time()
Received signal #14, SIGALRM, in pollsys() [caught]
pollsys(0x0022F258, 3, 0xFFBFF628, 0x00000000) Err#4 EINTR
lwp_sigmask(SIG_SETMASK, 0x00002000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
setcontext(0xFFBFEFF0)
time()

over and over and over.

Should the process really be alarm()'ing so many times a second? This seems inefficient to me.

Thanks,
-Dustin
Reply With Quote