![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Linux Support Linux - Operating Systems and Applications Support |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: May 2006
Posts: 4
OS: fedora
|
apache2 max thread problems on fedora
Greetings,
I am new to this forum and first would like to HELLO and thank you all in advance for your help. Below is my problem. Running fedora core 4 2.6 kernel (patched). We have 3.6ghz server, hyperthreading, with 3gigs of RAM, doing software mirror. We are running a software called exchange4linux and software techs at e4l (n-h) are telling us to increase the number of threads in mpm-worker.conf from this: #begin do not modify ServerLimit 1 StartServers 1 # end do not modify MinSpareThreads 32 ThreadLimit 256 MaxClients 256 MaxSpareThreads 256 ThreadsPerChild 256 MaxRequestsPerChild 0 to this: #begin do not modify ServerLimit 1 StartServers 1 # end do not modify MinSpareThreads 32 ThreadLimit 512 MaxClients 512 MaxSpareThreads 512 ThreadsPerChild 512 MaxRequestsPerChild 0. When I do so and restart exchange4linux apache2 dies with this error: [Thu May 11 00:38:38 2006] [notice] mod_python: Creating 32 session mutexes base d on 1 max processes and 512 max threads. [Thu May 11 00:38:38 2006] [notice] Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/ 0.9.7f DAV/2 mod_python/3.1.3 Python/2.3.5 configured -- resuming normal operations [Thu May 11 00:38:38 2006] [alert] (12)Cannot allocate memory: apr_thread_create: unable to create worker thread [Thu May 11 00:38:49 2006] [alert] Child 16092 returned a Fatal error...\nApache is exiting! unlimit -a shows this: [root@sql exchange4linux]# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited pending signals (-i) 49139 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 49139 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited top shows this while e4l and mysql are running during the normal working day: top - 11:59:47 up 2 days, 14:00, 2 users, load average: 0.01, 0.03, 0.06 Tasks: 385 total, 1 running, 384 sleeping, 0 stopped, 0 zombie Cpu(s): 0.5% us, 1.0% sy, 0.0% ni, 98.5% id, 0.0% wa, 0.0% hi, 0.0% si Mem: 3108076k total, 653972k used, 2454104k free, 85652k buffers Swap: 4176880k total, 0k used, 4176880k free, 447088k cached So what do I need to do to be able to increase the number of threads to 512? Sincerely, Dmitri |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#3 (permalink) |
|
Registered User
Join Date: Jun 2006
Posts: 14
OS: Debian and XP Pro
|
Have a look here, it may help you..
http://forum.openvz.org/index.php?t=msg&goto=3267& I'm not familiar with exchange4linux but it looks like an Apache config file to me which would suggest you are hitting some kind of limit elsewhere, see the above thread for some things to try. |
|
|
|
![]() |
| Thread Tools | |
|
|