Too many CIFS sessions

mproxk

Active Member
Jun 2, 2019
21
2
43
41
I use CIFS/Windows Share to save my snapshots/backups and it works fine. It is not a Windows machine but LXC with Samba server + another LXC with Samba Active Directory.

Looking in the logs I see this, looks like too many login/logouts?

Code:
Nov 10 16:45:42 smbmachine systemd-logind[159]: New session c136641 of user proxuser.
Nov 10 16:45:42 smbmachine smbd_audit: pam_unix(samba:session): session closed for user MYDOMAIN\proxuser
Nov 10 16:45:42 smbmachine sshd[371550]: Connection closed by 192.168.1.111 port 34320 [preauth]
Nov 10 16:45:42 smbmachine systemd-logind[159]: Session c136641 logged out. Waiting for processes to exit.
Nov 10 16:45:42 smbmachine systemd-logind[159]: Removed session c136641.
Nov 10 16:45:43 smbmachine smbd: pam_unix(samba:session): session opened for user MYDOMAIN\proxuser by (uid=0)
Nov 10 16:45:43 smbmachine systemd-logind[159]: New session c136642 of user proxuser.
Nov 10 16:45:43 smbmachine smbd_audit: pam_unix(samba:session): session closed for user MYDOMAIN\proxuser
Nov 10 16:45:44 smbmachine systemd-logind[159]: Session c136642 logged out. Waiting for processes to exit.
Nov 10 16:45:44 smbmachine systemd-logind[159]: Removed session c136642.
Nov 10 16:45:44 smbmachine smbd: pam_unix(samba:session): session opened for user MYDOMAIN\proxuser by (uid=0)
Nov 10 16:45:44 smbmachine systemd-logind[159]: New session c136643 of user proxuser.
Nov 10 16:45:44 smbmachine smbd_audit: pam_unix(samba:session): session closed for user MYDOMAIN\proxuser
Nov 10 16:45:44 smbmachine systemd-logind[159]: Session c136643 logged out. Waiting for processes to exit.
Nov 10 16:45:44 smbmachine systemd-logind[159]: Removed session c136643.
Nov 10 16:45:47 smbmachine smbd: pam_unix(samba:session): session closed for user nobody
Nov 10 16:45:48 smbmachine smbd: pam_unix(samba:session): session opened for user MYDOMAIN\proxuser by (uid=0)
Nov 10 16:45:48 smbmachine systemd-logind[159]: New session c136644 of user proxuser.
Nov 10 16:45:48 smbmachine smbd_audit: pam_unix(samba:session): session closed for user MYDOMAIN\proxuser
Nov 10 16:45:48 smbmachine systemd-logind[159]: Session c136644 logged out. Waiting for processes to exit.
Nov 10 16:45:48 smbmachine systemd-logind[159]: Removed session c136644.
Nov 10 16:45:52 smbmachine smbd: pam_unix(samba:session): session opened for user MYDOMAIN\proxuser by (uid=0)
Nov 10 16:45:52 smbmachine systemd-logind[159]: New session c136645 of user proxuser.
Nov 10 16:45:52 smbmachine smbd_audit: pam_unix(samba:session): session closed for user MYDOMAIN\proxuser
Nov 10 16:45:52 smbmachine systemd-logind[159]: Session c136645 logged out. Waiting for processes to exit.
Nov 10 16:45:52 smbmachine systemd-logind[159]: Removed session c136645.
Nov 10 16:45:53 smbmachine smbd: pam_unix(samba:session): session opened for user MYDOMAIN\proxuser by (uid=0)
Nov 10 16:45:53 smbmachine systemd-logind[159]: New session c136646 of user proxuser.
Nov 10 16:45:53 smbmachine smbd_audit: pam_unix(samba:session): session closed for user MYDOMAIN\proxuser
Nov 10 16:45:53 smbmachine systemd-logind[159]: Session c136646 logged out. Waiting for processes to exit.
Nov 10 16:45:53 smbmachine systemd-logind[159]: Removed session c136646.
Nov 10 16:45:54 smbmachine smbd: pam_unix(samba:session): session opened for user MYDOMAIN\proxuser by (uid=0)
Nov 10 16:45:54 smbmachine systemd-logind[159]: New session c136647 of user proxuser.
Nov 10 16:45:54 smbmachine smbd_audit: pam_unix(samba:session): session closed for user MYDOMAIN\proxuser
Nov 10 16:45:54 smbmachine systemd-logind[159]: Session c136647 logged out. Waiting for processes to exit.
Nov 10 16:45:54 smbmachine systemd-logind[159]: Removed session c136647.
Nov 10 16:45:59 smbmachine smbd: pam_unix(samba:session): session opened for user MYDOMAIN\proxuser by (uid=0)
Nov 10 16:45:59 smbmachine systemd-logind[159]: New session c136648 of user proxuser.
Nov 10 16:45:59 smbmachine smbd_audit: pam_unix(samba:session): session closed for user MYDOMAIN\proxuser
Nov 10 16:45:59 smbmachine systemd-logind[159]: Session c136648 logged out. Waiting for processes to exit.
Nov 10 16:45:59 smbmachine systemd-logind[159]: Removed session c136648.
Nov 10 16:46:02 smbmachine smbd: pam_unix(samba:session): session opened for user MYDOMAIN\proxuser by (uid=0)
Nov 10 16:46:02 smbmachine systemd-logind[159]: New session c136649 of user proxuser.
Nov 10 16:46:02 smbmachine smbd_audit: pam_unix(samba:session): session closed for user MYDOMAIN\proxuser
Nov 10 16:46:02 smbmachine systemd-logind[159]: Session c136649 logged out. Waiting for processes to exit.
Nov 10 16:46:02 smbmachine systemd-logind[159]: Removed session c136649.
Nov 10 16:46:03 smbmachine smbd: pam_unix(samba:session): session opened for user MYDOMAIN\proxuser by (uid=0)
Nov 10 16:46:03 smbmachine systemd-logind[159]: New session c136650 of user proxuser.
Nov 10 16:46:03 smbmachine smbd_audit: pam_unix(samba:session): session closed for user MYDOMAIN\proxuser
Nov 10 16:46:04 smbmachine systemd-logind[159]: Session c136650 logged out. Waiting for processes to exit.
Nov 10 16:46:04 smbmachine systemd-logind[159]: Removed session c136650.
Nov 10 16:46:04 smbmachine smbd: pam_unix(samba:session): session opened for user MYDOMAIN\proxuser by (uid=0)
Nov 10 16:46:04 smbmachine systemd-logind[159]: New session c136651 of user proxuser.
Nov 10 16:46:04 smbmachine smbd_audit: pam_unix(samba:session): session closed for user MYDOMAIN\proxuser
Nov 10 16:46:04 smbmachine systemd-logind[159]: Session c136651 logged out. Waiting for processes to exit.
Nov 10 16:46:04 smbmachine systemd-logind[159]: Removed session c136651.

I do not see a problem with this but maybe there is a space for optimization on proxmox side?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!