Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba collects sockets in /var/lib/samba/private/msg.sock
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
maxxim
n00b
n00b


Joined: 03 Feb 2015
Posts: 27

PostPosted: Mon Aug 29, 2022 2:01 pm    Post subject: Samba collects sockets in /var/lib/samba/private/msg.sock Reply with quote

I recently noticed that /var/lib/samba/private/msg.sock on my systems contains ~1600 sockets, dating back to the initial installation of the system.

That can't be right. Is this a configuration issue?

All I could find on the topic is this bug, which claims this was a known issue that has been fixed in Samba 4.10.13+. However, I am running Samba 4.15.7, so that doesn't make any sense.

Is there someone who could shed some light on this?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Mon Aug 29, 2022 4:40 pm    Post subject: Reply with quote

You are right.
You can safely delete them.
At least I did after renaming their directory and not noticing any problem.
I noticed in my case it creates 6 sockets @startup.
_________________
:)
Back to top
View user's profile Send private message
fonic
n00b
n00b


Joined: 20 Mar 2011
Posts: 10

PostPosted: Mon Aug 29, 2022 7:04 pm    Post subject: Reply with quote

alamahant wrote:
You can safely delete them.
I noticed in my case it creates 6 sockets @startup.


Well, that I already know.

What I'd like to know is why Samba won't clean up properly and keeps piling up those sockets. That seems odd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum