You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2023/01/12 08:19:36 UTC

[GitHub] [skywalking-php] jmjoy opened a new pull request, #42: Fix worker unexpected shutdown.

jmjoy opened a new pull request, #42:
URL: https://github.com/apache/skywalking-php/pull/42

   Fix worker unexpected shutdown problem mentioned in:
   
   https://github.com/apache/skywalking/discussions/10260
   https://github.com/apache/skywalking/discussions/10109
   
   @burque98 @jmt33
   
   The reason is that when the `pm` mode used by php-fpm is dynamic or ondemand, when the pool process exits, `MSHUTDOWN` will be called, and this hook will kill the worker process.
   
   Now this action is removed, replace with `libc::prctl(libc::PR_SET_PDEATHSIG, libc::SIGTERM);`.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [skywalking-php] wu-sheng merged pull request #42: Fix worker unexpected shutdown.

Posted by GitBox <gi...@apache.org>.
wu-sheng merged PR #42:
URL: https://github.com/apache/skywalking-php/pull/42


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org