Solved

This is in AIX 5.3..how to stop/start samba gracefully

Posted on 2011-02-17
1
2,881 Views
Last Modified: 2012-08-13
This is in AIX 5.3..how to stop/start samba gracefully  and also as soon as I bring up samba after couple of hours when I do a topas..nmbd is the process which is using all the cpu and memory is there any way we can restrict samba processes not to exceed the limit of memory and cpu usage on the server..please provide all the steps involved

0
Comment
Question by:aixtutorial
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 250 total points
ID: 34924874
Hi,

do you start Samba manually?

Normally this is done via inetd, by the entries

netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd
netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd

nmbd is only needed for name resolution, e.g. to aid in populating the Windows "Neighborhood" display, or if you use your Samba server as a WINS server/proxy or if you want it to act as a local Master Browser.

Resource consumption of nmbd cannot easily be restricted, as far as I know, but if you don't need the mentioned functionality you can avoid using it at all.

To stop smbd/nmbd just kill them. Windows clients will try to reconnect at their next access attempt, which will succeed when smbd is up again.

wmp
0

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

920 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

16 Experts available now in Live!

Get 1:1 Help Now