0

Hi all..
I am new to apache and i have some questions about it..
i cross compiled it on an hawkboard, which has ARM arch'.
the main question is how to make apache use as minimal as possible, for example, when i use the 'top' command on the target i can see 6 process of httpd, and i want only 1!
so how to minimize the sources use of apache to minimal (make it static)?
:cool:

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by rch1231
0

The 6 processes you see are 6 available connections for web browsers to connect to. The main application is only running once in memory but has 6 children listening on port 80 for a connection.

If you look at the process tree you will see something like this:

root     27321  0.0  0.4 273852 18160 ?        Ss   Jul20   0:00 /usr/sbin/httpd
apache   15209  0.0  1.0 299912 38492 ?        S    Jul26   0:09  \_ /usr/sbin/httpd
apache   15214  0.0  1.0 299988 38456 ?        S    Jul26   0:05  \_ /usr/sbin/httpd
apache   15215  0.0  1.0 300016 38496 ?        S    Jul26   0:07  \_ /usr/sbin/httpd
apache   15217  0.0  1.0 302396 40896 ?        S    Jul26   0:08  \_ /usr/sbin/httpd
apache   15228  0.0  1.0 299980 38528 ?        S    Jul26   0:06  \_ /usr/sbin/httpd
apache   15229  0.0  1.0 300072 38456 ?        S    Jul26   0:07  \_ /usr/sbin/httpd
apache   15230  0.0  1.0 299900 38588 ?        S    Jul26   0:06  \_ /usr/sbin/httpd
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.