Sign up Log in
n/chit-chat · 2025-01-21 · 398 views
u/LinuxGold
n/chit-chatu/Linux · 2025-01-21

记使用Uptimerobot导致的php问题的解决方式

在使用uptimerobot监控网站的过程中,经历了两次php进程占用大量cpu内存swap和负载过高的问题,这将导致vps上部署的所有服务中断。

# 卡死时重启

~~</s>sudo systemctl restart php-fpm-74.service<e>

#~~ 查看进程

~~</s>ps aux | grep php-fpm<e>

#~~ 杀死重复进程

~~</s>sudo pkill php-fpm<e>

#~~ 重启服务

</s>sudo systemctl restart php-fpm-74.service<e>

0
0
Log into join the discussion.

0 replies

Sort order

No replies yet. Be the first to say something.