The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

httpd load, waitpid WNOHANG timeout

Discussion in 'General Discussion' started by jeroman8, Nov 9, 2004.

  1. jeroman8

    jeroman8 Well-Known Member

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    16
    Hello!

    my httpd use really much cpu but the request is only between 5-10/sec.
    When I check the top and then trace it I get the following (below) - anyone
    know what it is and what to do to fix it ??


    Pid/process: /usr/local/apache/bin/httpd-DSSL

    Trace:

    waitpid(-1, 0xbfffb78c, WNOHANG) = 0
    select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
    time(NULL) = 1099993003
    waitpid(-1, 0xbfffb78c, WNOHANG) = 0
    select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
    time(NULL) = 1099993004
    waitpid(-1, 0xbfffb78c, WNOHANG) = 0
    select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
    time(NULL) = 1099993005
    waitpid(-1, 0xbfffb78c, WNOHANG) = 0
    select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
    time(NULL) = 1099993006
    waitpid(-1, 0xbfffb78c, WNOHANG) = 0
    select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
    time(NULL) = 1099993007
    waitpid(-1, 0xbfffb78c, WNOHANG) = 0
    select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
    time(NULL) = 1099993008
    waitpid(-1, 0xbfffb78c, WNOHANG) = 0
    select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
    time(NULL) = 1099993009
    waitpid(-1, 0xbfffb78c, WNOHANG) = 0
    select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
    time(NULL) = 1099993010
    waitpid(-1, 0xbfffb78c, WNOHANG) = 0
    select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
    time(NULL) = 1099993011
    waitpid(-1, 0xbfffb78c, WNOHANG) = 0
    select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
    time(NULL) = 1099993012
    waitpid(-1, 0xbfffb78c, WNOHANG) = 0
    select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
    time(NULL) = 1099993013
    waitpid(-1, 0xbfffb78c, WNOHANG) = 0

    continues a lot........
     
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    try re-compiling apache. that will just be fine.
     
Loading...

Share This Page