LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > lshttpd.2.0RC2 process using CPU

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 10-19-2004, 03:28 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Dustin,

LiteSpeed uses a high resolution timer (10ms) in order to distribute traffic evenly during one second when throttling is enabled, the over head should be negligible on most modern system.

What kind of CPU is in your solaris box? :wink:

Thanks!

George
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
odd 503 PSS PHP 6 06-28-2007 05:08 PM
Client never gets server response Renuplex Ruby/Rails 9 04-23-2007 06:55 AM
like rails process to stay dlhhyct Ruby/Rails 1 10-16-2006 09:30 AM
long running process Shelby Ruby/Rails 1 10-03-2006 03:16 PM
admin_php & php process _harri_ Install/Configuration 2 02-22-2004 02:54 PM


All times are GMT -7. The time now is 01:59 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.