You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by tr...@apache.org on 2001/12/03 14:34:50 UTC

Re: os-aix/8310: 1.3.19 on AIX does not kill idle child processes down to MaxSpareServers

[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]


Synopsis: 1.3.19 on AIX does not kill idle child processes down to MaxSpareServers

Comment-Added-By: trawick
Comment-Added-When: Mon Dec  3 05:34:49 PST 2001
Comment-Added:
Actually, there is a problem in the pthread mutex code in
recent levels of Apache 1.3 which can result in this situation (not being able to kill idle children).  I've only seen it occur on AIX but the problem is in the generic Apache code for pthread mutex handling, not in any AIX-specific area.  I don't believe that anybody is working on a fix for this.

If it is a problem that idle children aren't being terminated, the work-around is to switch to fcntl serialization.  There are two ways to do this:

1) upgrade to the latest Apache 1.3 and put "acceptmutex fcntl" in your config file
2) for older Apache 1.3 on AIX, edit src/Configure, find the appropriate AIX stanza for your version, and remove "-DUSE_PTHREAD_SERIALIZED_ACCEPT" from CFLAGS and rebuild