• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Extremely Urgent , Please help : too many httpsd process

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I encounter a extremely urgent problem. We use Apache(SSL)/tomcat/cocoon as server. Recently, when we do "/usr/ucb/ps auxwww|grep apache", there are always a lot of process which have following information:
nobody 29247 0.0 0.4 4832 3344 ? S 15:04:55 0:00 /opt/apachegroup/apache/bin/httpsd -d /
opt/apachegroup/apache -R /opt/apachegroup/apache/libexec -DSSL
1. why this process is owned by "nobody", what kind of user it represents ?
2. above process keeps increseing rapidly and it reached around 150 very soon. The whole server becomes unaccessible to user.
Under what kind of condition, this process will be launched ?
Any advice is highly appreciated.
Thanks,
Lily
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"nobody" is kind of the opposite of "root". The root user can do ANYTHING, user "nobody" can do essentially nothing except play with resources that "nobody" owns (or has been granted access to).
The user and group that Apache runs under are set in the httpd.conf file. I prefer to change these to an apache-specific account myself.
Apache will spawn threads as it determines necessary to handle requests. The rules and limitations are definable in httpd.conf - if not supplied, builtin defaults are used. You can tune Apache for your server hardware and workload by altering these values - check the Apache documentation for details.
Since you're feeding Apache to Java, chances are very good that the Java part of the system is where the overload is coming from. One way to tell under Unix/Linux is to use the "top" command. You may also need to check the Tomcat and Cocoon docs for further tuning info.
 
lily ling
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Tim
Thank you very much.
Also, I could see lots of message like following: "Connection to child 1( 2 or 3 ) with unclean shutdown"
Does it mean that user either swich or leave the page from which he issued the query or he issued another query because of some reason ( such as too much waiting time ) by pressing refresh button ?
Lily
 
reply
    Bookmark Topic Watch Topic
  • New Topic