Connection interruption and DHCP Lease 504 GW Time-out
-
Hello
Software version: 21.05.2-RELEASE
Devices connected to SG-1100 had network connectivity issues.
It happened on two different locations as well couple days apart. Unfortunately I was not on site and because they are production boxes I didn't have time for extensive troubleshooting remotely.I've noticed on both boxes that the Status > DHCP Leases page returns 504 Gateway Time-out (nginx) error message, but I had no issues opening other pages on the router.
The DHCP Server status indicated that the service is up and running.
I still restarted the DHCP server and at the first occasion the connectivity issue has resolved after, and I was also able to open the DHCP Leases page successfully.
Unfortunately restarting the DCHP server didn't solve the issue when the same issue appered on the other SG-1100 box couple days later. I still received the 504 Gateway Timeout when I tried to open the DHCP Leases page. I had to restart the SG-1100 which has solved the problem connectivity problem and I was also been able to open the DHCP Leases page.
Today again there were connectivity issues reported on both boxes. One of the boxes was restarted almost immediately, I was not able to remotely log in to see if the symptoms are similar and if it is possible to open the DHCP Leases page, but the restart resolved the connectivity issue.
I was also not able to log in to the other box immediately when the issue was reported, only half an hour later, but at that time the connectivity issue has disappeared by itself (this box was not rebooted) and I was also able to open the DHCP Leases page.I was checking the DHCP logs page but no error messages. Would you please help me what other logs I should check to pinpoint the problem?
Thank you!
-
The most common issue in 21.05.2 that might present like that is the pcscd memory leak. For which there is a patch: https://redmine.pfsense.org/issues/11933#note-7
Check the previous memory usage in Status > Monitoring.
Steve
-
@stephenw10 Thank you Steve very useful.
The graph shows the continuous memory depletion over 30 days.Is there a proper way to disable the pcscd daemon or shall I just stop it in the Status > Services every time after reboot?
-
Yeah, apply the patch I linked above using the System Patches package. That prevents it starting at boot. Or upgrade to 22.01-Beta where it's now disabled by default if that's an option for you.
Steve
-
This System Patches package is great. I just applied the patch.
Thank you!
-
I see the target Plus version is 22.01
Do I need to remove the patch manually before I upgrade to 22.01 or the upgrade will take care of it automatically and the patch will disappear from the Patches list? -
Nope the upgrade will take care of it. The patch will remain in the package but will show as applied because it's already in 22.01. You can just delete it at that point, do not revert it!
Steve