syslog-ng spawns worker threads as needed and not immediately.

On May 21, 2015 9:08 PM, "nagesh mallappa" <mallappanagesh@gmail.com> wrote:
Hi All,

I have added this line in my syslog-ng.conf file,

options {threaded(yes) ; };

I have 4 core system ,

root@nageshm-HVM-domU:/etc/syslog-ng# lscpu
Architecture:          i686
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4

On Enabling mutithreading also, I do not the main syslog-ng thread spawning multiple threads,

This is ps output,

root@nageshm-HVM-domU:~# ps -elf | grep syslog-ng
1 S root     24871     1  0  80   0 -  1091 wait   08:22 ?        00:00:00 supervising syslog-ng                        
5 S root     24872 24871  0  80   0 -  4156 ep_pol 08:22 ?        00:00:00 /usr/sbin/syslog-ng -p /var/run/syslog-ng.pid
0 S root     24882 24255  0  80   0 -  1170 pipe_w 08:22 pts/13   00:00:00 grep --color=auto syslog-ng

As we can only 2 processes are running, but I expect four threads to run, since I have 4 core system.

Please Let me know, any configuration I am missing.

Hoping for urgent help !!.

Thanks,
Nagesh

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq