[sr-dev] kamailio gets frozen when rsyslog-mysql cannot send the SQL query

Iñaki Baz Castillo ibc at aliax.net
Thu Jul 29 17:32:30 CEST 2010


2010/7/29 Henning Westerholt <henning.westerholt at 1und1.de>:
> Hi Iñaki,
>
> in fact kamailio have already such a solution since 1.5.0:
>
> - non-blocking logging
>  * support for non-blocking log writes to prevent blocking of the server in
>    certain error situations
>  * can be enabled by setting the SYSLOG_ASYNC define in the Makefile.defs,
>    the default is the old implementation
>
> We implemented it sometimes in the past because of a somewhat similar issue.
> There is maybe still one bug left (need to dig for the report..), but in
> general it should work fine. I'm not sure if we ported this to sr, but should
> be not that hard.

Ops, I didn't know it!
Do you use it in production?

PS: The problem for me is that changes into Makefile.defs are not
enabled when doing "make deb" :(

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list