You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Erin O'Neill <eo...@stanford.edu> on 2004/07/29 19:50:17 UTC

[users@httpd] small binary - more LoadModules or?

Is it better (ie. performance, stability) to have a small Apache 2 binary ( 
with just core.c, prefork.c, http_core.c, mod_so.c) and load the modules 
you need. Or should certain modules be built in (like mod_ssl or mod_cgi or 
mod_auth???). and if so which modules should be built in and which loaded??

thanks,
erin


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] small binary - more LoadModules or?

Posted by Joshua Slive <js...@gmail.com>.
On Thu, 29 Jul 2004 10:50:17 -0700, Erin O'Neill <eo...@stanford.edu> wrote:
> Is it better (ie. performance, stability) to have a small Apache 2 binary (
> with just core.c, prefork.c, http_core.c, mod_so.c) and load the modules
> you need. Or should certain modules be built in (like mod_ssl or mod_cgi or
> mod_auth???). and if so which modules should be built in and which loaded??

For exactly the same set of modules, there will be almost no
difference between statically and dynamically compiled apache.  They
will both use the same amount of memory.

If anything, however, the dynamically loaded version will be slower. 
On some systems there is a very small overhead to calling functions
not included in the binary.  But you almost surely won't notice.  (You
can also decrease memory usage very slightly by chaninge the
DYNAMIC_MODULE_LIMIT to zero when compiling apache, if I remember
correctly.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org