Page MenuHomeDevCentral

Eglide SWAP is very low
Closed, ResolvedPublic

Description

Eglide weren't responsive for network connections this evening.

It seems the issue is memory related:

/var/log/messages
systemd-udevd[3530]: Failed to fork() worker: Cannot allocate memory
[...]

After a reboot, @jokerozen noticed there isn't any swap configured.

$ top
top - 22:55:20 up  1:15,  7 users,  load average: 2.20, 1.11, 0.88
Tasks: 162 total,   2 running, 160 sleeping,   0 stopped,   0 zombie
%Cpu(s): 23.9 us,  9.1 sy,  0.0 ni, 67.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :   2020.3 total,    162.2 free,    189.3 used,   1668.8 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.   1455.8 avail Mem

We don't actually have any SWAP configured on this server.

Event Timeline

dereckson triaged this task as High priority.Feb 11 2020, 22:50
dereckson moved this task from Backlog to Eglide on the Servers board.

The event triggered the consume of all RAM is probably the @MaxChan eggdrop.

Here the 2020-02-12 14:09 UTC CPU and memory use:

PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND

18038 whoami 20 0 1821108 1.6g 844 R 100.0 79.3 123:32.93 eggdrop

Probably a small server only for this eggdrop would be more convenient.