on 11-19-2007 10:42 AM
Hello All,
On HP UX system, we are getting <b>Operating system call recv failed (error no. 232 )</b> error in SM21 log. ( process: gateway)
in dev_rd log file, following logs appeared.
***LOG Q0I=> NiIRead: recv (232: Connection reset by peer) [nixxi.cpp 4247]
ERROR => NiIRead: SiRecv failed for hdl 7 / sock 55
(SI_ECONN_BROKEN/232; I4; ST; 10.65.26.61:3310) [nixxi.cpp 4247]
From this log it is not clear which peer reset this connection?
Can somebody give a hint to reach the problem area?Thanks.
Regards,
Tushar
# grep 232 /usr/include/sys/errno.h
# define ECONNRESET 232 /* Connection reset by peer */
So the error 232 means ECONNRESET on HP-UX.
man recv
[...]
The recv(), recvfrom(), and recvmsg() system calls are used to receive
messages from a socket.
[...]
If the O_NONBLOCK flag is set using fcntl() (defined in <sys/fcntl.h>
and explained in fcntl(2) and fcntl(5)), POSIX-style nonblocking I/O
is enabled. In this case, the recv() request completes in one of six
ways:
[...]
+ If the remote side of a connection-based socket has reset the
connection, recv() returns -1 and sets errno to [ECONNRESET].
[...]
So basically this means, that the remote end of the socket sent a reset to the server.
--
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.