[syslog-ng] Syslog-ng keeps the processor at 100%

Cosmin Neagu cosmin.neagu at omnilogic.ro
Fri Jul 3 13:14:09 CEST 2009


Hello,
Does anyone has a clue why the processor is at 100 percent because of 
syslog-ng?

Tasks: 131 total,   3 running, 128 sleeping,   0 stopped,   0 zombie
Cpu(s): 14.0%us, 39.6%sy,  0.0%ni, 46.4%id,  0.0%wa,  0.0%hi,  0.0%si,  
0.0%st
Mem:   2060488k total,   385816k used,  1674672k free,    16132k buffers
Swap:  2931820k total,        0k used,  2931820k free,   205248k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  
COMMAND                                                                                         

 2522 root      20   0  3340 1032  616 R  *100*  0.1   6:43.19 
*syslog-ng*                                                                                       

 3622 cosmin    20   0 44928  19m  13m S    6  1.0   0:02.06 
gnome-panel                                                                                     

 3017 root      20   0  303m  33m  10m S    1  1.7   0:04.83 
Xorg                                                                                            

    1 root      20   0  1904  780  564 S    0  0.0   0:01.37 init       

I have added in the syslog-ng.conf the folowing:

/source s_internal {
internal();
};
source s_local {
file ("/proc/kmsg" log_prefix("kernel: "));
unix-stream ("/dev/log");
};

destination d_localfile { file ("/home/cosmin/syslog.log"); };
destination d_remote {udp ("192.168.53.248" port(514)); };
log { source(s_local);          destination(d_localfile); };
log { source(s_internal);       destination(d_localfile); };
log { source(s_local);          destination(d_remote);    };/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090703/6f0a5a85/attachment.htm 


More information about the syslog-ng mailing list