Bug #80417 [Opn]: Upgraded from 7.4.6 to 7.4.12 Cronjobs that call PHP scripts hang indefinitely

From: Date: Wed, 25 Nov 2020 14:49:19 +0000
Subject: Bug #80417 [Opn]: Upgraded from 7.4.6 to 7.4.12 Cronjobs that call PHP scripts hang indefinitely
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230609@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80417&edit=1 ID: 80417 Updated by: danack@php.net Reported by: mbottos at membersfirst dot com Summary: Upgraded from 7.4.6 to 7.4.12 Cronjobs that call PHP scripts hang indefinitely Status: Open Type: Bug Package: *Web Server problem Operating System: Centos 7 PHP Version: 7.4.12 Block user comment: N Private report: N New Comment: If it's not related to preloading, maybe try ssh'ing into the server and run the script as crond would run it, and check it works like that? Also, what hosting environment are your servers running in? I've seen some issues with GCP kubernetes where cli scripts were 'hanging' in places where it was 'impossible' for them to hang.... Previous Comments: ------------------------------------------------------------------------ [2020-11-25 14:30:14] nikic@php.net Just to exclude an issue in 7.4.12 in particular, are you using preloading? ------------------------------------------------------------------------ [2020-11-25 14:27:34] mbottos at membersfirst dot com Description: ------------ We used yum update and updated php from the epel repo from 7.4.6 to 7.4.12 Instantly all of our cronjobs that call php were hung. The server processes don't close and become zombies. They keep piling up and you can see a process for the php script called and a process for the corresponding crond. Its possible to manually terminate using kill, but they wont close on their own. We've tried adding calls to timeout/terminate the php script after several minutes but the process still remains hung. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80417&edit=1

« previous php.bugs (#230609) next »