Re: Apache pool management

2013-05-25 Thread Sindhi Sindhi
You have answered all my questions and thanks a lot. Had two questions more, appreciate your response. 1. As of now, my httpd.conf file has the below lines- # Server-pool management (MPM specific) #Include conf/extra/httpd-mpm.conf This means Apache does not read the httpd-mpm.conf file during st

Re: Apache pool management

2013-05-25 Thread Sorin Manolache
On 2013-05-25 10:05, Sindhi Sindhi wrote: You have answered all my questions and thanks a lot. Had two questions more, appreciate your response. 1. As of now, my httpd.conf file has the below lines- # Server-pool management (MPM specific) #Include conf/extra/httpd-mpm.conf This means Apache doe

Re: Apache pool management

2013-05-25 Thread Sindhi Sindhi
Thankyou very much! On Sat, May 25, 2013 at 2:21 PM, Sorin Manolache wrote: > On 2013-05-25 10:05, Sindhi Sindhi wrote: > >> You have answered all my questions and thanks a lot. Had two questions >> more, appreciate your response. >> >> 1. >> As of now, my httpd.conf file has the below lines- >>

Apache: Create server config only once

2013-05-25 Thread Sindhi Sindhi
Hi, I see that the create_server_config callback is called twice for every Apache server startup. I want to do a lot of initialization in this callback and allocations in this function are meant to be long lived. And these buffers are very huge, so I want to ensure these initializations are done o

Re: Apache: Create server config only once

2013-05-25 Thread Sindhi Sindhi
I tried to make the class MyFilterInit a Singleton class, but when CreateServerConfig is called the second time, MyFilterInit constructor is called is called second time, and here I see that the static instance of MyFilterInit in the second call is set to NULL, which should have ideally been a addr

Re: Apache: Create server config only once

2013-05-25 Thread Sorin Manolache
On 2013-05-25 15:22, Sindhi Sindhi wrote: Hi, I see that the create_server_config callback is called twice for every Apache server startup. I want to do a lot of initialization in this callback and allocations in this function are meant to be long lived. And these buffers are very huge, so I wan

Re: Apache: Create server config only once

2013-05-25 Thread Sindhi Sindhi
Sorin! Thankyou so much, really appreciate your responses they are giving me a very good insight. On Sun, May 26, 2013 at 12:59 AM, Sorin Manolache wrote: > On 2013-05-25 15:22, Sindhi Sindhi wrote: > >> Hi, >> >> I see that the create_server_config callback is called twice for every >> Apache s