From e8a485e7a7999ae2e21458ea4ce16622e73761ef Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 12 Oct 2023 15:56:06 +0800 Subject: [PATCH] try elswhere --- Notify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Notify.php b/Notify.php index 5ca067b3..7837e5b8 100644 --- a/Notify.php +++ b/Notify.php @@ -476,7 +476,6 @@ class Pman_Core_Notify extends Pman //echo "CHECK PID: " . $p['pid'] . "\n"; - pcntl_waitpid($p['proc'], $status, WNOHANG); $info = proc_get_status($p['proc']); //var_dump($info); @@ -527,7 +526,8 @@ class Pman_Core_Notify extends Pman proc_close($p['proc']); proc_terminate($p['proc'], 9); - + pcntl_waitpid($p['proc'], $status, WNOHANG); + //clearstatcache(); //if (file_exists('/proc/'.$p['pid'])) { // $pool[] = $p; -- 2.39.2