All Memoy used

Started by elberton, September 21, 2018, 06:53:56 AM

Previous topic - Next topic
Hello.
I have 2 opnsense firewall on 2 site differents with the same configuration.
8 Go memory. 60 Go Hard Drive
intel pentium dualcore
Opnsense 18.7.3

Squid i-icap clamd
After about 1 or 2 day all the memory is used. And causing crash of squid. I need to reboot them. I have proceded to the upgrade the last day to the 18.7.3 but the problem still present.
I have activate swap option. But in the log i see no swap disk available when squid crashing.
And the problem is on the 2 opnsense firewall.
if i desactivate i-icap and clamd squid crash about 2 day.....
I don't know where to find the problem. And i need squid and blacklist for the school...
thank's for your help

September 21, 2018, 08:01:22 AM #1 Last Edit: September 21, 2018, 08:08:18 AM by ab5g
I can confirm the same that the swap is not getting used in the dashboard. No crashes for me. I upgraded about 12 hours ago to 18.7.3.
Mem util - 15%
CPU below 5%

128 GB SSD; 8 GB RAM, 8 GB SWAP.

root@OPNsense:~ # swapinfo
Device          1K-blocks     Used    Avail Capacity
/dev/gpt/swapfs   8388608        0  8388608     0%

root@OPNsense:~ # cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/gpt/rootfs /               ufs     rw              1       1
/dev/gpt/swapfs         none            swap    sw              0       0
root@OPNsense:~ #
DIY Tech >> www.zero-ping.blog

crash last 10 min :
QuoteSep 21 08:10:02   squid[38575]: Squid Parent: (squid-1) process 38869 started
Sep 21 08:10:02   squid[38575]: Squid Parent: will start 1 kids
Sep 21 08:07:15   squid[70037]: Squid Parent: (squid-1) process 70502 exited due to signal 6 with status 0
Sep 21 08:07:14   kernel: pid 70502 (squid), uid 100: exited on signal 6 (core dumped)