Re: Worker MPM with debug mode

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

 



Hi Yann,

Sorry I didn't noticed that I have copied prefork code in mail. I am using following code in worker :

 if (one_process) {
        worker_note_child_killed(/* slot */ 0, 0, 0);
        atexit(apr_terminate);
    }

    exit(code);

This patch is not working as expected. To kill worker in debug mode, I ned to use kill -9 PID whereas similar approach works as expected in prefork.

Thanks
Hemant 


On Thu, Jan 18, 2018 at 9:33 PM, Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
On Thu, Jan 18, 2018 at 4:25 PM, Hemant Chaudhary
<hemantdude.chaudhary@gmail.com> wrote:
>
> Yes this patch of code is not working for worker mpm in Apache-2.4.25

Do you mean that the patch does not apply to 2.4.25 (patching fails)
or that when the patch is applied it does not work as expected?

The patch you proposed in the original message seems to be for
prefork, not worker, while mine is really for worker, i.e.:
http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/worker/worker.c?r1=1814112&r2=1814111&pathrev=1814112&view=patch


Thanks,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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