RE: mod_ssl memory hog?
Ralf S. Engelshall wrote: If you have 1000 SSL vhosts, this means each one consumes just ( (5 KB - 1 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? Yes, all 1000 of those vhosts are SSL based so your 40KB per vhost figure is correct. That's not really worth complaining about.. I just guess I've been lulled by Apache's 10KB per vhost usage. - David Harris Principal Engineer, DRH Internet Services __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: mod_ssl memory hog?
On Tue, Jul 27, 1999, David Harris wrote: If you have 1000 SSL vhosts, this means each one consumes just ( (5 KB - 1 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? Yes, all 1000 of those vhosts are SSL based so your 40KB per vhost figure is correct. That's not really worth complaining about.. I just guess I've been lulled by Apache's 10KB per vhost usage. Sure, mod_ssl itself seems to consume just the bytes for the per-server configs ( 1KB) plus the bytes for the cached certs and keys ( 10KB). The remaining 30KB seem to be allocated by OpenSSL's SSL context, I think. 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]
Re: mod_ssl memory hog?
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 ( (5 KB - 1 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]