Hi,
Sideline (you can skip this): It seems after working for over 1 year in a Telecom company and providing support for applications, I have almost forgotten Linux Servers Administration related stuffs.
Does the following output mean there are 8 instances of apache available on the system?
Code:
[root@Dev ~]# ps aufx | grep -i [h]ttpd
root 30147 0.0 0.6 351616 25920 ? Ss Jan17 0:11 /usr/sbin/httpd
apache 1598 0.0 0.6 364292 24440 ? S Jul28 0:00 \_ /usr/sbin/httpd
apache 1599 0.0 0.4 351616 19436 ? S Jul28 0:00 \_ /usr/sbin/httpd
apache 1600 0.0 0.6 364292 24588 ? S Jul28 0:00 \_ /usr/sbin/httpd
apache 1626 0.0 0.6 368408 27200 ? S Jul28 0:00 \_ /usr/sbin/httpd
apache 1627 0.0 0.6 364292 24732 ? S Jul28 0:00 \_ /usr/sbin/httpd
apache 1628 0.0 0.6 364292 24656 ? S Jul28 0:00 \_ /usr/sbin/httpd
apache 1629 0.0 0.6 366360 25068 ? S Jul28 0:00 \_ /usr/sbin/httpd
apache 1630 0.0 0.6 368408 26200 ? S Jul28 0:00 \_ /usr/sbin/httpd
For httpd, the count is: 9.
What I understand is when we run httpd it forks 8 instances of httpd and calls them apache. These 8 instances are there to load-balance requests from clients/browsers. Is this correct?
How can we have more instances of apache instead of the default 8 above? Can I have 16 or more when I start httpd?
Please help me understand the above stuff.
Thanks,
Dev.