Jump to content

Getting Out of memory errors caused by avahi-daemon


Recommended Posts

 

I recently installed "Fix Common Problems" and noticed I'm getting errors. Looking at logs I see "kernel: Out of memory: Killed process avahi-daemon"

So I don't know if this just started or if I'm just noticing now that I have the FCP plugin installed.

 

Is this a known issue or does anyone know a fix?

Link to comment

Thanks, trying that and still can't narrow it down. It seems random. 

 

It seems AVAHI-DAEMON Is a Linux version of Apple's Bonjour. I just don't know what's using it or if I can do anything about it. I do use Apple devices so it may be needed for something. But the out of. Memory errors are an issue

Link to comment

AVAHI will make it possible to access the server using tower.local, it allows mDNS being used to resolve that name from Windows also, but if you don't need and it's causing issues you can disable it manually but editing /boot/config/share.cfg and setting shareAvahiEnabled="no", then reboot.

Link to comment
On 7/11/2023 at 8:10 PM, shaunvis said:

 

I recently installed "Fix Common Problems" and noticed I'm getting errors. Looking at logs I see "kernel: Out of memory: Killed process avahi-daemon"

So I don't know if this just started or if I'm just noticing now that I have the FCP plugin installed.

 

Is this a known issue or does anyone know a fix?

 

Note that this does not necessarily mean that it is that process that caused the issue - just that it was the one chosen to be killed.

Link to comment

I'd agree but it's that process every time. Several times a day. And I saw in the logs where that process was using about 57GB of RAM right before it was killed.

 

I tried running with no dockers and still got it. Running in safe mode it doesn't happen. Trying to look into plugins now

Link to comment

With plugins enabled I get this. 

 

 

avahi-daemon invoked oom-killer: gfp_mask=0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_COMP|__GFP_ZERO), order=0, oom_score_adj=0

CPU: 12 PID: 10357 Comm: avahi-daemon Tainted: P O 5.19.17-Unraid #2

Call Trace:

<TASK>

dump_stack_lvl+0x44/0x5c Jul 13 08:57:28

dump_header+0x4a/0x1ff Jul 13 08:57:28

oom_kill_process+0x80/0x111

out_of_memory+0x3e8/0x41a

oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0-1,global_oom,task_memcg=/,task=avahi-daemon,pid=10357,uid=61

Out of memory: Killed process 10357 (avahi-daemon) total-vm:62433044kB, anon-rss:62427840kB, file-rss:4kB, shmem-rss:2972kB, UID:61 pgtables:122208kB oom_score_adj:0

oom_reaper: reaped process 10357 (avahi-daemon), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

avahi-dnsconfd[10366]: read(): EOF

Link to comment
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...