n/chit-chatu/Linux · 2025-01-21
회원가입 로그인
n/chit-chat · 2025-01-21 · 조회 380회
u/Linux골드

记使用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
로그인하고 토론에 참여하세요.

답글 0개

정렬

아직 답글이 없습니다. 첫 답글을 남겨 보세요.