• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3383
  • Last Modified:

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

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
aixtutorial
Asked:
aixtutorial
1 Solution
 
woolmilkporcCommented:
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now