Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
PHP keeps spiking my CPU?
« previous
next »
Print
Pages: [
1
]
Author
Topic: PHP keeps spiking my CPU? (Read 2061 times)
loganx1121
Full Member
Posts: 123
Karma: 0
PHP keeps spiking my CPU?
«
on:
November 03, 2020, 01:22:37 am »
So I did the latest update and since then I've had issues. I did the update, then turned suricata on, and it kept killing my WAN link once a day, so ok, turned that back off, but now my firewall CPU keeps spiking. If I look at top I see "php" and "php-cgi" keep spiking and hitting like 97%.
I reset the logs on the firewall, manually deleted all the suricata directories I could find, just stuff I found from trying to research this, but it's still doing it. Anyone have any ideas? My CPU graph in my network monitor used to idle at almost nothing and now it looks like a saw graph. The web UI is lagging and downloads are painfully slow.
Logged
analys1sman
Newbie
Posts: 3
Karma: 0
Re: PHP keeps spiking my CPU?
«
Reply #1 on:
November 03, 2020, 09:53:36 am »
In my case, flowd_aggregate.py or php-cgi was not a culprit, as it showed by the top command. I disabled IPv6, and it dropped CPU utilization from 90-100% to less than 10%.
Please find the following details.
https://www.analysisman.com/2020/10/opnsense-highcpu.html
Hope this helps!
Logged
loganx1121
Full Member
Posts: 123
Karma: 0
Re: PHP keeps spiking my CPU?
«
Reply #2 on:
November 03, 2020, 01:26:44 pm »
Yeah I saw your post and tried that. Didn't work for me. I restored from a backup and then re-imported some of my setting from a more recent backup and now it seems fine.
Mental note: Don't enable suricata like ever. Everything was fine until I turned that on.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
PHP keeps spiking my CPU?