Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
PHP script killing system (/usr/local/opnsense/scripts/dhcp/prefixes.php)
« previous
next »
Print
Pages: [
1
]
Author
Topic: PHP script killing system (/usr/local/opnsense/scripts/dhcp/prefixes.php) (Read 2032 times)
uglymotha
Newbie
Posts: 10
Karma: 4
PHP script killing system (/usr/local/opnsense/scripts/dhcp/prefixes.php)
«
on:
December 02, 2020, 11:08:22 am »
What is this script doing exactly, and why is it consistently killing my system? The amount of process taking up 100% keeps increasing and I have to kill them hard and restart the webgui.
last pid: 81341; load averages: 6.35, 6.13, 4.90 up 1+18:53:05 11:01:04
108 processes: 8 running, 99 sleeping, 1 zombie
CPU: 90.3% user, 0.0% nice, 7.7% system, 0.5% interrupt, 1.5% idle
Mem: 935M Active, 4174M Inact, 2180M Wired, 1136M Buf, 9530M Free
Swap: 8192M Total, 8192M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
67960 root 1 100 0 180M 139M CPU5 5 6:10 99.03% php
15771 root 1 92 0 180M 139M CPU4 4 0:12 98.95% php
66050 root 1 102 0 180M 139M CPU1 1 10:09 98.93% php
3542 root 1 102 0 180M 139M CPU2 2 14:17 98.38% php
40170 root 1 101 0 180M 139M CPU6 6 20:48 96.21% php
58530 root 1 101 0 180M 139M CPU0 0 16:40 95.19% php
ps aux |grep php
root 3542 100.0 0.9 184008 142104 - R 10:46 14:59.09 /usr/local/bin/php /usr/local/opnsense/scripts/dhcp/prefixes.php
root 40170 100.0 0.9 184008 142104 - R 10:39 21:29.53 /usr/local/bin/php /usr/local/opnsense/scripts/dhcp/prefixes.php
root 58530 100.0 0.9 184008 142108 - R 10:44 17:22.13 /usr/local/bin/php /usr/local/opnsense/scripts/dhcp/prefixes.php
root 67960 100.0 0.9 184008 142108 - R 10:54 6:51.40 /usr/local/bin/php /usr/local/opnsense/scripts/dhcp/prefixes.php
root 15771 99.6 0.9 184008 142116 - R 11:00 0:53.80 /usr/local/bin/php /usr/local/opnsense/scripts/dhcp/prefixes.php
root 66050 99.4 0.9 184008 142100 - R 10:50 10:51.01 /usr/local/bin/php /usr/local/opnsense/scripts/dhcp/prefixes.php
Logged
uglymotha
Newbie
Posts: 10
Karma: 4
Re: PHP script killing system (/usr/local/opnsense/scripts/dhcp/prefixes.php)
«
Reply #1 on:
December 02, 2020, 12:04:39 pm »
System info:
OPNsense 20.7.5-amd64
FreeBSD 12.1-RELEASE-p10-HBSD
OpenSSL 1.1.1h 22 Sep 2020
Intel(R) Atom(TM) CPU C2750 @ 2.40GHz (8 cores) / 16GB
Logged
Remington
Newbie
Posts: 15
Karma: 2
Re: PHP script killing system (/usr/local/opnsense/scripts/dhcp/prefixes.php)
«
Reply #2 on:
February 08, 2021, 12:24:43 am »
Check the size of `/var/log/dhcpd.log` if it is to large the script will take to much CPU, as the script is parsing this file
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
PHP script killing system (/usr/local/opnsense/scripts/dhcp/prefixes.php)