Error in logs
-
@NogBadTheBad said in Error in logs:
grep memory /var/run/dmesg.boot
When I do swapinfo I receive the following output:
Device 1K-blocks Used Avail Capacity
/dev/gptid/2b57240d-1623-11e8-b 1048536 824156 224380 79%Doing the second command doesn't give me any output.
-
What version of pfSense are you running ?
It looks like you are running out of swap space, the following should tell you the process that's eating all your swap space.
Run top -w, press o then type in swap
-
I am running 2.4.4-RELEASE-p2
Running that cmd the top results flicks between Squid, ntopng & clamd
-
grep memory /var/run/dmesg.boot should work.
How much RAM do you have ?
-
I have just tried running that command again but by tabbing out each word, I don't have a option for memory after typing grep
I currently have it set to use 4GB RAM
-
@J7529 said in Error in logs:
I have just tried running that command again but by tabbing out each word, I don't have a option for memory after typing grep
I currently have it set to use 4GB RAM
You probally need more RAM.
-
@NogBadTheBad said in Error in logs:
grep memory /var/run/dmesg.boot
It looks like im using only 48% or am I looking at the wrong thing?
-
The above screenshot is the current state, do you see errors in the log all the time ?
https://en.wikipedia.org/wiki/Paging#Unix_and_Unix-like_systems
I have 8Gb of RAM and I never swap memory from RAM to disk.
Disable ntopng, does the swap usage change ?
-
I see error logs maybe twice a day they have happened since I posted this,
When disabling ntopng the swap usage doesn't move but I have noticed that the SWAP usage is 1023 assuming if I upped the RAM this would increase automatically.
-
Upping the RAM causes memory staying in RAM and not being swapped out to swap ( RAM disk ).
Can you tie in the time stamps to what squid, ntopng or clamd might be doing ?
-
Just gone through the logs and can't see anything around the time where I received the swap errors