Jump to content

Help with server process!!!!


SDS

Recommended Posts

If I had to guess (and I will), it's a PHP script.  You're running mod_php, so PHP scripts are processed "in process" by the web server.  You probably happened to run top while PHP was crunching something.

 

Edit... I didn't notice the CPU time... I stand by the above statement, but perhaps the PHP code got stuck in a loop.

 

-Jeff

160558[/snapback]

 

not anymore.... those puppies are cached.

 

and as long as this was some freak thing that rarely happens - it is good news cause it probably explains the load jump at 3:00pm and after. after I killed it - the load went to nothing and the execution time plummeted. My hopes are once again on the rise.

Link to comment
Share on other sites

It's probably just an apache process.  Could be a runaway, you could try bouncing apache (apachectl restart).  Alternatively, make sure that it really is just that:

 

$ ps -axj | grep http

(returns output similar to:)

root    11047    1 11047 e7b37090    0 Is    ??    0:02.51 httpd: parent (httpd)

www      3955 11047 11047 e7b37090    0 I    ??    0:01.21 httpd: child (httpd)

www      12299 11047 11047 e7b37090    0 I    ??    0:01.39 httpd: child (httpd)

www      13025 11047 11047 e7b37090    0 I    ??    0:00.61 httpd: child (httpd)

www      19646 11047 11047 e7b37090    0 I    ??    0:02.12 httpd: child (httpd)

www      1752 11047 11047 e7b37090    0 I    ??    0:01.57 httpd: child (httpd)

www      24425 11047 11047 e7b37090    0 I    ??    0:01.06 httpd: child (httpd)

www      4362 11047 11047 e7b37090    0 I    ??    0:01.14 httpd: child (httpd)

www      3451 11047 11047 e7b37090    0 I    ??    0:01.61 httpd: child (httpd)

www      18769 11047 11047 e7b37090    0 I    ??    0:00.88 httpd: child (httpd)

www      15917 11047 11047 e7b37090    0 I    ??    0:02.62 httpd: child (httpd)

 

or:

$ ps -axj | grep 22744

 

If the parent process is the same as the root owned process (11047 in my case), then it's just a thread.

CW

160506[/snapback]

 

Whenever I see posts like this, I'm reminded of an old Steve Martin joke off his "Let's Get Small" album from 1978 or 1979. I actually had to register at a Steve Martin fan site, post a thread asking for the joke, and wait about three weeks for someone to see the thread and respond. But it was worth it, because I think of this joke everytime I see programmers talk online.

 

 

Ok, I don't like to gear my material to the audience but I'd like to make an exception because I was told that there is a convention of plumbers in San Francisco this week - I understand about 30 of them came down to the show tonight - so before I came out I worked-up a joke especially for the plumbers. Those of you who aren't plumbers probably won't get this and won't think it's funny, but I think those of you who are plumbers will really enjoy this...

 

This lawn supervisor was out on a sprinkler maintenance job and he started working on a Findlay sprinkler head with a Langstrom 7" gangly wrench. Just then, this little apprentice leaned over and said, "You can't work on a Findlay sprinkler head with a Langstrom 7" wrench." Well this infuriated the supervisor, so he went and got Volume 14 of the Kinsley manual, and he reads to him and says, "The Langstrom 7" wrench can be used with the Findlay sprocket." Just then, the little apprentice leaned over and said, "It says sprocket not socket!"

Link to comment
Share on other sites

Whenever I see posts like this, I'm reminded of an old Steve Martin joke off his "Let's Get Small" album from 1978 or 1979. I actually had to register at a Steve Martin fan site, post a thread asking for the joke, and wait about three weeks for someone to see the thread and respond. But it was worth it, because I think of this joke everytime I see programmers talk online.

Ok, I don't like to gear my material to the audience but I'd like to make an exception because I was told that there is a convention of plumbers in San Francisco this week - I understand about 30 of them came down to the show tonight - so before I came out I worked-up a joke especially for the plumbers. Those of you who aren't plumbers probably won't get this and won't think it's funny, but I think those of you who are plumbers will really enjoy this...

 

This lawn supervisor was out on a sprinkler maintenance job and he started working on a Findlay sprinkler head with a Langstrom 7" gangly wrench. Just then, this little apprentice leaned over and said, "You can't work on a Findlay sprinkler head with a Langstrom 7" wrench." Well this infuriated the supervisor, so he went and got Volume 14 of the Kinsley manual, and he reads to him and says, "The Langstrom 7" wrench can be used with the Findlay sprocket." Just then, the little apprentice leaned over and said, "It says sprocket not socket!"

160609[/snapback]

 

Are you making fun of me (us)? :P

 

CW

Link to comment
Share on other sites

I hope you didn't just kill it; restarting apache would've been the more graceful way to go.  Not sure if Apache will be happy if one of its threads just up and died...

 

Assuming, of course, that apache was the parent process.

 

Oh well, whatever works.

 

CW

160562[/snapback]

 

kill -9 is the only way to go. :P

Link to comment
Share on other sites

×
×
  • Create New...