Skip to main content

Misc Issue

Low Ram

Enable 2GB swap , if you see the services are being killed

fallocate -l 2G /swapfile
dd if=/dev/zero of=/home/.swap/swapfile bs=1M count=40962048
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile

Also make the number of child workes 2x the amout of RAM in www-data pool of php-fpm .

Home Path

To set home for user - inside public_html create .bash_profile inside the file put the home path as

echo "export HOME='/srv/www/my.writetextfast.com/home/'" >> ~/home/bash_profile