Information: Forum is in read-only mode
For details and other support options see https://www.adiscon.com/news/support-forum-set-to-read-only-mode/

imudp.c: epoll_create1() could not create fd

Everything related with getting rsyslog up and running (but not beyond that point ;))

Moderator: alorbach

Google Ads


imudp.c: epoll_create1() could not create fd

Postby hohi888 » Tue Nov 03, 2015 3:01 pm

In our system one central card controls several line cards. At all cards Linux-OS is used. Currently sysklogd with option “-r” is running at central card (Linux 3.6.11) to collect UDP-syslog-messages from the line cards. The intention is to replace sysklogd by rsyslogd at the central card. I have successfully installed rsyslogd 8.13.0 there. But configuration of imudp.c fails during startup with the following output. What could be the reason?

Line 568: 5759.986224341:imudp.c : thread created, tid 2346, name 'imudp(w0)'
Line 568: 5759.986224341:imudp.c : thread created, tid 2346, name 'imudp(w0)'
Line 569: 5759.986424367:imudp.c : imudp uses epoll_create1()
Line 569: 5759.986424367:imudp.c : imudp uses epoll_create1()
Line 570: 5759.986481130:imudp.c : imudp uses epoll_create()
Line 570: 5759.986481130:imudp.c : imudp uses epoll_create()
Line 571: 5759.986497603:imudp.c : epoll_create1() could not create fd
Line 572: 5759.986523906:imudp.c : thrdStarter: usrThrdMain imudp - 0x318d3470 returned with iRet 0, exiting now.
Line 572: 5759.986523906:imudp.c : thrdStarter: usrThrdMain imudp - 0x318d3470 returned with iRet 0, exiting now.

Line 606: 5759.991216031:imudp.c : destructor for debug call stack 0x32100468 called


- rsyslog.conf:

#DO_NOT_EDIT
*.info /tmp/syslog.1
module(load="imuxsock")
module(load="imklog")
module(load="imudp")
input(type="imudp" port="514")
# zebos-start
# zebos-stop

Attachment:
- debug_startup_rsyslogd.txt
Attachments
debug_startup_rsyslogd.txt
(47.01 KiB) Downloaded 108 times
hohi888
New
 
Posts: 5
Joined: Tue Nov 03, 2015 1:51 pm

Urgent Question?

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

Re: imudp.c: epoll_create1() could not create fd

Postby dlang » Tue Nov 03, 2015 7:35 pm

from the error you are posting, epoll_create1() is failing. Is that function available on your system (an embedded system with a non-standard or very old libc could be missing it)

the other possible option is if you have the ulimit or kernel limits for filehandles set so low that rsyslog is running into them (which doesn't seem reasonable with such a small config, which is why I'm suggesting the libc problem)
dlang
Frequent Poster
 
Posts: 1002
Joined: Mon Sep 15, 2008 7:44 am

Google Ads



Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron