sometimes, not every time, increasing tendency, discover following behaviour composer install on symfony project. working different branches here , after switching feature branch master, composer install necessary. works fine, @ last step, script terminates after 300 sec while "buildbootstrap".
> post-update-cmd: sensio\bundle\distributionbundle\composer\scripthandler::buildbootstrap script sensio\bundle\distributionbundle\composer\scripthandler::buildbootstrap handling post-update-cmd event terminated exception [symfony\component\process\exception\processtimedoutexception] process "'/usr/bin/php5' '--php-ini=/etc/php5/cli/php.ini' '/var/www/project/vendor/sensio/distribution-bundle/sensio/bundle/distributionbundle/composer/../resources/bin/build_bootstrap .php' 'app' 'app' " exceeded timeout of 300 seconds. exception trace: () @ phar:///var/www/project/composer.phar/vendor/symfony/process/symfony/component/process/process.php:1219 symfony\component\process\process->checktimeout() @ phar:///var/www/project/composer.phar/vendor/symfony/process/symfony/component/process/process.php:356 symfony\component\process\process->wait() @ phar:///var/www/project/composer.phar/vendor/symfony/process/symfony/component/process/process.php:210 symfony\component\process\process->run() @ /var/www/project/vendor/sensio/distribution-bundle/sensio/bundle/distributionbundle/composer/scripthandler.php:454 sensio\bundle\distributionbundle\composer\scripthandler::executebuildbootstrap() @ /var/www/project/vendor/sensio/distribution-bundle/sensio/bundle/distributionbundle/composer/scripthandler.php:82 sensio\bundle\distributionbundle\composer\scripthandler::buildbootstrap() @ phar:///var/www/project/composer.phar/src/composer/eventdispatcher/eventdispatcher.php:211 composer\eventdispatcher\eventdispatcher->executeeventphpscript() @ phar:///var/www/project/composer.phar/src/composer/eventdispatcher/eventdispatcher.php:167 composer\eventdispatcher\eventdispatcher->dodispatch() @ phar:///var/www/project/composer.phar/src/composer/eventdispatcher/eventdispatcher.php:92 composer\eventdispatcher\eventdispatcher->dispatchscript() @ phar:///var/www/project/composer.phar/src/composer/installer.php:346 composer\installer->run() @ phar:///var/www/project/composer.phar/src/composer/command/updatecommand.php:143 composer\command\updatecommand->execute() @ phar:///var/www/project/composer.phar/vendor/symfony/console/symfony/component/console/command/command.php:257 symfony\component\console\command\command->run() @ phar:///var/www/project/composer.phar/vendor/symfony/console/symfony/component/console/application.php:874 symfony\component\console\application->doruncommand() @ phar:///var/www/project/composer.phar/vendor/symfony/console/symfony/component/console/application.php:195 symfony\component\console\application->dorun() @ phar:///var/www/project/composer.phar/src/composer/console/application.php:147 composer\console\application->dorun() @ phar:///var/www/project/composer.phar/vendor/symfony/console/symfony/component/console/application.php:126 symfony\component\console\application->run() @ phar:///var/www/project/composer.phar/src/composer/console/application.php:82 composer\console\application->run() @ phar:///var/www/project/composer.phar/bin/composer:43 require() @ /var/www/project/composer.phar:25 update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [packagesn]
after error occured once, not possible more execute composer without hanging directly @ beginning.
$> php -d memory_limit=-1 composer.phar -vvv install
this hang directly after pressing enter, no output, nothing. reboot machine , maybe next time working, , not described above.
has discovered same thing?
scripthandler::buildbootstrap first task @ composer executes code in symfony project. means, php task waiting , there not many things in consideration here.
are simultaneously debugging xdebug (mayby forgotten degub-session)? xdebug running in debug session , waiting @ break point?
this root cause.
Comments
Post a Comment