one apache process looping

This is a discussion on one apache process looping within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi, We have one apache process that is constantly starting after apache restart. this process takes sometimes 99% or cpu, ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-02-2003
rcs
 
Posts: n/a
Default one apache process looping

Hi,

We have one apache process that is constantly starting after apache
restart.
this process takes sometimes 99% or cpu, and sometimes just 15%.

when I try to strace it, I get:
[root@web1 root]# strace -p 7940
--- SIGSTOP (Stopped (signal)) ---
select(0, NULL, NULL, NULL, {0, 742140}) = 0 (Timeout)
time(NULL) = 1057141901
kill(10344, SIGUSR1) = 0
wait4(-1, 0xbffff88c, WNOHANG, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) ---
select(0, NULL, NULL, NULL, {0, 996030}) = 0 (Timeout)
time(NULL) = 1057141902
kill(10345, SIGUSR1) = 0
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) =
10344
wait4(-1, 0xbffff88c, WNOHANG, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) ---
select(0, NULL, NULL, NULL, {0, 996030}) = 0 (Timeout)
time(NULL) = 1057141903
kill(10345, SIGUSR1) = 0
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) =
10345
wait4(-1, 0xbffff88c, WNOHANG, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL) = 1057141904
kill(10343, SIGUSR1) = 0
wait4(-1, 0xbffff88c, WNOHANG, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) ---
select(0, NULL, NULL, NULL, {0, 996030} <unfinished ...>

I haven't seen this beheivour before. What is this? Is this a bug in
one of our scripts, what is a way to tied it to the appropriate script
and debug it further?

Thanks in advance,

-G
 


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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:40 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0