Re: [users@httpd] After a couple days httpd child processes go 100% CPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  SSLMutex default
  SSLSessionCache shmcb:...

After the earlier hint at using SSLMutex from Joshua I'm now running it with "SSLMutex sem". I didn't know about shmcb as it's not in the httpd docs online:

http://httpd.apache.org/docs-2.0/mod/mod_ssl.html#sslsessioncache

A bit of googling shows that it's configured just like "shm" but I'm not sure what to specify for the size. I've only got 256M mem in that box (it does nothing except httpd) and my dbm session cache grows to 500M on disk. Does this mean shmcb will use a similar amount of memory?

Also, with the following settings:

SSLMutex default
#SSLSessionCache dbm:/var/log/httpd/ssl_cache
SSLSessionCache shmcb:/var/log/httpd/shmcb
SSLSessionCacheTimeout 300

If I go to an https page then /var/log/httpd/ssl_cache.pag changes from 0 to 1024 bytes in size even tho' the only line in my config referring to it is commented out. Strange?

instead of the default settings, this will probably avoid both the
issues with the mutex at graceful restart and the issues with the dbm
session cache.

And you never know, maybe my CPU issue as well.

In regards to getting a backtrace, does it make any difference whether I use SIGSEGV or gdb?

Thanks for all the suggestions so far,
Damon.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux