Subject: Re: confusing me if i make "ps gx"
To: Caloro Maurizio <mauric@gmx.ch>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-users
Date: 02/02/2004 08:58:23
On Mon, 2 Feb 2004, Caloro Maurizio wrote:

> on my little great NetBSD Machine i have successfully installed
> my CUPS v1.1.20 and Samba Server 3.0.1 and it working realy god
> yeyeyes it makes a lot of fun :-) ......
>
> but if i make a "ps gx" i see that the service "smbd"
> its started tree times, i dont understand why its starting 3 times ??
> if i kill two of this "PID=B4s" smbd need to restarting completle
>
> or its this normal !?, please can any one updating my brain ??

The original daemon forks copies of itself to do the actual servicing
of network requests as they come in, leaving the mother process
maximally free to delegate new requests promptly. It's a fairly common
thing for network daemons to do. "nfsd" does it, too.

Frederick