| Previous | Next |
| ENOLINK | EADDRINUSE |
EMSGSIZE
EMSGSIZE is Solaris errno value 97. Solaris reports it when a message sent through a transport provider is larger than an internal message buffer or another network limit. The failure is about the size of this message relative to the transport's constraints.
Measure the message that failed
For message-oriented sockets, record the payload length passed to send(), sendto(), or sendmsg(), the socket type, protocol, and destination. Datagram transports preserve message boundaries, so an application cannot assume the kernel will split every oversized datagram into several application messages. Protocol and path limits can also differ between destinations.
Do not diagnose this result as generic memory pressure. ENOBUFS is the closer Solaris condition when the system lacks buffer space or a queue is full. With it, first reduce or segment the application message according to the protocol, or determine the actual transport limit. Repeatedly retrying the identical oversized message does not change its size.
References
Looking for a different code? Search another status or error code.