[RTPproxy Devel] [sr-dev] CVS:commitlog: rtpproxy main.c rtpp_defines.h rtpp_log.c rtpp_syslog_async.c rtpp_syslog_async.h

Peter Lemenkov lemenkov at gmail.com
Tue Oct 6 01:14:00 PDT 2009


Hello, All!

2009/10/6 Maxim Sobolev <sobomax at sippysoft.com>:

>  Fix serious issue wich can happen with default loging method (syslog)
>  at the default log level (debug). I'm unsure if it affects all Linux systems
>  or not, but at least on one CentOS release 5.3 the vsyslog(3) call takes
>  ridiculously large amount of time to complete. Few of such calls easily
>  take 1-2 seconds. Since the RTPproxy is still single-threaded, this means
>  that traffic halts for that duration, which is obviously bad.

Default syslog facility (sysklogd) in RHEL/CentOS is broken, indeed.
We just switched to syslog-ng (from EPEL).

Actually, I don't think that it should be fixed that way - I strongly
advise everyone to change syslog-daemon instead.

-- 
With best regards, Peter Lemenkov.



More information about the Devel mailing list