innd: SERVER cant sendto CCreader bytes 6151 Message too long

Pavel V. Knyazev pasha at surnet.ru
Tue Jan 18 13:34:22 UTC 2005


>>     * ctlinnd should now successfully handle messages from INN up to the
>>       maximum allowable packet size in the protocol, fixing problems 
>> sites
>>       with many active peers were having with innstat output.

> What platform is this?  That sounds like a system error; INN doesn't
> produce the "Message too long" error internally, but rather is just
> reporting something that it's getting from the operating system.
>
> Is there an OS that limits Unix domain socket datagrams to less than 6K?

I'm not sure. It's FreeBSD-4.10. From my point of view, before sending a 
message to a socket, first we should set a necessary buffer size to see if 
it is allowable by an OS, and write something in the log files if we fail. 
Obviously, FreeBSD has the default maximum values for buffer sizes i don't 
know.

man errno says:
     40 EMSGSIZE Message too long.  A message sent on a socket was larger 
than
             the internal message buffer or some other network limit.

> -- 
> Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

--
Pavel V. Knyazev



More information about the inn-workers mailing list