Bug #74976 [Com]: processes in uninterruptible sleep when disk usage (backup)

From: Date: Fri, 06 Jan 2023 11:42:28 +0000
Subject: Bug #74976 [Com]: processes in uninterruptible sleep when disk usage (backup)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243358@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74976&edit=1 ID: 74976 Comment by: amin dot jabari242 at gmail dot com Reported by: sergo44 at mail dot ru Summary: processes in uninterruptible sleep when disk usage (backup) Status: Open Type: Bug Package: Performance problem Operating System: Debian 7.11 x64 PHP Version: 7.0.21 Block user comment: N Private report: N New Comment: Is this issue resolved completely? We are facing the same problem (https://www.ngs-medicare.com/)github.com Previous Comments: ------------------------------------------------------------------------ [2018-05-24 20:51:22] gadelat at gmail dot com Are you using btrfs by a chance? I started having this problem too, but for php cli 7.2.5, since I started using Fedora 28 with btrfs. Previously, I had Ubuntu 17.10 with ext4 and had no such issues. ------------------------------------------------------------------------ [2017-07-24 07:35:31] sergo44 at mail dot ru Description: ------------ Hello. Debian 7.11 x64 with nginx. I am building php7 with this configure options: ./configure --prefix="$PREFIX"\ --enable-cgi \ --enable-static \ \ --enable-mbstring \ --enable-soap \ --enable-zip \ --enable-calendar\ --enable-sockets\ --enable-bcmath\ \ --with-zlib\ --with-openssl=/opt/openssl \ --with-curl=/opt/curl \ --with-gettext=shared \ \ --with-gd=shared \ --enable-gd-native-ttf \ --with-freetype-dir=/usr \ \ --with-mcrypt \ --with-mysqli \ --with-pdo-mysql \ \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-config-file-path="$CFG" \ --with-config-file-scan-dir="$CFG/conf.d" \ --enable-fpm When server backup and disk using 1. If php as CGI - too more PHP CGI process is in uninterruptible sleep with hight LA (50) 2. If php as FPM - too more PHP FPM workers is in uninterruptible sleep with hight LA (50) PHP-FPM LOG: [19-Jan-2017 05:22:55] WARNING: [pool avtovokzal] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 48 total children [19-Jan-2017 05:22:56] WARNING: [pool avtovokzal] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 49 total children [19-Jan-2017 05:22:57] WARNING: [pool avtovokzal] server reached pm.max_children setting (50), consider raising it Then I added events.mechanism = epoll to php-fpm.conf the problem solved, but not for CGI. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74976&edit=1

« previous php.bugs (#243358) next »