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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 05-12-2006, 12:04 PM   #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
dima4855 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 06-01-2006, 05:00 PM   #2 (permalink)
Registered User
 
Join Date: May 2006
Posts: 4
OS: fedora


anybody

anybody?
dima4855 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-07-2006, 03:38 AM   #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.
mr-e-commerce is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-12-2006, 01:25 PM   #4 (permalink)
Registered User
 
Join Date: May 2006
Posts: 4
OS: fedora


exchange4linux

Is anyone out there running exchange4linux in a 5 or more user network.
dima4855 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 01:28 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85