https://bugzilla.balabit.com/show_bug.cgi?id=208 Anton <koldaevav@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.3.8 |3.3.7 --- Comment #16 from Anton <koldaevav@gmail.com> 2012-10-31 16:28:38 --- (In reply to comment #15)
(In reply to comment #14)
Unfortunately I'm seeing almost the same problem even with updated version(3.3.7). Looks like I'm not able to reproduce it this time on my test server but in production I see syslog-ng consumes all the memory again.
Mhhmm. I can reproduce it too, but I won't have time to investigate further for a few days. In the meanwhile, I'd suggest pulling out the internal() source into its own source, and add it to a logpath that does not go through filters. That should work around the issue until we can fix it properly.
I just did as you say: source s_local_internal { internal(); }; block root b_general_local(type(), flags()) { destination d_`type`_internal { file("/u/logs/syslog/`type`.all.log", owner(root), group(app), perm(0644)); }; log { source(s_`type`_internal); destination(d_`type`_internal); flags(`flags`); }; }; b_general_local(type(local)) nothing else logging to s_local_internal And I'm getting just the same problem with memory consumption. Strace: % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 68.74 54.859307 223916 245 epoll_wait 25.83 20.617957 20 1016964 333603 futex 2.19 1.748952 6 298470 mprotect 1.38 1.104910 1044 1058 fcntl 1.14 0.910307 4484 203 epoll_ctl 0.38 0.306601 581 528 18 setsockopt 0.24 0.193717 59 3304 write 0.05 0.037166 70 534 87 read 0.03 0.019979 377 53 close 0.01 0.009524 4 2170 writev 0.00 0.000822 37 22 fstat 0.00 0.000474 0 2170 lseek 0.00 0.000058 0 623 stat 0.00 0.000050 0 915 brk 0.00 0.000025 1 42 mmap 0.00 0.000000 0 22 open 0.00 0.000000 0 42 poll 0.00 0.000000 0 32 munmap 0.00 0.000000 0 21 ioctl 0.00 0.000000 0 2 madvise 0.00 0.000000 0 21 socket 0.00 0.000000 0 21 connect 0.00 0.000000 0 21 sendto 0.00 0.000000 0 89 recvfrom ------ ----------- ----------- --------- --------- ---------------- 100.00 79.809849 1327572 333708 total -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.