[syslog-ng] [Bug 193] syslog-ng 3.3.6 spins at 100% on FreeBSD
    bugzilla at bugzilla.balabit.com 
    bugzilla at bugzilla.balabit.com
       
    Mon Sep  3 19:55:21 CEST 2012
    
    
  
https://bugzilla.balabit.com/show_bug.cgi?id=193
Cy Schubert <cy at FreeBSD.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cy at FreeBSD.org
--- Comment #5 from Cy Schubert <cy at FreeBSD.org>  2012-09-03 19:55:21 ---
Cy Schubert (cy at FreeBSD.org) here. I did try it with -d and -F (separately and together). It looped. I then performed the same under gdb and my results are as
follows:
^C
(gdb) bt
#0  0x342263bb in kevent () from /lib/libc.so.7
#1  0x33cb7d8f in iv_kqueue_poll (st=0x35857500, active=0x7fbfe944, 
    to=0x7fbfe93c) at iv_method_kqueue.c:150
#2  0x33cb77dd in iv_main () at iv_main.c:275
#3  0x33c9bfb2 in main_loop_run () at mainloop.c:735
#4  0x0804928a in main (argc=1, argv=0x7fbfea0c) at main.c:262
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x342263bb in kevent () from /lib/libc.so.7
(gdb) bt
#0  0x342263bb in kevent () from /lib/libc.so.7
#1  0x33cb7d8f in iv_kqueue_poll (st=0x35857500, active=0x7fbfe944, 
    to=0x7fbfe93c) at iv_method_kqueue.c:150
#2  0x33cb77dd in iv_main () at iv_main.c:275
#3  0x33c9bfb2 in main_loop_run () at mainloop.c:735
#4  0x0804928a in main (argc=1, argv=0x7fbfea0c) at main.c:262
(gdb) 
I haven't had a chance to look at the code yet but a spin-lock seems to make sense.
-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
    
    
More information about the syslog-ng
mailing list