rsyslogd-2163 epoll_ctl failed; with File exists

This is the place for developers to discuss bugs, new features and everything else about code changes.

Google Ads


rsyslogd-2163 epoll_ctl failed; with File exists

Postby redstonemercury » Tue Apr 21, 2015 5:31 pm

We have been experiencing the following error generated by rsyslogd 5.8.11-3+deb7u2 on Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.65-1+deb7u1

epoll_ctl failed on fd 51, id 0/0x7f314000e250, op 1 with File exists

Reviewing kbeventdb-detail-id-6921.html it looks like others are reporting the same error with a version of rsyslogd that should also have a fix if the kernel rsyslogd was compiled on was a newer version of the kernel being used on. I am not sure if the kernel we are using is an older one than the one the package was compiled on, but either way the KB article implies this should no longer be a problem with the version of rsyslogd that we are using. The "with File exists" in this error message makes us think the issue in the KB article for unexpected codes was fixed in the versions stated, but although the failure code is now expected and exposed properly on a failure, the cause of the failure itself isn't resolved.

This has happened twice in the past month. The issue is resolved by restarting rsyslogd on the server experiencing it and we're throttling the messages out of our centralized logging, but while the problem exists the centralized logging queue is flooded with these errors before they're dropped, so we would ideally like to get to the bottom of it.
redstonemercury
New
 
Posts: 3
Joined: Tue Apr 21, 2015 4:16 pm

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Re: rsyslogd-2163 epoll_ctl failed; with File exists

Postby dlang » Tue Apr 21, 2015 5:38 pm

Rsyslog 5.8.11 is _very_ old and has been unsupported for several years. The current version is v8.9.0, please upgrade and see if the problem still happens.

If this is a problem that you are having with a version that your distro supports, but is no longer supported by the rsyslog community, you will have to contact them, but I believe that Debian 4 is also long past it's support date.

If you can duplicate this problem with current versions, we do want to track it down.
dlang
Frequent Poster
 
Posts: 1001
Joined: Mon Sep 15, 2008 7:44 am

Re: rsyslogd-2163 epoll_ctl failed; with File exists

Postby redstonemercury » Tue Apr 21, 2015 6:09 pm

Sorry for the confusion, that was just the kernel version. We are using Debian 7.8 (wheezy). Reading the other postings from August of 2014 it looks like many people are still using 5.8.x for Debian. 5.8.11 is the latest offered by the debian wheezy repo here: http://security.debian.org/dists/wheezy ... ary-amd64/

Is this some version mismatch between the Debian rsyslogd versions and other distributions so 5.8.x is actually up to date? Or was that the version when rsyslogd moved to it's own repo and we need to get 8.x directly from the Adiscon repository instead of relying on Debian's repos?
redstonemercury
New
 
Posts: 3
Joined: Tue Apr 21, 2015 4:16 pm

Re: rsyslogd-2163 epoll_ctl failed; with File exists

Postby dlang » Tue Apr 21, 2015 6:24 pm

https://packages.debian.org/search?suit ... ds=rsyslog

wheezy-backports includes v7.6
Jesse has v8.4

7.6 is still somewhat old, but FAR better than v5.x

One problem with the Debian 'stable' version, and the "Enterprise" or "LTS" releases by other distros is that they freeze the software versions as of the time of the release

Wheezy was released May 4 2013, rsyslog 5.8.11 was released a year earlier on May 2 2012 (at which point v6.2.0 was already out)

The Debian Community says that they will provide support for everything included in wheezy until a year after Jesse is released, but they don't ask the upstreams if they are willing to support such old versions :-)

For rsyslog, we will answer what we can on old versions, but in this case you are hitting an odd bug that was apparently never tracked down three years ago. There's no value to the rsyslog community to go back and debug this in code that's been revised as drastically as the rsyslog codebase has been in the last three years and three major releases.

Adiscon does offer paid support if you really need the problem tracked down in that old a version, but for the Rsyslog community, please upgrade to at least the backported version, if not the adiscon repo versions. If you upgrade to the Adiscon repo versions, it's much easier to support you (and you get the benefits of all the latest features and performance improvements)

There are HUGE performance and feature changes between 5.8 and 8.9
dlang
Frequent Poster
 
Posts: 1001
Joined: Mon Sep 15, 2008 7:44 am

Re: rsyslogd-2163 epoll_ctl failed; with File exists

Postby redstonemercury » Tue Apr 21, 2015 7:31 pm

Thank you very much for the detailed explanation! This makes a lot of sense.

I will try upgrading rsyslog (or may just wait for Jessie) and debug a little more then update the thread with further details if it happens again, which I suspect based on your comments it will not :)
redstonemercury
New
 
Posts: 3
Joined: Tue Apr 21, 2015 4:16 pm

Google Ads



Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 0 guests

cron