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

Posted on 2013-06-18
Last Modified: 2013-06-28
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 .
Question by:apunkabollywood
  • 3
  • 3

Accepted Solution

xeroxzerox earned 500 total points
ID: 39255989

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....


Author Comment

ID: 39256214
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

Assisted Solution

xeroxzerox earned 500 total points
ID: 39258302
i've already faced this issue in past...i'm sure it will be solve out your problem.....

Go ahead for do it....
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.


Author Comment

ID: 39263177
i dont know but doesnt effect that much

Assisted Solution

xeroxzerox earned 500 total points
ID: 39264939
What msg show when you run that cmd on terminal..

#ps -elfy | grep winbind

and  what smbcontrol output show
 try to implement patch....

Author Closing Comment

ID: 39285254
Thank you it works somehow

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS - HAProxy- KeepAlived 5 51
awk sed variable in file 3 71 default error log 1 39
Bash script - Exit out of choice loop 2 43
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question