OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: MaZe on October 02, 2022, 03:14:50 pm

Title: Many dhcpd processes Spawning, firewall freezing
Post by: MaZe on October 02, 2022, 03:14:50 pm
Hello everyone,

I recently discovered that my opnsense instance slowed down, and VoIP services like Teams/Discord felt not that "Real Time" (There were connection problems). So, I entered the Web UI of my Router which took ages, and then I tried opening a ssh connection to see if I can locate the issue. I discovered in top there were over 900 Process and almost all of them were dhcpd. Then I rebooted the Machine. The Shutdown normally takes about a few seconds, but this time "Invoking stop script 'beep'" took already over a Minute. After the reboot was finally done, everything is back to normal.

I already encountered this twice, so I thought I might ask the community.

Does anyone else has encountered this Issue or even know what is and how to fix?
I appreciate every comment and wish everyone a lovely day.

Here is top:

993 processes: 877 running, 115 sleeping, 1 zombie
CPU: 42.9% user,  0.0% nice, 71.0% system,  0.3% interrupt,  0.0% idle
Mem: 760M Active, 211M Inact, 2545M Wired, 72K Buf, 342M Free
ARC: 2009M Total, 1179M MFU, 709M MRU, 412K Anon, 30M Header, 87M Other
     1777M Compressed, 10G Uncompressed, 5.63:1 Ratio
Swap: 8192M Total, 8192M Free

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
51517 dhcpd         1  44    0    22M  9644K RUN      2   0:11  22.48% dhcpd
84589 dhcpd         1  44    0    22M  9608K RUN      1   0:02  17.83% dhcpd
77756 dhcpd         1  44    0    22M  9640K RUN      1   0:06  15.46% dhcpd
99848 dhcpd         1  44    0    22M  9640K RUN      0   0:07  13.64% dhcpd
22295 dhcpd         1  44    0    22M  9640K RUN      0   0:06  13.23% dhcpd
18447 dhcpd         1  44    0    22M  9640K RUN      0   0:05  12.88% dhcpd
97178 dhcpd         1  44    0    22M  9640K RUN      3   0:07  12.69% dhcpd
84565 dhcpd         1  44    0    22M  9608K RUN      3   0:01  12.30% dhcpd
82431 dhcpd         1  44    0    22M  9608K RUN      0   0:02  11.01% dhcpd
21948 dhcpd         1  44    0    22M  9640K RUN      3   0:07  10.96% dhcpd
89541 dhcpd         1  44    0    22M  9640K RUN      1   0:06  10.82% dhcpd
82105 dhcpd         1  44    0    22M  9640K RUN      3   0:06  10.67% dhcpd
85034 dhcpd         1  44    0    22M  9640K RUN      0   0:07  10.51% dhcpd
20180 dhcpd         1  44    0    25M  9700K RUN      1   0:08  10.23% dhcpd
17582 dhcpd         1  44    0    22M  9640K RUN      0   0:05   9.53% dhcpd
82097 dhcpd         1  44    0    22M  9640K RUN      3   0:06   9.09% dhcpd
80844 dhcpd         1  44    0    22M  9608K RUN      2   0:01   7.69% dhcpd
81717 dhcpd         1  44    0    22M  9640K RUN      1   0:07   7.46% dhcpd
88964 dhcpd         1  44    0    22M  9640K RUN      2   0:06   7.01% dhcpd
90872 dhcpd         1  44    0    22M  9640K RUN      3   0:06   6.97% dhcpd