Re: [users@httpd] Apache creates Semaphore

2017-11-02 Thread Hemant Chaudhary
Hi Yann, When I am setting Mutex pthread or Mutex Pthread default in httpd.conf, getting following error AH00526: Syntax error on line 42 of /home/hemant_super/hemant/dev_11oct/conf/httpd.conf: Invalid Mutex argument pthread (Mutex mechanisms are: 'none', 'default', 'fcntl:/path/to/file', 'file:/

Re: [users@httpd] Apache creates Semaphore

2017-11-02 Thread Yann Ylavic
Hi Hemant, On Thu, Nov 2, 2017 at 12:08 PM, Hemant Chaudhary wrote: > > For my product I need to run apache as single process. As httpd -X works for > me. But the issue is to stop httpd -X, we need to kill process. While > killing the process, semaphore exists in kernel directory. As Luca said,

Re: [users@httpd] how to run one module before another

2017-11-02 Thread Eric Covener
grep for aszSuc/aszPre in a few standard modules. On Thu, Nov 2, 2017 at 2:14 PM, eeadev dev wrote: > How can I decide the order of two module or at least having one always > running before another one? > > thanks -- Eric Covener cove...@gmail.com

[users@httpd] how to run one module before another

2017-11-02 Thread eeadev dev
How can I decide the order of two module or at least having one always running before another one? thanks

Re: [users@httpd] Apache creates Semaphore

2017-11-02 Thread Hemant Chaudhary
Hi Luca, If I choose to go with MPM and to spawn single process then it will create parent process and then child process where parent process monitor the server and child process serve the request. But I need only one process which works for both as parent and child which is achieved in httpd -X.

[users@httpd] Re: Apache "marking down" a back-end server

2017-11-02 Thread Suvendu Sekhar Mondal
On Wed, Nov 1, 2017 at 9:09 PM, Suvendu Sekhar Mondal wrote: > Hello Everyone, > > I am seeing one interesting behavior of Apache httpd. > > We have multiple Apache httpds in front of set of Tomcat JVMs. I found > that sometimes *one of the httpds marking one of the JVMs down* for > 180 Sec("retry

Re: [users@httpd] Apache creates Semaphore

2017-11-02 Thread Luca Toscano
Hi Hemant, as indicated in https://httpd.apache.org/docs/2.4/mod/core.html#mutex you can use different kind of mutex implementations and experiment with them. >From your description though it seems to me that your approach of killing httpd leads to semaphore leaking, something that would be avoide

Re: [users@httpd] Apache creates Semaphore

2017-11-02 Thread Hemant Chaudhary
Hi Yann, For my product I need to run apache as single process. As httpd -X works for me. But the issue is to stop httpd -X, we need to kill process. While killing the process, semaphore exists in kernel directory. If I repeat for 10-15 times, then it will give error like no space available on dev

Re: [users@httpd] Apache creates Semaphore

2017-11-02 Thread Yann Ylavic
Hi Hemant, On Thu, Nov 2, 2017 at 5:47 AM, Hemant Chaudhary wrote: > > Semaphore is used in multi process environment to share resources within > processes. But when I am starting apache in debug mode i:e single process > then still it creates semaphore. May I know the reason why it is creating >