Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-02-17
1
Medium Priority
?
3,320 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 1000 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 Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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

610 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