Google Summer of Code 2013 - syslog-ng: MySQL destination driver
Hi everyone, I am Gyula Petrovics, one of the students who got the opportunity to help in the development of the syslog-ng. My goal is to redesign the current libdbi based solution to store logs in MySQL database. I made a blog here <http://petrovicsgyula.blogspot.com>, please visit this blog if you are interested in the current progress and the details of the project. Thanks for reading my e-mail. Best regards, Gyula
Just thought I would throw this into the pile. I just had OSE 3.4.1 lock up - strace shows root 17708 17707 12 Jun03 ? 21:32:39 /usr/local/sbin/syslog-ng --cfgfile=/usr/local/etc/syslog-ng/syslog-ng.server.conf --persist-file=/var/local/syslog-ng.server.persist --pidfile=/var/run/syslog-ng.server.pid --control=/var/local/syslog-ng.server.ctl % sudo strace 17708 strace: 17708: command not found % sudo strace -p 17708 Process 17708 attached - interrupt to quit futex(0x7fe338054594, FUTEX_WAIT_PRIVATE, 51979, NULL That's it.
Evan Rempel <erempel@uvic.ca> writes:
Just thought I would throw this into the pile.
I just had OSE 3.4.1 lock up - strace shows
root 17708 17707 12 Jun03 ? 21:32:39 /usr/local/sbin/syslog-ng --cfgfile=/usr/local/etc/syslog-ng/syslog-ng.server.conf --persist-file=/var/local/syslog-ng.server.persist --pidfile=/var/run/syslog-ng.server.pid --control=/var/local/syslog-ng.server.ctl % sudo strace 17708 strace: 17708: command not found % sudo strace -p 17708 Process 17708 attached - interrupt to quit futex(0x7fe338054594, FUTEX_WAIT_PRIVATE, 51979, NULL
Are you using suppress() in your config? If so, this is suspiciously similar to the bug we corrected in 3.4.2, with the following patch: https://github.com/balabit/syslog-ng-3.4/commit/8051f1436e6415da729361875b8b... -- |8]
No. not using that setting. I need to set aside some tine to get some core dumps of the segmentation faults I get in 3.4.2, so I'm not too concerned with this report. I just wanted you to have it in case it was helpful. -- Evan Rempel -------- Original message -------- From: Gergely Nagy <algernon@balabit.hu> Date: To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Subject: Re: [syslog-ng] complete lockup of syslog-ng 3.4.1 Evan Rempel <erempel@uvic.ca> writes:
Just thought I would throw this into the pile.
I just had OSE 3.4.1 lock up - strace shows
root 17708 17707 12 Jun03 ? 21:32:39 /usr/local/sbin/syslog-ng --cfgfile=/usr/local/etc/syslog-ng/syslog-ng.server.conf --persist-file=/var/local/syslog-ng.server.persist --pidfile=/var/run/syslog-ng.server.pid --control=/var/local/syslog-ng.server.ctl % sudo strace 17708 strace: 17708: command not found % sudo strace -p 17708 Process 17708 attached - interrupt to quit futex(0x7fe338054594, FUTEX_WAIT_PRIVATE, 51979, NULL
Are you using suppress() in your config? If so, this is suspiciously similar to the bug we corrected in 3.4.2, with the following patch: https://github.com/balabit/syslog-ng-3.4/commit/8051f1436e6415da729361875b8b... -- |8] ______________________________________________________________________________ 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
Evan Rempel <erempel@uvic.ca> writes:
No. not using that setting.
I need to set aside some tine to get some core dumps of the segmentation faults I get in 3.4.2, so I'm not too concerned with this report. I just wanted you to have it in case it was helpful.
Hrm, interesting. Can you also do a core dump & backtrace of the lockup in 3.4.1 too, if it is not too hard, please? That'd help me tremendously to figure out what part of syslog-ng may be misbehaving. Thanks in advance! -- |8]
Do you happen to have suppress enabled? Or mark-mode changed from the default? There's a fix in 3.4.2 for that. On Jun 10, 2013 9:31 PM, "Evan Rempel" <erempel@uvic.ca> wrote:
Just thought I would throw this into the pile.
I just had OSE 3.4.1 lock up - strace shows
root 17708 17707 12 Jun03 ? 21:32:39 /usr/local/sbin/syslog-ng --cfgfile=/usr/local/etc/syslog-ng/syslog-ng.server.conf --persist-file=/var/local/syslog-ng.server.persist --pidfile=/var/run/syslog-ng.server.pid --control=/var/local/syslog-ng.server.ctl % sudo strace 17708 strace: 17708: command not found % sudo strace -p 17708 Process 17708 attached - interrupt to quit futex(0x7fe338054594, FUTEX_WAIT_PRIVATE, 51979, NULL
That's it.
______________________________________________________________________________ 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
Hi, Nice to see you around, and hope to see the results as they are ready. :-) On Jun 9, 2013 11:52 PM, "Gyula Petrovics" <gyulusa@gmail.com> wrote:
Hi everyone,
I am Gyula Petrovics, one of the students who got the opportunity to help in the development of the syslog-ng. My goal is to redesign the current libdbi based solution to store logs in MySQL database. I made a blog here <http://petrovicsgyula.blogspot.com>, please visit this blog if you are interested in the current progress and the details of the project. Thanks for reading my e-mail.
Best regards, Gyula
______________________________________________________________________________ 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
participants (4)
-
Balazs Scheidler
-
Evan Rempel
-
Gergely Nagy
-
Gyula Petrovics