Tag Archives: Killed

Execute composer and throw killed

Website content quality is poor, distribution efficiency is too low how to do?Huawei engineers offer 5 unique skills>>>

1. The error is as follows

root@test2:/work/usrc$ composer require qcloud/cos-sdk-v5
./composer.json has been updated
The "extra.asset-installer-paths" option is deprecated, use the "config.fxp-asset.installer-paths" option
Loading composer repositories with package information
Updating dependencies (including require-dev)
Killed

2. Solutions

Most of the reasons are caused by insufficient cache, which can be solved by adding cache in Linux environment

free -m
mkdir -p /var/_swap_
cd /var/_swap_
dd if=/dev/zero of=swapfile bs=1M count=2000
mkswap swapfile
swapon swapfile
echo “/var/_swap_/swapfile none swap sw 0 0” >> /etc/fstab
free -m