OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • Unresponsive every 2 weeks, fixed
« previous next »
  • Print
Pages: [1]

Author Topic: Unresponsive every 2 weeks, fixed  (Read 1870 times)

johnw

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Unresponsive every 2 weeks, fixed
« on: January 02, 2020, 04:38:01 pm »
This is a problem that started recent-ish following an upgrade, which I've resolved it (not a fix as such) so sharing with the community.

I'm running 19.7.8-amd64 on a Decisio appliance.

Recently it started becoming unresponsive every 2 weeks or so, unless we pro-actively reboot it. The firewall would fail to respond to all direct connections to it including DNS,HTTPS,SSH,Ping; but would continue to allow traffic between networks as normal (so long as no DNS lookup required). It sounded like a resource leak as being the root cause.

Looking at /var/log/system.log following such a failure event there were a lot of messages:

kernel: swap_page_getswapspace(): failed
kernel: swap_page_getswapspace(): failed
kernel: swap_page_getswapspace(): failed


Clearly the OS is running out of memory. Further monitoring of memory and processes in Reporting > Health > System highlighted a failry constant growth in the number of processes, as well as a steady increase in network latency in Reporting > Health > System.

Using the console and running top reported a lot of 'pinger' processes running under the 'squid' user account. I stopped squid service and killed off all 'pinger' proicesses and normal reliable service appears to have resumed.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • Unresponsive every 2 weeks, fixed
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2