Page MenuHomePhabricator

mixnmatch microsync process has a large error file
Closed, ResolvedPublic

Description

The Toolforge NFS is filling up, so I found the largest files in the system to clean up.
The biggest right now is /data/project/mix-n-match/mnm-microsync.err. Since that's just an *.err file, I am going to empty the file. In case there's something you need to fix I captured some of the most recent logs for you to look into.

PHP Fatal error:  Uncaught Exception: ToolforgeCommon::getSQL: / :
SELECT page_title FROM page WHERE page_title IN ('Q15761337','Q3592617','Q50810918') AND page_namespace=0 in /mnt/nfs/labstore-secondary-tools-project/magnustools/public_html/php/ToolforgeCommon.php:241
Stack trace:
#0 /mnt/nfs/labstore-secondary-tools-project/mix-n-match/classes/MicroSync.php(172): ToolforgeCommon->getSQL(Object(mysqli), 'SELECT page_tit...')
#1 /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php(18): MixNMatch\MicroSync->checkCatalog(3364, '236')
#2 {main}
  thrown in /mnt/nfs/labstore-secondary-tools-project/magnustools/public_html/php/ToolforgeCommon.php on line 241

mmap() failed: [12] Cannot allocate memory

mmap() failed: [12] Cannot allocate memory
PHP Fatal error:  Out of memory (allocated 2738671616) (tried to allocate 20480 bytes) in /mnt/nfs/labstore-secondary-tools-project/mix-n-match/classes/MicroSync.php on line 84
PHP Stack trace:
PHP   1. {main}() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:0
PHP   2. MixNMatch\MicroSync->checkCatalog() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:18
PHP   3. mysqli_result->fetch_object() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/classes/MicroSync.php:84
PHP Notice:  Trying to get property 'results' of non-object in /mnt/nfs/labstore-secondary-tools-project/mix-n-match/classes/MicroSync.php on line 93
PHP Stack trace:
PHP   1. {main}() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:0
PHP   2. MixNMatch\MicroSync->checkCatalog() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:18
PHP Notice:  Trying to get property 'bindings' of non-object in /mnt/nfs/labstore-secondary-tools-project/mix-n-match/classes/MicroSync.php on line 93
PHP Stack trace:

This last bit is what filled it up by repeating forever:

PHP   1. {main}() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:0
PHP   2. MixNMatch\MicroSync->checkCatalog() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:18
PHP Notice:  Trying to get property 'bindings' of non-object in /mnt/nfs/labstore-secondary-tools-project/mix-n-match/classes/MicroSync.php on line 109
PHP Stack trace:
PHP   1. {main}() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:0
PHP   2. MixNMatch\MicroSync->checkCatalog() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:18
PHP Warning:  Invalid argument supplied for foreach() in /mnt/nfs/labstore-secondary-tools-project/mix-n-match/classes/MicroSync.php on line 109
PHP Stack trace:
PHP   1. {main}() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:0
PHP   2. MixNMatch\MicroSync->checkCatalog() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:18
PHP Notice:  Trying to get property 'results' of non-object in /mnt/nfs/labstore-secondary-tools-project/mix-n-match/classes/MicroSync.php on line 93
PHP Stack trace:
PHP   1. {main}() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:0
PHP   2. MixNMatch\MicroSync->checkCatalog() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:18
PHP Notice:  Trying to get property 'bindings' of non-object in /mnt/nfs/labstore-secondary-tools-project/mix-n-match/classes/MicroSync.php on line 93
PHP Stack trace:
PHP   1. {main}() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:0
PHP   2. MixNMatch\MicroSync->checkCatalog() /mnt/nfs/labstore-secondary-tools-project/mix-n-match/scripts/microsync.php:18
PHP Warning:  Invalid argument supplied for foreach() in /mnt/nfs/labstore-secondary-tools-project/mix-n-match/classes/MicroSync.php on line 93

Related Objects