cancel
Showing results for 
Search instead for 
Did you mean: 

Syslog Erros !!

kpatel786
Frequent Advisor

Syslog Erros !!

I had a user server connectivity issue being raised on one of my HP box some time back.
After checking the logs I could see some erros as below:

Oct 6 08:34:06 socsrv1 smbd[23184]: [2008/10/06 08:34:06, 0] lib/util_sock.c:get_peer_addr(1000)
Oct 6 08:34:06 socsrv1 smbd[23184]: getpeername failed. Error was Invalid argument
Oct 6 08:34:06 socsrv1 smbd[23184]: [2008/10/06 08:34:06, 0] lib/util_sock.c:write_socket_data(430)
Oct 6 08:34:06 socsrv1 smbd[23184]: write_socket_data: write failure. Error = Broken pipe
Oct 6 08:34:06 socsrv1 smbd[23184]: [2008/10/06 08:34:06, 0] lib/util_sock.c:write_socket(455)
Oct 6 08:34:06 socsrv1 smbd[23184]: write_socket: Error writing 4 bytes to socket 5: ERRNO = Broken pipe
Oct 6 08:34:06 socsrv1 smbd[23184]: [2008/10/06 08:34:06, 0] lib/util_sock.c:send_smb(647)
Oct 6 08:34:06 socsrv1 smbd[23184]: Error writing 4 bytes to client. -1. (Broken pipe)
Oct 6 08:34:29 socsrv1 smbd[2023]: [2008/10/06 08:34:29, 0] smbd/server.c:open_sockets_smbd(383)
Oct 6 08:34:29 socsrv1 smbd[2023]: open_sockets_smbd: accept: No buffer space available
Oct 6 08:34:54 socsrv1 sshd[23141]: Accepted password for root from 10.160.41.201 port 1324 ssh2
Oct 6 08:34:29 socsrv1 smbd[2023]: [2008/10/06 08:34:29, 0] smbd/server.c:open_sockets_smbd(383)
Oct 6 08:34:29 socsrv1 smbd[2023]: open_sockets_smbd: accept: No buffer space available
Oct 6 08:37:52 socsrv1 smbd[24701]: [2008/10/06 08:37:52, 0] lib/util_sock.c:read_socket_data(384)
Oct 6 08:37:52 socsrv1 smbd[24701]: read_socket_data: recv failure for 4. Error = Connection reset by peer
Oct 6 08:46:13 socsrv1 smbd[26835]: [2008/10/06 08:46:13, 0] lib/util_sock.c:read_socket_data(384)
Oct 6 08:46:13 socsrv1 smbd[26835]: read_socket_data: recv failure for 4. Error = Connection reset by peer
Oct 6 08:49:28 socsrv1 smbd[2023]: [2008/10/06 08:49:28, 0] smbd/server.c:open_sockets_smbd(383)
Oct 6 08:49:28 socsrv1 smbd[2023]: open_sockets_smbd: accept: No buffer space available
Oct 6 08:49:28 socsrv1 smbd[2023]: [2008/10/06 08:49:28, 0] smbd/server.c:open_sockets_smbd(383)
Oct 6 08:49:28 socsrv1 smbd[2023]: open_sockets_smbd: accept: No buffer space available
Oct 6 08:53:48 socsrv1 smbd[2023]: [2008/10/06 08:53:48, 0] smbd/server.c:open_sockets_smbd(383)
Oct 6 08:53:48 socsrv1 smbd[2023]: open_sockets_smbd: accept: No buffer space available
Oct 6 08:53:48 socsrv1 smbd[2023]: [2008/10/06 08:53:48, 0] smbd/server.c:open_sockets_smbd(383)
Oct 6 08:53:48 socsrv1 smbd[2023]: open_sockets_smbd: accept: No buffer space available

I am not really sure what is this about.
I have checked the connectiviy, CPU usage and everything seems to be normal.

Kindly provide your inputs if this is a serious issue.
7 REPLIES
Venkatesh BL
Honored Contributor

Re: Syslog Erros !!

> Oct 6 08:34:06 socsrv1 smbd[23184]: getpeername failed. Error was Invalid argument

This clearly tells that you've passed an invalid arg to this function.

Generally, is your code checking for error returns from C funtions properly? If not, that might lead to subsequent calls being made erroneously.
David de Beer
Valued Contributor
Jeeshan
Honored Contributor

Re: Syslog Erros !!

post the sar -v 5 5 output.
a warrior never quits
kpatel786
Frequent Advisor

Re: Syslog Erros !!

Below is the sar output:

HP-UX socsrv1 B.11.23 U ia64 10/06/08

09:48:03 text-sz ov proc-sz ov inod-sz ov file-sz ov
09:48:08 N/A N/A 365/4200 0 1378/214560 0 1703/65536 0
09:48:13 N/A N/A 364/4200 0 1377/214560 0 1700/65536 0
09:48:18 N/A N/A 364/4200 0 1377/214560 0 1699/65536 0
09:48:23 N/A N/A 363/4200 0 1376/214560 0 1696/65536 0
09:48:28 N/A N/A 363/4200 0 1376/214560 0 1700/65536 0

SKR_1
Trusted Contributor

Re: Syslog Erros !!

And

sar -b 5 5

Thanks

SKR
kpatel786
Frequent Advisor

Re: Syslog Erros !!

10:10:57 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s
10:11:02 159 693 77 10 82 88 0 0
10:11:07 145 846 83 6 74 91 0 0
10:11:12 130 289 55 7 25 73 0 0
10:11:17 131 1713 92 10 42 76 0 0
10:11:22 140 1259 89 7 70 89 0 0

Average 141 960 85 8 59 86 0 0
kpatel786
Frequent Advisor

Re: Syslog Erros !!

THanks.