Hi All ,

I added the following patch of code in my worker.c
static void clean_child_exit(int code)

     if (one_process) {
         prefork_note_child_killed(/* slot */ 0, 0, 0);
+        atexit(apr_terminate);
     }
     ap_mpm_pod_close(my_bucket->pod);

When I am starting apache with Worker mpm in debug mode and killing the
process with kill -term PID, it is not killing the process. Whereas same
code is working for prefork in debug mode to kill process with kill -term
PID.

If I want to kill process with worker in debug mode then how should I kill
it with kill -term PID command.

Thanks
Hemant

Reply via email to