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....
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.


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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Xymon customize http timeout 2 64
nagios 4 php error after installation 6 73
How to learn Linux? 10 42
Help on running oracle SQL script in linux 3 27
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

914 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now