Re: dns servers

From: Chris Wedgwood <chris@dont-contact.us>
Date: Mon, 23 Nov 1998 08:54:37 +1300

On Thu, Oct 29, 1998 at 03:00:17AM +0100, Henrik Nordstrom wrote:

> Be warned that using fork() on a huge Squid process is not a great
> idea as the swap requirements temporary doubles. If you do this be
> sure to use vfork, and only on a platform where vfork works as it
> should...

I think most popular squid OSs are COW so its probably not really an
issue... and as you point out, on those where it isn't (SunOS 4.1.x?)
vfork will probably be available.

> Other than this it sounds like a reasonable idea, but as you
> pointed out yourself having a couple of unused processes does not
> hurt, which allows the administrator to always have 32 dnsserver
> processes without being hurt in any way other than a slightly
> longer startup time.

You coul add dnsserver processes as needed, and reap them once they
acheive a certain level of idle time (ie. if you have 5 of these and
have only used 3 in the last hour, close one). Apache does someting
similar to this with httpd processes.

-cw
Received on Tue Jul 29 2003 - 13:15:54 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:58 MST