On 2017-08-12 07.58.01 +0200, Tony Boston wrote:
> Aug 12 07:49:03 srv01 sendsyslog: dropped 2 messages, error 55
> 
> 1. how can I figure out what is generating all those messages and fix it
> (thats what logs are for)

Good question. I did some digging and came up with this:

     [ENOBUFS]          The system was unable to allocate an internal
     buffer.  The operation may succeed when buffers become available.

That's from the sendsyslog(2) man page. If you look in sys/sys/errno.h
you can see the ENOBUFS is 55.

That specific message comes from sys/kern/subr_log.c [2]

Within there it's hard to guess, but sosend(9) might be the culprit[3].

Anyway, low memory?

[1] https://github.com/openbsd/src/blob/master/sys/sys/errno.h#L112
[2] https://github.com/openbsd/src/blob/master/sys/kern/subr_log.c#L388-L391
[3] https://github.com/openbsd/src/blob/master/sys/kern/uipc_socket.c#L384

Reply via email to