[users@httpd] Worker MPM with kill

2017-11-27 Thread Hemant Chaudhary
Hi, I started apache server which has worker as mpm in debug mode. I killed the process with kill -9 then it kills the process and stop debug. But when I am using kill -term PID then it is not killing process. Whereas kill -term PID is woking with prefork debug. If I want to use kill -term PID i

Re: [users@httpd] how to free memory allocated using apr_palloc() - C Apache module

2017-11-27 Thread Nick Kew
On Mon, 27 Nov 2017 10:34:57 -0500 Eric Covener wrote: > On Mon, Nov 27, 2017 at 10:25 AM, eeadev dev wrote: > > As written in the subject, is there a way to deallocate memory > > which has been allocated using apr_palloc() and what is the best > > practice to do that? > > > > Create a sub-pool

Re: [users@httpd] how to free memory allocated using apr_palloc() - C Apache module

2017-11-27 Thread Eric Covener
On Mon, Nov 27, 2017 at 10:25 AM, eeadev dev wrote: > As written in the subject, is there a way to deallocate memory which has > been allocated using apr_palloc() and what is the best practice to do that? > Create a sub-pool for the allocation and clear or destroy the subpool (depending on whethe

[users@httpd] how to free memory allocated using apr_palloc() - C Apache module

2017-11-27 Thread eeadev dev
As written in the subject, is there a way to deallocate memory which has been allocated using apr_palloc() and what is the best practice to do that? thank you