On Sat, Jul 24, 1999, David Harris wrote:
> I'm running mod_ssl with a thousand virtual hosts.. and I notice that mod_ssl
> appears to be a really large memory hog. My binary is statically linked with
> DYNAMIC_MODULE_LIMIT=0 and it uses 11.7MB of memory without ssl and 49.9MB
> with. It seems to me that this is more than just the overhead required to store
> the configuration and keys and certificates? Where is all this memory going?
>
> Here are the relevant memory statistics from my /proc/$PID/status file in
> Linux:
>
> without sll:
> VmSize: 11792 kB
> VmRSS: 10344 kB
> VmData: 9440 kB
>
> with ssl:
> VmSize: 49960 kB
> VmRSS: 48708 kB
> VmData: 47608 kB
If you have 1000 SSL vhosts, this means each one consumes just ( (50000 KB
- 10000 KB) / 1000 ) = 40 KB. That's not a lot, isn't it? It's 40 KB per
vhost for both mod_ssl and OpenSSL. Or are not all of those 1000 vhosts SSL
based?
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]