###前提・実現したいこと
Composerを利用してパッケージのインストールをしていたのですが、最中にKilledになります。
よろしければ、ご教授のほどよろしくお願いします。
###補足情報(composer.json)
js
1{ 2 "name": "oro/crm-application", 3 "description": "The OroCRM distribution", 4 "homepage": "https://github.com/orocrm/crm-application.git", 5 "license": "OSL-3.0", 6 "autoload": { 7 "psr-0": { 8 "": "src/" 9 } 10 }, 11 "repositories": { 12 "composer": { 13 "type": "composer", 14 "url": "https://packagist.orocrm.com" 15 } 16 }, 17 "require": { 18 "oro/crm": "1.x-dev", 19 "oro/platform-serialised-fields": "1.x-dev", 20 "oro/crm-hangouts-call-bundle": "1.x-dev", 21 "oro/crm-abandoned-cart": "1.x-dev", 22 "oro/crm-magento-embedded-contact-us": "1.x-dev", 23 "oro/crm-mail-chimp": "1.x-dev", 24 "oro/crm-dotmailer": "1.x-dev", 25 "oro/crm-zendesk": "1.x-dev" 26 }, 27 "require-dev": { 28 "sensio/generator-bundle": "2.5.3", 29 "squizlabs/php_codesniffer": "2.3.3", 30 "behat/behat": "3.1.0", 31 "behat/mink-extension": "^2.0", 32 "behat/mink-selenium2-driver": "1.*", 33 "behat/symfony2-extension": "2.1.1", 34 "nelmio/alice": "~2.1.4", 35 "phpunit/phpunit": "4.8.*", 36 "johnkary/phpunit-speedtrap": "1.0.*", 37 "mybuilder/phpunit-accelerator": "1.1.*" 38 }, 39 "config": { 40 "component-dir": "web/bundles/components" 41 }, 42 "scripts": { 43 "post-install-cmd": [ 44 "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", 45 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", 46 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile", 47 "Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::setPermissions", 48 "Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::installAssets", 49 "Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::setAssetsVersion" 50 ], 51 "post-update-cmd": [ 52 "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", 53 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", 54 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile", 55 "Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::setPermissions", 56 "Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::installAssets", 57 "Oro\\Bundle\\InstallerBundle\\Composer\\ScriptHandler::setAssetsVersion" 58 ] 59 }, 60 "minimum-stability": "dev", 61 "prefer-stable": true, 62 "extra": { 63 "symfony-app-dir": "app", 64 "symfony-web-dir": "web", 65 "incenteev-parameters": { 66 "file": "app/config/parameters.yml" 67 }, 68 "asset-installer-paths": { 69 "npm-asset-library": "web/bundles/npmassets", 70 "bower-asset-library": "web/bundles/bowerassets" 71 } 72 } 73} 74
###発生している問題(Composer)
$ php -d memory_limit=-1 /usr/local/bin/composer install --prefer-dist --no-dev Loading composer repositories with package information Updating dependencies Could not fetch https://api.github.com/repos/sporritt/jsPlumb, please create a GitHub OAuth token to go over the API rate limit Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+tk2-230-24748.vs.sakura.ne.jp+2016-11-02+1316 to retrieve a token. It will be stored in "/home/hironobu/.composer/auth.json" for future use by Composer. Token (hidden): Token stored successfully. Killed
###発生している問題(OOM Killer)
Nov 1 17:55:23 x.x.x.x.x.x kernel: Killed process 2613, UID 500, (php) total-vm:3048280kB, anon-rss:1445632kB, file-rss:800kB Nov 1 18:37:58 x.x.x.x.x.x kernel: Killed process 5641, UID 500, (php) total-vm:2985048kB, anon-rss:1612708kB, file-rss:652kB Nov 1 19:38:01 x.x.x.x.x.x kernel: Killed process 7552, UID 500, (php) total-vm:2946928kB, anon-rss:1626032kB, file-rss:656kB Nov 1 20:49:49 x.x.x.x.x.x kernel: Killed process 8972, UID 500, (php) total-vm:3190564kB, anon-rss:1436404kB, file-rss:664kB Nov 2 11:18:12 x.x.x.x.x.x kernel: Killed process 7002, UID 500, (php) total-vm:2784044kB, anon-rss:1608080kB, file-rss:644kB Nov 2 11:37:11 x.x.x.x.x.x kernel: Killed process 7552, UID 500, (php) total-vm:2884484kB, anon-rss:1227576kB, file-rss:660kB Nov 2 11:56:29 x.x.x.x.x.x kernel: Killed process 8251, UID 500, (php) total-vm:2855436kB, anon-rss:1490912kB, file-rss:672kB Nov 2 12:45:46 x.x.x.x.x.x kernel: Killed process 8822, UID 500, (php) total-vm:2842096kB, anon-rss:1583196kB, file-rss:260kB Nov 2 13:37:13 x.x.x.x.x.x kernel: Killed process 9734, UID 500, (php) total-vm:2895272kB, anon-rss:1637796kB, file-rss:656kB Nov 2 15:06:15 x.x.x.x.x.x kernel: Killed process 13063, UID 500, (php) total-vm:3123464kB, anon-rss:1348276kB, file-rss:812kB Nov 2 15:55:58 x.x.x.x.x.x kernel: Killed process 14599, UID 500, (php) total-vm:2926248kB, anon-rss:1366844kB, file-rss:656kB Nov 2 17:20:15 x.x.x.x.x.x kernel: Killed process 17665, UID 500, (php) total-vm:2663800kB, anon-rss:1705316kB, file-rss:656kB Nov 2 18:10:46 x.x.x.x.x.x kernel: Killed process 19704, UID 500, (php) total-vm:2787056kB, anon-rss:1651156kB, file-rss:648kB Nov 3 10:26:07 x.x.x.x.x.x kernel: Killed process 18612, UID 500, (php) total-vm:1659716kB, anon-rss:855128kB, file-rss:660kB Nov 3 10:31:26 x.x.x.x.x.x kernel: Killed process 18616, UID 500, (php) total-vm:2870860kB, anon-rss:1625512kB, file-rss:68kB Nov 3 11:10:59 x.x.x.x.x.x kernel: Killed process 19637, UID 500, (php) total-vm:2925488kB, anon-rss:1644732kB, file-rss:660kB
###発生している問題(vmstat)
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu----- r b swpd free buff cache si so bi bo in cs us sy id wa st 1 0 1188008 1740216 11412 51068 7 7 25 29 2 1 1 0 98 0 0
###試したこと
メモリーを無制限にしました。
COMPOSER_PROCESS_TIMEOUTを長めに設定しました。
Redis Serverをシャットダウンして、プロセスを削除しました。
###補足情報(言語/FW/ツール等のバージョンなど)
CentOS release 6.8 (Final)
PHP 5.5.38
Composer version 1.2.1
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/11/03 02:35