Kernel Options for WebServer

Kernel Options for WebServer

Post by Max Clar » Fri, 27 Aug 1999 04:00:00

Thanks to everyone who helped with my Swapping problem.

So I am working to compile a new Kernel for this machine can anyone help
me create the optimal configuration for my system?

The OS is FreeBSD 3.2, the server is going to be co-located as a web
server (initially running JavaWebServer2.0, and will probably move to
Apache+Jserv), there will be a max of 5 telnet (maybe SSH) users, and
only 1-2 FTP sessions. The box will be serving requests to hundreds,
eventually thousands of web users.

The Hardware is a Dell PowerEdge 1300 (you know the one's that ship with
PIII 450, 512 MB ram, Adaptec aic7890 with a 9.1 GB Drive, an IDE
CD-ROM, Floppy, and an Intel EtherExpress Pro 10/100B NIC. X is not
going to run, nor is a mouse going to be attached to this system. The
Parallel and Serial Ports are not going to be used. (attached is the
output of dmesg).

I am still fairly green to BSD so any help will be greatly experienced.
Oh did I mention this is replacing a RedHat5.2 server?


[ dmesg.txt 3K ]
$ dmesg
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.2-RELEASE #0: Tue May 18 04:05:08 GMT 1999

Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III (447.69-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping=3
real memory  = 67100672 (65528K bytes)
config> di zp0
config> di ze0
config> di lnc0
config> di le0
config> di ie0
config> di fe0
config> di ex0
config> di ep0
config> di ed0
config> di cs0
config> di wt0
config> di matcdc0
config> di aha0
config> di adv0
config> q
avail memory = 61763584 (60316K bytes)
Preloaded elf kernel "kernel" at 0xc0358000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc035809c.
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <PCI to PCI bridge (vendor=1011 device=0024)> rev 0x03 on pci0.2.0
chip3: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.7.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
chip4: <Intel 82371AB Power management controller> rev 0x02 on pci0.7.3
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x05 int a irq 11 on pci0.13.0
fxp0: Ethernet address 00:90:27:9c:6f:93
Probing for devices on PCI bus 1:
vga0: <ATI model 4757 graphics accelerator> rev 0x7a on pci1.0.0
Probing for devices on PCI bus 2:
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> rev 0x01 int a irq 10 on pci2.11.0
ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model MouseMan+, device ID 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <CD-ROM CDU701/1.0r>, removable, accel, dma, iordis
acd0: drive speed 2412KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
mcd0 not found at 0x300
scd0 not found at 0x230
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
bt_isa_probe: Probe failled for card at 0x330
bt_isa_probe: Probe failled for card at 0x334
bt_isa_probe: Probe failled for card at 0x230
bt_isa_probe: Probe failled for card at 0x234
bt_isa_probe: Probe failled for card at 0x130
bt_isa_probe: Probe failled for card at 0x134
bt0 not found at 0x134
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
Waiting 15 seconds for SCSI devices to settle
changing root device to da0s2a
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DNES-309170W SA60> Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 8683MB (17783301 512 byte sectors: 255H 63S/T 1106C)
acd0: read_toc failed
cd9660: RockRidge Extension
cd9660: RockRidge Extension
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space


Kernel Options for WebServer

Post by r j huntingt » Sun, 29 Aug 1999 04:00:00

: swap_pager: out of swap space

Hmmm... you *did* configure swap, didn't you? How much?