LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-06-2004, 09:22 PM   #1
cjpsparks
Member
 
Registered: Sep 2003
Location: Colorado
Distribution: RedHat 8
Posts: 49

Rep: Reputation: 15
so many apache processes


why are there so many processes started by apache??

apache 819 0.0 2.1 17908 8064 ? S 20:10 0:00 /usr/sbin/httpd
apache 820 0.0 2.1 17908 8064 ? S 20:10 0:00 /usr/sbin/httpd
apache 821 0.0 2.1 17908 8064 ? S 20:10 0:00 /usr/sbin/httpd
apache 822 0.0 2.1 17908 8064 ? S 20:10 0:00 /usr/sbin/httpd
apache 823 0.0 2.1 17908 8064 ? S 20:10 0:00 /usr/sbin/httpd
apache 824 0.0 2.1 17908 8064 ? S 20:10 0:00 /usr/sbin/httpd
apache 825 0.0 2.1 17908 8064 ? S 20:10 0:00 /usr/sbin/httpd
apache 826 0.0 2.1 17908 8064 ? S 20:10 0:00 /usr/sbin/httpd

Thanks!
 
Old 01-06-2004, 09:50 PM   #2
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 32
should be normal, apache starts a handful by default. While necessary in thier design, these processes have been viewed as a deterrent to some when evaluating apache. As users hit your site, the number of processes will increase dramatically. But, for a low volume site, this should not be an issue. Also note, they are not "comsuming many resources" so to speak... but, when i tested it on my server on my lan, 2 hits added about 6 processes.
 
Old 01-06-2004, 10:07 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
You can edit the amount that startup initially and the amount of connections your site can simultaneously serve out, etc in your httpd.conf file. The file is very well documented and it explains each configuration usually very well.

Regards.
 
Old 01-06-2004, 10:24 PM   #4
cjpsparks
Member
 
Registered: Sep 2003
Location: Colorado
Distribution: RedHat 8
Posts: 49

Original Poster
Rep: Reputation: 15
what are they for though? What can't be accomplished by only one process?
 
Old 01-07-2004, 04:54 PM   #5
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Quote:
Originally posted by cjpsparks
what are they for though? What can't be accomplished by only one process?
That depends on how busy your website is. A less busy website can run fewer processes. Since a process can handle only so many web requests, it's nice to have a few spares already running. If you are using the prefork MPM, you can configure this with StartServers, MinSpareServers, and MaxSpareServers.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache ... wierd processes Odins_Son Linux - General 3 08-18-2005 11:38 AM
Apache 2 Child Processes Seg faulting! DavidHayes Linux - Software 1 04-20-2005 07:54 PM
Limiting child processes in Apache? Phaethar Linux - Software 2 11-02-2004 05:24 PM
Apache: limiting the number of processes that start up tarballed Linux - Networking 2 09-02-2003 03:33 PM
Runaway apache processes Gardener Linux - Networking 3 01-25-2003 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration