[syslog-ng] syslog-ng with sql() command, cpu to 100%

Sandor Geller Sandor.Geller at morganstanley.com
Wed Oct 7 16:15:25 CEST 2009


Hi,

On Wed, Oct 7, 2009 at 3:22 PM, Garry De Toffoli <dtgarry at hotmail.com> wrote:
>
> I have tried to use strace, and this is what is reported:
>
> 15:16:09.221845 execve("/opt/syslog-ng/sbin/syslog-ng",
> ["/opt/syslog-ng/sbin/syslog-ng", "-f",
> "/opt/syslog-ng/etc/syslog-ng.conf"], [/* 16 vars */]) = 0
> 15:16:09.232664 brk(0)                  = 0x83e2000
> 15:16:09.232971 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file
> or directory)
> 15:16:09.233274 mmap2(NULL, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb801d000
> 15:16:09.233520 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file
> or directory)
> 15:16:09.233717 open("/opt/syslog-ng/lib/tls/i686/sse2/cmov/libc.so.6",
> O_RDONLY) = -1 ENOENT (No such file or directory)
> 15:16:09.236940 stat64("/opt/syslog-ng/lib/tls/i686/sse2/cmov", 0xbf83a9e0)
> = -1 ENOENT (No such file or directory)
> 15:16:09.237178 open("/opt/syslog-ng/lib/tls/i686/sse2/libc.so.6", O_RDONLY)
> = -1 ENOENT (No such file or directory
>
>
> and it is looping with these error messages:
> 15:16:09.237751 stat64("/opt/syslog-ng/lib/tls/i686/cmov", 0xbf83a9e0) = -1
> ENOENT (No such file or directory)
> 15:16:09.237930 open("/opt/syslog-ng/lib/tls/i686/libc.so.6", O_RDONLY) = -1
> ENOENT (No such file or directory)
> 15:16:09.238125 stat64("/opt/syslog-ng/lib/tls/i686", 0xbf83a9e0) = -1
> ENOENT (No such file or directory)
> 15:16:09.238296 open("/opt/syslog-ng/lib/tls/sse2/cmov/libc.so.6", O_RDONLY)
> = -1 ENOENT (No such file or directory)
> 15:16:09.238488 stat64("/opt/syslog-ng/lib/tls/sse2/cmov", 0xbf83a9e0) = -1
> ENOENT (No such file or directory)

These are coming from the linker, so syslog-ng hasn't even started
yet. You must have an *interesting* environment when the linker
doesn't find libc.so.6

Please show more context.

Regards,

Sandor


More information about the syslog-ng mailing list