Đăng ký Đăng nhập
n/chit-chat · 2025-01-21 · 395 lượt xem
u/LinuxVàng
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
Đăng nhập để tham gia thảo luận.

0 phản hồi

Sắp xếp

Chưa có phản hồi. Hãy là người đầu tiên lên tiếng.