smb and winbind services eating all ram please help to tune it

Hi All,

I am using SAMBA server for sharing partiton and winbind service also but looks like samba and winbind service eat all ram approx 80% of ram - because if i reboot the service or echo 3> /proc/vm/swappiness values all ram become free.

Please help how to tune or resolve this issue like user time limit auto disconnect or some other stuff which will be useful .
Who is Participating?
xeroxzeroxConnect With a Mentor Commented:

that issue in system kernel parameters,

for solved out that issue follow that step
#vi /etc/sysctl.conf

Add the following lines to the /etc/sysctl.conf  file:

kernel.sem = 250 32000 100 128

restart service and system...and check again....

apunkabollywoodAuthor Commented:
are you sure this will resolve the issue ....and ram will be no more fully used ? please confirm as we need to have a proper reason before asking to reboot
xeroxzeroxConnect With a Mentor Commented:
i've already faced this issue in past...i'm sure it will be solve out your problem.....

Go ahead for do it....
Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

apunkabollywoodAuthor Commented:
i dont know but doesnt effect that much
xeroxzeroxConnect With a Mentor Commented:
What msg show when you run that cmd on terminal..

#ps -elfy | grep winbind

and  what smbcontrol output show
 try to implement patch....
apunkabollywoodAuthor Commented:
Thank you it works somehow
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.