2021-12-11, 04:21 PM
Hello, I've just moved from managed vps (Dreamhost) to unmanged vps (Hostinger) for hosting my website but currently i'm facing one problem...
after site runs a while i got tons of php-cgi process running and using up all the memory causing stuff to not work.. i.e. mysql getting killed, etc.
I never had this problem while hosting my site on Dreamhost... right now I can only kill these php-cgi when I notice my website is down and I have no clue on how to figure out why i have so many php-cgi process running... any help would be appreciated
thanks!
after site runs a while i got tons of php-cgi process running and using up all the memory causing stuff to not work.. i.e. mysql getting killed, etc.
root@brainy-boundary:~# free -h
total used free shared buff/cache available
Mem: 1.0G 882M 120K 114M 141M 27M
Swap: 256M 256M 0B
root@brainy-boundary:~# ps -A | grep php-cgi | wc -l
494
I never had this problem while hosting my site on Dreamhost... right now I can only kill these php-cgi when I notice my website is down and I have no clue on how to figure out why i have so many php-cgi process running... any help would be appreciated
thanks!