Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
added 220 characters in body
Source Link

Okay, last night, around 2am on one of my servers the cpu usages went up to 100%. When I checked in this morning, I saw 5 php-fpm processes taking up around 100% cpu together. I've rebooted the server, but everytime the server comes back, the php-fpm processes start again and take 100% cpu.

It a Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-32-generic x86_64) server, I've updated all software and I just can't get any information what's causing this.

Obviously the problem causes the websites hosted on the server to be offline, all the time showing either a 502 Bad Gateway or a 504 Gateway Time-out error...

I'm hoping someone can offer some help in fixing this.

I've got 3 other servers, with the exact same setup who don't have any of these problems.

EDIT 1: When I look at NewRelic, it shows me that around the same time the problems started, there's a huge increase in "Packets per second" in the network tab, That must have something to do with the problem...

Okay, last night, around 2am on one of my servers the cpu usages went up to 100%. When I checked in this morning, I saw 5 php-fpm processes taking up around 100% cpu together. I've rebooted the server, but everytime the server comes back, the php-fpm processes start again and take 100% cpu.

It a Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-32-generic x86_64) server, I've updated all software and I just can't get any information what's causing this.

Obviously the problem causes the websites hosted on the server to be offline, all the time showing either a 502 Bad Gateway or a 504 Gateway Time-out error...

I'm hoping someone can offer some help in fixing this.

I've got 3 other servers, with the exact same setup who don't have any of these problems.

Okay, last night, around 2am on one of my servers the cpu usages went up to 100%. When I checked in this morning, I saw 5 php-fpm processes taking up around 100% cpu together. I've rebooted the server, but everytime the server comes back, the php-fpm processes start again and take 100% cpu.

It a Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-32-generic x86_64) server, I've updated all software and I just can't get any information what's causing this.

Obviously the problem causes the websites hosted on the server to be offline, all the time showing either a 502 Bad Gateway or a 504 Gateway Time-out error...

I'm hoping someone can offer some help in fixing this.

I've got 3 other servers, with the exact same setup who don't have any of these problems.

EDIT 1: When I look at NewRelic, it shows me that around the same time the problems started, there's a huge increase in "Packets per second" in the network tab, That must have something to do with the problem...

Source Link

Getting 502 Bad Gateway, php-fpm takes 100% cpu

Okay, last night, around 2am on one of my servers the cpu usages went up to 100%. When I checked in this morning, I saw 5 php-fpm processes taking up around 100% cpu together. I've rebooted the server, but everytime the server comes back, the php-fpm processes start again and take 100% cpu.

It a Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-32-generic x86_64) server, I've updated all software and I just can't get any information what's causing this.

Obviously the problem causes the websites hosted on the server to be offline, all the time showing either a 502 Bad Gateway or a 504 Gateway Time-out error...

I'm hoping someone can offer some help in fixing this.

I've got 3 other servers, with the exact same setup who don't have any of these problems.