docker icon indicating copy to clipboard operation
docker copied to clipboard

occ and cron.php hang after upgrade from 19.0.3 to 19.0.4

Open equinox0815 opened this issue 3 years ago • 14 comments

Hi,

Today we tried to upgrade several Docker-based Nextcloud instances. Since the upgrade running cron.php as well as occ hangs forever using 100% CPU. We downgraded one of the instances by restoring from a backup and this fixed the problem.

Here is the output of the following command:

docker exec -it e5c2dfc4c9a5 strace php /var/www/html/occ

and the output of running cron.php

docker exec -it e5c2dfc4c9a5 strace php -f /var/www/html/cron.php 

Both commands use up 100% of one CPU core the whole time. Once the output of strace reaches the sequence of mremap() calls that's all that is printed, so no other syscalls are called after that.

Running php alone does work:

# docker exec -it e5c2dfc4c9a5 php --version                                                                                                                                                                             
PHP 7.4.11 (cli) (built: Oct  1 2020 19:35:35) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.11, Copyright (c), by Zend Technologies

regards christian

equinox0815 avatar Oct 10 '20 14:10 equinox0815