Subject: System Resource Tweaks
To: None <netbsd-help@netbsd.org>
From: Martyn <martyn@nethead.ltd.uk>
List: netbsd-help
Date: 09/10/1998 12:26:41
Hi all

Running 1.3.2 on a pentium II with 96 meg ram,
precompiled apache 1.3.1 and perl-5.00404 from the
packages running cgi scripts calling web pages, 
I am getting the following error
log messages, and customers are not getting
served:

[Mon Sep  7 08:18:59 1998] [error] (35)Resource temporarily unavailable:
couldn't spa
wn child process: /usr/home/adscgi/cgi-bin/ads1.cgi

Compiling a kernel upping the users defined to 64

include "arch/i386/conf/std.i386"

maxusers        64              # estimated number of user

compiles ok, and thus as I understand, increases
the following parameters:-

        Maximum # of processes 
        Maximum # of processes per user 
        System wide open files limit 
        Per-process open files limit 
        Maximum # of mbuf clusters 
        Proc/pgrp hash table size 

However, it now falls over to the debug prompt
with the following warning:-

panic vm_map_entry_create  out of map entries
stopped at _Debugger +0x4 :leave

A guess at this being virtual memory map settings ?

Does anyone have any advice on successful tweaks
to a kernel I can do for a high load web/cgi server  ?

Thanks

Martyn