Skip to content

Startup fails with "out of memory", but is not #120

@matthiasbeyer

Description

@matthiasbeyer

Hi,

I am trying to set up this software, but startup fails here:

panic(fmt.Sprintf("failed to initialise storage: %v", err))

Mar 31 19:37:02 moon fail2ban-ui[2431616]: panic: failed to initialise storage: unable to open database file: out of memory (14)
Mar 31 19:37:02 moon fail2ban-ui[2431616]: goroutine 1 [running]:
Mar 31 19:37:02 moon fail2ban-ui[2431616]: github.com/swissmakers/fail2ban-ui/internal/config.init.0()
Mar 31 19:37:02 moon fail2ban-ui[2431616]:         github.com/swissmakers/fail2ban-ui/internal/config/settings.go:310 +0x385
Mar 31 19:37:02 moon systemd[1]: fail2ban-ui.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

The error message seems to be misleading though, as the host has 14GB of free RAM and the service unit does not restrict ram usage of the service...

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions