Solved

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

Posted on 2011-02-17
1
3,133 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
[X]
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
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

729 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