Hello,
to get more information about the issue, I tried to increase the
logging. But I did not get more data. I can only see a succesful close
of a file before the error and a connection close afterwards.
--8<-----
[2025/05/14 16:27:15.578541, 2]
../../source3/smbd/close.c:830(close_normal_file)
REDACTED closed file REDACTED.pdf (numopen=29) NT_STATUS_OK
[2025/05/14 16:27:16.437235, 0]
../../source3/smbd/smb2_server.c:1190(smbXsrv_connection_get_rto_usecs)
smbXsrv_connection_get_rto_usecs: getsockopt(TCP_INFO) errno[9/Bad file
descriptor] -s NT_STATUS_INVALID_HANDLE
[2025/05/14 16:27:16.437330, 1]
../../source3/smbd/smb2_server.c:1736(smbd_server_disconnect_client_ex)
smbd_server_disconnect_client_ex: client[ipv4:REDACTED:49289] num_ok[1]
reason[NT_STATUS_INVALID_HANDLE] at ../../source3/smbd/smb2_break.c:491
[2025/05/14 16:27:16.439607, 2]
../../source3/smbd/smb2_service.c:933(close_cnum)
mac (ipv4:REDACTED:49289) closed connection to service REDACTED
--8<-----
How can I find the cause of this issue?
Thank you for any advice.
Best regards,
Moritz
Am Freitag den 25. April 2025 schrieb Moritz Kobel via samba:
> Hello,
>
> our Mac OS X clients have random disconnects from the server.
>
> The only thing I can see in log.smbd is:
>
> --8<-------
> [2025/04/24 12:01:55.159699, 0]
> ../../source3/smbd/smb2_server.c:1190(smbXsrv_connection_get_rto_usecs)
> smbXsrv_connection_get_rto_usecs: getsockopt(TCP_INFO) errno[9/Bad
> file descriptor] -s NT_STATUS_INVALID_HANDLE
> --8<-------
>
> Version: 4.17.12+dfsg-0+deb12u1
> Running on Debian 12.10, virtualized using Incus (LXC), with Kernel
6.1.0-29-amd64
>
> Samba is configured with user-level security. fruit:aapl is enabled.
>
>
> We have up to 20 users and expirience 0 - 8 disconnects (in total) a
> day.
>
>
> How can I find the cause of this issue?
>
> Tank you for any advice.
>
> Best regards,
>
> Moritz
>
> --
> <\ __@ __@
> \ __ _-\<, -\<,_
> http://www.tandemblog.ch 0<==`-(-)/---|/-(_)
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
--
<\ __@ __@
\ __ _-\<, -\<,_
http://www.tandemblog.ch 0<==`-(-)/---|/-(_)