[sr-dev] kamailio gets frozen when rsyslog-mysql cannot send the SQL query
Iñaki Baz Castillo
ibc at aliax.net
Wed Jul 28 17:44:06 CEST 2010
2010/7/28 Olle E. Johansson <oej at edvina.net>:
> Syslog is defined in http://tools.ietf.org/html/rfc5424, but I can't find
> anything there about this situation. It's a simplex protocol, so the implementation
> should propably handle this situation
Note that we don't use the "syslog remote protocol" as defined in RFC
5424. Kamailio logs to the local rsyslog server and rsyslog logs to a
local file(s) and also performs a SQL query to store the log in a
MySQL server.
> If it does, we need to figure out a way so that Kamailio doesn't lock up
> if this happens, not logging in the same process or thread or something...
Being a multiprocess blocking design it would be a bit difficult such
solution. Perhaps the "ping syslog" mechanism I suggested in my
initial mail :)
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the sr-dev
mailing list