LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-30-2006, 05:16 AM   #1
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Rep: Reputation: 32
apche memory mangement


Hello I am here with another question

I am using apache 2.0.52 on RHEL4 installing by rpm.

By default it use prefork mpm in apache.


<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 50
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>

Above is the its configuration is httpd.conf file.

now Weh apache starts it it create 8 child process.
Show by #ps aux |grep httpd

root 8327 0.0 3.5 20024 9156 ? Ss 14:54 0:00 /usr/sbin/httpd
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND

apache 8330 0.0 3.6 20024 9284 ? S 14:54 0:00 /usr/sbin/httpd
apache 8331 0.0 3.6 20024 9176 ? S 14:54 0:00 /usr/sbin/httpd
apache 8332 0.0 3.6 20024 9176 ? S 14:54 0:00 /usr/sbin/httpd
apache 8333 0.0 3.6 20024 9176 ? S 14:54 0:00 /usr/sbin/httpd
apache 8334 0.0 3.6 20024 9176 ? S 14:54 0:00 /usr/sbin/httpd
apache 8335 0.0 3.6 20024 9176 ? S 14:54 0:00 /usr/sbin/httpd
apache 8336 0.0 3.6 20024 9176 ? S 14:54 0:00 /usr/sbin/httpd
apache 8337 0.0 3.6 20024 9176 ? S 14:54 0:00 /usr/sbin/httpd



I have two questions here
1- Is every child process using 9176 memory or all processes in combile ??
2-If more than 8 rquest come at a time then whether these 8 process will handle or for every new requet new child process will be created.???
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Policy Based Bandwidth Mangement Mithrilhall Linux - Software 0 05-02-2006 01:29 PM
Apche not found Echo Kilo Linux - Software 3 05-31-2005 02:03 PM
Squid Mangement masand Linux - Networking 2 12-16-2004 03:20 PM
Apche & PHP p0rky Linux - Software 4 05-31-2003 03:19 AM
linus + ftp + apche markmchugh Linux - General 1 03-29-2001 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:54 AM.

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