Short hangs happening randomly a few times a day
-
Hello,
I seems to be experiencing short hangs of a few seconds on my pfsense router a couple of times a day happening randomly it seems. All I have figured so far is that a couple of times a day my pfsense router stops working a a little while and it comes back to normal on it's own. By stops working I mean stops answering to ping, does not route packet, opened sockets loose connections...
How could I confirm that the issue is indeed with the pfsense router ? And if so, how could I figure what the cause is ?Thanks
-
On a pfSense with 100 % default settings there is one task that can 'spike' the processor a bit : see here : Status > System Logs > Settings and give the "Log Rotation Options" some thoughts. When the log file (any of them) goes over the preset size (Log Rotation Size (Bytes)) then the current log files are rotated and older ones are zipped to reduce space.
If you have very big log files, like me : "2097152" or 2 Mbytes, then the zipping will hit the processor a bit harder. For me, I don't care, I've enough cpu power.If you want to see all the recurrent tasks : install the pfSense CRON package.
On the other side : if you install and use "pfBlockerNT, suricata ntopng and darkstat" then I've nothing to say : all goes to plan ^^
(these apps can create huge log files) -
I have disabled logging all together a while ago to rule this out, so it isn't log packing related that's for sure.
I will take a look at the cron jobs system wide, but as the freeze are happening fairly randomly I'm not expecting to find much there, but still one to consider.
I do have pfblockerng and suricata running, but have carefully set the log limits in each of them, which results in deletion rather than zipping. But maybe I should consider disabling logging for them as well just to rule this out as well. -
@Xantra I’d watch top to see what it shows while it’s happening.
System logs? Connection drop? CPU spike?