php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch dont-while-loop-for-ever-php-7.3 for opcache Bug #76482

Patch version 2019-02-01 13:43 UTC

Return to Bug #76482 | Download this patch
Patch Revisions:

Developer: arekm@maven.pl

--- ext/opcache/ZendAccelerator.c~	2019-02-01 14:12:22.701064261 +0100
+++ ext/opcache/ZendAccelerator.c	2019-02-01 14:36:18.542819332 +0100
@@ -804,6 +804,7 @@ static inline void kill_all_lockers(stru
 			ZCSG(force_restart_time) = time(NULL); /* restore forced restart request */
 			/* cannot kill the locker, bail out with error */
 			zend_accel_error(ACCEL_LOG_ERROR, "Cannot kill process %d: %s!", mem_usage_check->l_pid, strerror(errno));
+			break;
 		}
 
 		mem_usage_check->l_type = F_WRLCK;
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 23:01:34 2024 UTC