Page MenuHomePhabricator

scap rebuildLocalisationCache.php runs "30 threads" all on the same CPU
Closed, DuplicatePublic

Description

Spotted today while doing a fully scap, rebuildLocalisationCache.php is run with --threads=30 but each sub process ends up on the same CPU. That defeat parallelism entirely :]

\_ /usr/bin/python /usr/bin/scap sync testwiki to php-1.32.0-wmf.20 and rebuild l10n cache - T191066
    \_ /bin/sh -c sudo -u www-data -n -- /usr/local/bin/mwscript rebuildLocalisationCache.php --wiki="testwiki" --outdir="/tmp/scap_l10n_3999488278" --threads=30  --force --quiet
        \_ sudo -u www-data -n -- /usr/local/bin/mwscript rebuildLocalisationCache.php --wiki=testwiki --outdir=/tmp/scap_l10n_3999488278 --threads=30 --force --quiet
            \_ /bin/bash /usr/local/bin/mwscript rebuildLocalisationCache.php --wiki=testwiki --outdir=/tmp/scap_l10n_3999488278 --threads=30 --force --quiet
                \_ php /srv/mediawiki-staging/multiversion/MWScript.php rebuildLocalisationCache.php --wiki=testwiki --outdir=/tmp/scap_l10n_3999488278 --threads=30 --force --quiet
                    \_ php /srv/mediawiki-staging/multiversion/MWScript.php rebuildLocalisationCache.php --wiki=testwiki --outdir=/tmp/scap_l10n_3999488278 --threads=30 --force --quiet
                    \_ php /srv/mediawiki-staging/multiversion/MWScript.php rebuildLocalisationCache.php --wiki=testwiki --outdir=/tmp/scap_l10n_3999488278 --threads=30 --force --quiet
                    \_ php /srv/mediawiki-staging/multiversion/MWScript.php rebuildLocalisationCache.php --wiki=testwiki --outdir=/tmp/scap_l10n_3999488278 --threads=30 --force --quiet
                    \_ php /srv/mediawiki-staging/multiversion/MWScript.php rebuildLocalisationCache.php --wiki=testwiki --outdir=/tmp/scap_l10n_3999488278 --threads=30 --force --quiet
                    \_ php /srv/mediawiki-staging/multiversion/MWScript.php rebuildLocalisationCache.php --wiki=testwiki --outdir=/tmp/scap_l10n_3999488278 --threads=30 --force --quiet
                    \_ php /srv/mediawiki-staging/multiversion/MWScript.php rebuildLocalisationCache.php --wiki=testwiki --outdir=/tmp/scap_l10n_3999488278 --threads=30 --force --quiet
                    \_ php /srv/mediawiki-staging/multiversion/MWScript.php rebuildLocalisationCache.php --wiki=testwiki --outdir=/tmp/scap_l10n_3999488278 --threads=30 --force --quiet
                    \_ php /srv/mediawiki-staging/multiversion/MWScript.php rebuildLocalisationCache.php --wiki=testwiki --outdir=/tmp/scap_l10n_3999488278 --threads=30 --force --quiet
                    \_ php /srv/mediawiki-staging/multiversion/MWScript.php rebuildLocalisationCache.php --wiki=testwiki --outdir=/tmp/scap_l10n_3999488278 --threads=30 --force --quiet
                    \_ php /srv/mediawiki-staging/multiversion/MWScript.php rebuildLocalisationCache.php --wiki=testwiki --outdir=/tmp/scap_l10n_3999488278 --threads=30 --force --quiet
deploy1001:~$ php --version
HipHop VM 3.18.6-dev (rel)
Compiler: 3.18.5+dfsg-1+wmf8+deb9u1
Repo schema: 7be0062745976798500274e76b3907ae9448a681