954,242 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

static apache - minimal use

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:

liran ritkop
Newbie Poster
3 posts since Jul 2010
Reputation Points: 10
Solved Threads: 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
rch1231
Posting Shark
959 posts since Sep 2009
Reputation Points: 119
Solved Threads: 142
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: