Worker MPM with debug mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux