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