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....
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.


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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

751 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