[syslog-ng] Resource temporarily unavailable while reading from system.journal

Alexandre Santos alexandre.rosas.santos at gmail.com
Thu Aug 12 13:40:10 UTC 2021


Hi,

I am seeing the following strace log when running the syslog-ng 3.32 with
the configuration in the attachment:
root at myhost:/home/shared# sudo strace -f -yyy -s 256 -e trace=read -p 2539
strace: Process 2539 attached with 4 threads
[pid  2539] read(48<anon_inode:[timerfd]>, "\1\0\0\0\0\0\0\0", 8) = 8
[pid  2539] read(11<anon_inode:inotify>,
"\2\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0system.journal\0\0", 272) = 32
[pid  2539] read(11<anon_inode:inotify>, 0x7ffda019f930, 272) = -1 EAGAIN
(Resource temporarily unavailable)
[pid  2539] read(11<anon_inode:inotify>,
"\2\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0system.journal\0\0", 272) = 32
[pid  2539] read(11<anon_inode:inotify>, 0x7ffda019f930, 272) = -1 EAGAIN
(Resource temporarily unavailable)
[pid  2539] read(11<anon_inode:inotify>,
"\2\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0system.journal\0\0", 272) = 32
[pid  2539] read(11<anon_inode:inotify>, 0x7ffda019f930, 272) = -1 EAGAIN
(Resource temporarily unavailable)
[pid  2539] read(11<anon_inode:inotify>,
"\2\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0system.journal\0\0", 272) = 32
[pid  2539] read(11<anon_inode:inotify>, 0x7ffda019f930, 272) = -1 EAGAIN
(Resource temporarily unavailable)
[pid  2539] read(11<anon_inode:inotify>,
"\2\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0system.journal\0\0", 272) = 32
[pid  2539] read(11<anon_inode:inotify>, 0x7ffda019f930, 272) = -1 EAGAIN
(Resource temporarily unavailable)
[pid  2539] read(11<anon_inode:inotify>,
"\2\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0system.journal\0\0", 272) = 32
[pid  2539] read(11<anon_inode:inotify>, 0x7ffda019f930, 272) = -1 EAGAIN
(Resource temporarily unavailable)
[pid  2539] read(11<anon_inode:inotify>,
"\2\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0system.journal\0\0", 272) = 32
[pid  2539] read(11<anon_inode:inotify>, 0x7ffda019f930, 272) = -1 EAGAIN
(Resource temporarily unavailable)
[pid  2539] read(11<anon_inode:inotify>,
"\2\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0system.journal\0\0", 272) = 32
[pid  2539] read(11<anon_inode:inotify>, 0x7ffda019f930, 272) = -1 EAGAIN
(Resource temporarily unavailable)
[pid  2539] read(11<anon_inode:inotify>,
"\2\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0system.journal\0\0", 272) = 32
[pid  2539] read(11<anon_inode:inotify>, 0x7ffda019f930, 272) = -1 EAGAIN
(Resource temporarily unavailable)
^Cstrace: Process 2539 detached
strace: Process 11623 detached
strace: Process 20518 detached
strace: Process 22517 detached

This normal behaviour?

Thanks & Regards,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20210812/65b81ede/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog-ng.2021-08-12.conf
Type: application/octet-stream
Size: 4656 bytes
Desc: not available
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20210812/65b81ede/attachment.obj>


More information about the syslog-ng mailing list