james Flores wrote:> Hello all,
>
> I need help about smbiod, i have mounted samba server
> from linux client with command "mount -t smbfs -o username=root
> //10.10.x.x/folder /dest" and then the client ask about password, and
> it works, but when i copy files in the middle of the process suddenly
> it stoped, then i run command "top" i see "smbiod" use
verry high cpu
> usage(more than 90%).
>
> Is there anyone can help me, please..
>
> Thx.
>
> here is my log :
>
> Mar 20 11:15:32 showa16 smbd[3013]: [2009/03/20 11:15:32, 0]
lib/util_sock.c:get_peer_addr(1000)
> Mar 20 11:15:32 showa16 smbd[3013]: getpeername failed. Error was
Transport endpoint is not connected
> Mar 20 11:15:32 showa16 smbd[3013]: [2009/03/20 11:15:32, 0]
lib/util_sock.c:write_socket_data(430)
> Mar 20 11:15:32 showa16 smbd[3013]: write_socket_data: write failure.
Error > Connection reset by peer
> Mar 20 11:15:32 showa16 smbd[3013]: [2009/03/20 11:15:32, 0]
lib/util_sock.c:write_socket(455)
> Mar 20 11:15:32 showa16 smbd[3013]: write_socket: Error writing 4 bytes
to socket 5: ERRNO = Connection reset by peer
> Mar 20 11:15:32 showa16 smbd[3013]: [2009/03/20 11:15:32, 0]
lib/util_sock.c:send_smb(647)
> Mar 20 11:15:32 showa16 smbd[3013]: Error writing 4 bytes to client. -1.
(Connection reset by peer)
> Mar 20 11:15:42 showa16 kernel: smb_add_request: request [e9361ee0,
mid=32451] timed out!
> Mar 20 11:16:16 showa16 kernel: smb_add_request: request [e9361ee0,
mid=44881] timed out!
> Mar 20 11:16:50 showa16 kernel: smbiod_handle_request: smbiod got a request
... and we don't implement oplocks!
> Mar 20 11:17:20 showa16 kernel: smb_add_request: request [e9361ee0,
mid=1915] timed out!
> Mar 20 11:17:20 showa16 kernel: smbiod_handle_request: smbiod got a request
... and we don't implement
> oplocks!
> Mar 20 11:17:20 showa16 kernel: smb_get_length: Invalid NBT packet, code=31
> Mar 20 11:17:20 showa16 kernel: smb_add_request: request [e9361dc0,
mid=1916] timed out!
> Mar 20 11:17:50 showa16 kernel: smb_add_request: request [e9361ee0,
mid=1917] timed out!
> Mar 20 11:17:50 showa16 kernel: smb_lookup: find 060711/Brother's.JPG
failed, error=-5
> Mar 20 11:18:07 showa16 kernel: smb_proc_readdir_long: error=-2, breaking
> Mar 20 11:18:36 showa16 kernel: smb_get_length: Invalid NBT packet, code=33
> Mar 20 11:19:06 showa16 kernel: smb_add_request: request [e9361ee0,
mid=28823] timed out!
> Mar 20 11:19:39 showa16 kernel: smb_add_request: request [e9361ee0,
mid=29609] timed out!
>
>
>
>
>
Try setting up a share and then the following approach (but use your own
shares not mine):
sudo smbmount //CICERO/D /Mnnn-CICERO-D -o username=nnn,password=xxxxxxxx
Then manually move stuff that you are doing in and out of the SHARE
location and your problem should become evident.
Hope this works for you, thanks Ted