Solved

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

Posted on 2011-02-17
1
2,823 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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
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 how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 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

15 Experts available now in Live!

Get 1:1 Help Now