OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • 503 Service unavailable (opnsense has died)
« previous next »
  • Print
Pages: [1]

Author Topic: 503 Service unavailable (opnsense has died)  (Read 7089 times)

guest17399

  • Guest
503 Service unavailable (opnsense has died)
« on: August 16, 2019, 03:16:21 pm »
Hello.
This is the second time I have noticed a problem when opnsense stops responding and I have to reboot it.

In addition to the fact that when I try to connect to www, I get the code 503, so I still can not connect via ssh.
Opensense itself is available only locally.
After some period of time, the network drops and I can’t do anything else, how to reboot the device.

I have the latest version.

What data do I need?
Logged

banym

  • Sr. Member
  • ****
  • Posts: 468
  • Karma: 31
  • Free Human Being, FreeBSD, Linux and Mac nerd
    • View Profile
    • Banym
Re: 503 Service unavailable (opnsense has died)
« Reply #1 on: August 16, 2019, 04:24:04 pm »
If you're logged in via SSH you could review the loggs what happened.
Such behaviour could be related to bad Flash or Harddisk. Maybe the services die because of I/O errors.

Have you checked the logfiles when it happened?
Logged
Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de

guest17399

  • Guest
Re: 503 Service unavailable (opnsense has died)
« Reply #2 on: August 16, 2019, 04:26:32 pm »
Quote from: banym on August 16, 2019, 04:24:04 pm
Such behaviour could be related to bad Flash or Harddisk. Maybe the services die because of I/O errors.
The point is that after reboot for several days I’m doing fine ...
Logged

banym

  • Sr. Member
  • ****
  • Posts: 468
  • Karma: 31
  • Free Human Being, FreeBSD, Linux and Mac nerd
    • View Profile
    • Banym
Re: 503 Service unavailable (opnsense has died)
« Reply #3 on: August 16, 2019, 04:32:23 pm »
Maybe it does not hit bad blocks or bad space while that.
Check the logs or the console to see what errors are printed.
Logged
Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: 503 Service unavailable (opnsense has died)
« Reply #4 on: August 16, 2019, 06:52:04 pm »
I would suggest to watch at the memory. 503 means that it cannot reach a service (for example PHP) which could have died but also be killed in an OOM situation.
Logged

guest17399

  • Guest
Re: 503 Service unavailable (opnsense has died)
« Reply #5 on: August 16, 2019, 08:56:11 pm »
Sorry, but so far I don’t have time to look at the logs.
I also suspected that RAM was ending and this is so.

Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: 503 Service unavailable (opnsense has died)
« Reply #6 on: August 16, 2019, 10:19:21 pm »
Since the available memory is constantly decreasing I would guess it is a memory leak or a in memory database which is growing which causes that there is a problem on the first day but on the second day there is a big falling edge which think is because of some kind of memory bug.The service may got killed which would explain that the thing happened again on the next day on which the whole appliance failed.
Logged

guest17399

  • Guest
Re: 503 Service unavailable (opnsense has died)
« Reply #7 on: August 21, 2019, 09:16:47 am »
I found the reason and right now I'm running out of RAM.
I see a lot of processes from pinger.

By the way, I think it's worth including htop in the package...


Logged

guest17399

  • Guest
Re: 503 Service unavailable (opnsense has died)
« Reply #8 on: August 21, 2019, 03:55:08 pm »
Quote from: JetA on August 21, 2019, 09:16:47 am
I found the reason and right now I'm running out of RAM.
I see a lot of processes from pinger.
I hasten to add that I do not have any special settings and this problem arose after moving from 19.1 (everything was stable there) to 19.7
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: 503 Service unavailable (opnsense has died)
« Reply #9 on: August 21, 2019, 05:10:12 pm »
Pinger belongs to squid (web proxy). Maybe it can be disabled.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • 503 Service unavailable (opnsense has died)
 

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