Httpd (apache) usually starts a number of processes specified in httpd.conf.
Below is an excerpt of my ps -ef output:
root 29819 1 0 Mar22 ? 00:00:02
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29864 29819 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29865 29864 0 Mar22 ? 00:00:08
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29866 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29867 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29868 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29869 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29870 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29871 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29872 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29873 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29874 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29875 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29876 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29877 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29878 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29879 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29880 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29881 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29882 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29883 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29884 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29885 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29886 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29887 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29888 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29889 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29890 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29891 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29892 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29893 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29894 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29895 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29896 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29897 29864 0 Mar22 ? 00:00:01
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29898 29864 0 Mar22 ? 00:00:00
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
root 29899 29864 0 Mar22 ? 00:00:08
/usr/local/jdk1.3/bin/i386/native_threads/java -Dtomcat.home=
nobody 3562 612 0 Mar25 ? 00:00:00 httpd
nobody 3563 612 0 Mar25 ? 00:00:00 httpd
nobody 3564 612 0 Mar25 ? 00:00:00 httpd
nobody 3565 612 0 Mar25 ? 00:00:00 httpd
nobody 3566 612 0 Mar25 ? 00:00:00 httpd
nobody 3567 612 0 Mar25 ? 00:00:00 httpd
nobody 3568 612 0 Mar25 ? 00:00:00 httpd
nobody 3569 612 0 Mar25 ? 00:00:00 httpd
nobody 3570 612 0 Mar25 ? 00:00:00 httpd
nobody 3571 612 0 Mar25 ? 00:00:00 httpd
So, yours looks okay to me.. Mine looks somewhat the same...
> -----Original Message-----
> From: Samuel Arnod-Prin [mailto:[EMAIL PROTECTED]]
> Sent: den 27 mars 2001 13:05
> To: [EMAIL PROTECTED]
> Subject: Re: How many tomcat processes ??? (more than 20 for me...)
>
>
> of course, I meant threads for process,
> what I wanted to underline is that there could be a link
> between httpd and
> tomcat..
> httpd is started because I use mod_jk
> but I don't understand why httpd creates more processes when
> I do nothing... as
> tomcat does
>
> "Cato, Christopher" wrote:
>
> > The processes are not processes but rather Threads and they
> are displayed as
> > processes due to the Linux implementation of Threads. Why
> is HTTPD started?
> > Dont know, look at your startup script for tomcat. It
> probably runs tomcat
> > as mod_jk which requires HTTPD.
> >
> > > -----Original Message-----
> > > From: Samuel Arnod-Prin [mailto:[EMAIL PROTECTED]]
> > > Sent: den 27 mars 2001 11:51
> > > To: [EMAIL PROTECTED]
> > > Subject: How many tomcat processes ??? (more than 20 for me...)
> > >
> > >
> > > Hello to all,
> > >
> > > I've got currently a big problem. I have too many tomcat
> > > processes. I'm
> > > running under Linux Mandrake, latest version.
> > > I've made a simple test, I called bin/startup.sh without
> > > calling any web
> > > page.
> > > /usr/local/jdk1.3/jre/bin/exe/ja means java
> --Dtomcat_home.... so a
> > > tomcat process
> > >
> > > What is happening ? Why do I have httpd process ?? My machine
> > > is not on
> > > a open network and noone can access my machine. If I
> > > shutdown tomcat, I
> > > don't have any process anymore
> > >
> > > At 10:57, I did bin/startup.sh and then ps- fe at 11.37 !!
> > >
> > > sam 5828 1 0 10:57 pts/1 00:00:02
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5837 5828 0 10:57 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5838 5837 0 10:57 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5839 5837 0 10:57 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5840 5837 0 10:57 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5847 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5848 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5849 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5850 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5851 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5852 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5853 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5854 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5855 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5856 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5857 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5858 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5859 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5860 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5861 5837 0 10:58 pts/1 00:00:09
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5862 5837 1 10:58 pts/1 00:00:24
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5863 5837 1 10:58 pts/1 00:00:40
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5864 5837 2 10:58 pts/1 00:00:57
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5865 5837 3 10:58 pts/1 00:01:17
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5866 5837 4 10:58 pts/1 00:01:36
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5867 5837 5 10:58 pts/1 00:02:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5868 5837 6 10:58 pts/1 00:02:25
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5869 5837 7 10:58 pts/1 00:02:53
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5870 5837 8 10:58 pts/1 00:03:20
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 5871 5837 0 10:58 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > nobody 5960 3858 0 11:15 ? 00:00:00
> > > /usr/share/apache/bin/httpd
> > > nobody 5966 3858 0 11:19 ? 00:00:00
> > > /usr/share/apache/bin/httpd
> > > nobody 5978 3858 0 11:23 ? 00:00:00
> > > /usr/share/apache/bin/httpd
> > > nobody 5981 3858 0 11:27 ? 00:00:00
> > > /usr/share/apache/bin/httpd
> > > nobody 5990 3858 0 11:31 ? 00:00:00
> > > /usr/share/apache/bin/httpd
> > > sam 6000 5837 0 11:35 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 6001 5837 0 11:35 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 6002 5837 0 11:35 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 6003 5837 0 11:35 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 6004 5837 0 11:35 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 6005 5837 0 11:35 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 6006 5837 0 11:35 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > nobody 6007 3858 0 11:35 ? 00:00:00
> > > /usr/share/apache/bin/httpd
> > > sam 6008 5837 0 11:35 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 6009 5837 0 11:35 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > sam 6010 5837 0 11:35 pts/1 00:00:00
> > > /usr/local/jdk1.3/jre/bin/exe/ja
> > > root 6024 2072 0 11:37 pts/3 00:00:00 ps -fe
> > >
> > >
>