NT Service Control Manager

Luke Kenneth Casson Leighton lkcl at samba.org
Mon Dec 20 04:43:38 GMT 1999

On Mon, 20 Dec 1999, John E. Malmberg wrote:

> Luke Kenneth Casson Leighton <lkcl#samba.org>
> >On Mon, 20 Dec 1999, John E. Malmberg wrote:
> >
> >> The platform I am using will not support a lot of short lived
> >> spawned processes.
> >
> >what do you mean, won't support.  this is at user-interface speed,
> >therefore are you talking about speed of fork()?
> Yes, actually.  I am running on OpenVMS, and it does not have a fork().


> It has a vfork()/exec() pair, that basically starts up the image again in a
> child process, but at the point of the vfork() the child will take the other
> branch.
> As you can see from that description, that can be a costly operation.  Just
> the action of a process create on OpenVMS is a relatively costly compaired
> to UNIX.

> If it is a process that I can launch from the TCP/IP dispatcher program, and
> then it sticks around for a while, that will not be too much of a problem.
> It is fastest though if I have a daemon up to respond already.

looks like you're going to need that planned single-process code, then.

More information about the samba-technical mailing list