hastd: error messages in logs are truncated

Mikolaj Golub to.my.trociny at gmail.com
Sun Apr 11 13:30:24 UTC 2010


Hi,

I have noticed that hastd truncates error messages writing to syslog, like
below:

Apr 10 22:32:56 hastb hastd: [storage] (secondary) Unable to create control sockets be: Too many open files
Apr 11 13:24:38 hastb hastd: [storage] (primary) Unable to conn: Host is down.
Apr 11 13:24:43 hastb hastd: [storage] (primary) Unable to conn: Connection refused.
Apr 11 16:11:42 hastb hastd: [storage] (primary) Unable to : Socket is not connected.

This is due to the bug in pjdlogv_common(), see the attached patch.

-- 
Mikolaj Golub

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pjdlog.c.pjdlogv_common.patch
Type: text/x-diff
Size: 536 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100411/e6c431c8/pjdlog.c.pjdlogv_common.bin


More information about the freebsd-fs mailing list