php-fpm: pool www #520
Replies: 4 comments 3 replies
-
Hi, @dbrianhendrix I have no idea what PHP is trying to do. Let's look at a log.
|
Beta Was this translation helpful? Give feedback.
-
```
***@***.***:~# journalctl --boot --no-pager -uphp7.4-fpm
-- Journal begins at Sun 2022-07-31 07:10:01 CDT, ends at Fri 2022-08-26 07:59:45 CDT. --Aug 25 13:46:46 birdnetpi systemd[1]: Starting The PHP 7.4 FastCGI Process Manager...Aug 25 13:46:48 birdnetpi systemd[1]: Started The PHP 7.4 FastCGI Process Manager.
```
|
Beta Was this translation helpful? Give feedback.
-
They are still there but they are no longer maxing out the CPU. root@birdnetpi:~# ps -ef | grep php-fpm Rebooting did not fix the issue. I had to unplug from power, pull out the SD card, reinsert it, and power on. |
Beta Was this translation helpful? Give feedback.
-
body{font-family:Helvetica,Arial;font-size:13px}The Raspberry Pi stopped being accessible. It couldn’t be pinged, SSH didn’t work, and the network ACT light was constantly flashing. Nothing I did could “reset” it. Reboots just stayed inaccessible. However, the final time, I unplugged power and then removed the SD card and checked it on my Mac. Nothing was corrupt or missing. However, when I put the SD card back in and powered up, I could finally get to it but it was EXTREMELY slow. The CPU was maxed out (4 at 98.7%) with those processes. Maybe it was playing catch-up. It took over an hour before the system settled down and now appears to be okay. D. Brian Hendrixveteran | mac guy | birder | coffee snobTennessee Naturalist, firstSenior Linux Engineer, ***@***.*** On August 26, 2022 at 1:30:34 PM, Patrick McGuire ***@***.***) wrote:
To be clear, when you say "Rebooting did not fix the issue. I had to unplug from power, pull out the SD card, reinsert it, and power on." . . . "They are still there but they are no longer maxing out the CPU."
I'm afraid I'm unsure on the issue -- are the processes causing trouble? It is perfectly normal for there to be multiple php processes running on a server like BirdNET-Pi -- there are lots of things in the web interface that are listening and polling the database and reacting to web interface interaction.
It is also normal for the CPU's load to be high since this model processing is resource intensive. (Indeed, none of the php-fpm pool processes were using more than 71% CPU, so I wouldn't say that is cause for alarm.)
I suppose I would actually want to see a problem before trying to address things that we believe are symptoms of a problem that's not yet been identified.
Let me know what else you are seeing that is causing alarm and making you feel you need to power down, remove the SD card, replace the SD card (not sure what those steps do, since RAM will wait for capacitors to discharge if it was a memory thing?) and reboot just to address what could (based on the info we have seen so far) equally likely to be a networking issue.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
My BirdNET-Pi has been unreachable for a day now. The only symptom showing was the network ACT light was constantly blinking at a high rate. I finally had time to work on it without success. I finally just powered it off, removed the SD card, reinserted it, and powered back up. It is now actually up and I can SSH into it. It is now at a VERY HIGH load with numerous processes using up CPU -- php-fpm: pool www.
Beta Was this translation helpful? Give feedback.
All reactions