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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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....
Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!


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

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.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

623 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