Hello,

I had the time to test a snapshot.
I download the bsd.mp i386 11 nov 2008 23h25

I install only the bsd.mp because I want keep the box in 4.4 stable if
something goes wrong. If that is not engouh I will have the next week a
better environnement to test it (with serial console, apc, etc).

I have a heavy apache with mod_perl that was crashing the box due to (I
suppose) heavy memory fragmentation under 4.3. I upgrade to 4.4, and that
was only a little better.
With the 44.20081111-2325 snapshot, it is really better.




What looks strange to me is that I limit the heavy perl to 10
MaxRequestPerChild in httpd.conf as a test. And when the child exist,
sometimes the swap used grows even if the memory is not exhausted.

When there are many heavy httpd process running, if I do "apachectl stop"
the machine often starts to swap to death.
But if I do "pkill -9 httpd", no problem.


The second thing, I use watchdogd but it never reboots the server.




I see some message in /var/log/messages
Nov 14 01:00:07 root /bsd: uvm_mapent_alloc: out of static map entries Nov
14 01:01:58 root /bsd: uvm_mapent_alloc: out of static map entries Nov 14
01:03:44 root last message repeated 9 times
Nov 14 01:08:25 root last message repeated 4 times

When I test the box with
http_load - parallel 200 -seconds 60 url.txt
the server sometimes freezes.

Here the last output of some tools at freeze times:

   6 users    Load 112.80 53.61 29.18                  Fri Nov 14 01:22:02
2008

            memory totals (in KB)            PAGING   SWAPPING
Interrupts
           real   virtual     free           in  out   in  out      453
total
Active  1553940   2068016   133424   ops    110  116                100 clock
All     3212464   3726540   133424   pages     *****                326 mpi0
                                                                     27
bge1
Proc:r  d  s  w    Csw   Trp   Sys   Int   Sof  Flt       forks         ehci0
   119  3 20       188  1013   421   353   141 1004       fkppw
com0
                                                          fksvm
   0.4%Int  96.9%Sys   2.8%Usr   0.0%Nic   0.0%Idle       pwait
|    |    |    |    |    |    |    |    |    |    |   116 relck
=================================================>    116 rlkok
                                                          noram
Namei         Sys-cache    Proc-cache    No-cache     398 ndcpy
    Calls     hits    %    hits     %    miss   %         fltcp
      112      112  100                                 5 zfod
                                                      254 cow
Disks   sd0   cd0                                   27882 fmin
seeks                                               37176 ftarg
xfers   327                                        194244 itarg
Kbyte  1314                                             1 wired
  sec   0.8                                           116 pdfre


oad averages: 115.35, 56.10, 30.35                                   
01:22:07
225 processes: 115 running, 109 idle, 1 on processor
CPU states:  3.6% user,  0.0% nice, 96.4% system,  0.0% interrupt,  0.0% idle
Memory: Real: 1519M/3137M act/tot  Free: 131M  Swap: 502M/502M used/tot

  PID    UID   PRI NICE  SIZE   RES STATE    WAIT      TIME    CPU COMMAND
   12      0   -18    0    0K  465M sleep    pgdaemo   1:52 91.21%
pagedaemon
28486    997    28    0  212M   46M run      -         0:02  0.05% httpd 
16277     67    28    0   47M   28M run      -         0:00  0.05% httpd 
26147     67    28    0   47M   35M run      -         0:00  0.05% httpd
20969    997    28    0  227M   14M run      -         0:00  0.05% httpd 
19676     67    28    0   68M 3404K run      -         0:07  0.00% httpd 
31033     67    28    0   79M 3292K run      -         0:06  0.00% httpd
15570     67    28    0   67M 3188K run      -         0:03  0.00% httpd
30920     67    28    0   73M 6588K run      -         0:02  0.00% httpd
 4906     67    28    0   72M 6184K run      -         0:02  0.00% httpd
6291    997    28    0  189M   57M run      -         0:02  0.00% httpd
19720     67    28    0   67M 7148K run      -         0:02  0.00% httpd
 6337    997    28    0  232M   17M run      -         0:02  0.00% httpd 
1030    997    28    0  193M   55M run      -         0:02  0.00% httpd
29512    997    28    0  204M   61M run      -         0:02  0.00% httpd
17457    997    28    0  189M   30M run      -         0:02  0.00% httpd
19779    997    28    0  189M   31M run      -         0:02  0.00% httpd
17380    997    28    0  189M   17M run      -         0:01  0.00% httpd


netstat -m
2157 mbufs in use:
        501 mbufs allocated to data
        1648 mbufs allocated to packet headers
        8 mbufs allocated to socket names and addresses
431/898/6144 mbuf clusters in use (current/peak/max)
2356 Kbytes allocated to network (59% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines



OpenBSD 4.4-current (GENERIC) #1480: Tue Nov 11 19:56:54 MST 2008
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz ("GenuineIntel" 686-class) 3.01
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
real mem  = 3487866880 (3326MB)
avail mem = 3383513088 (3226MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/05/08, BIOS32 rev. 0 @ 0xfac90,
SMBIOS rev. 2.5 @ 0xcff9c000 (46 entries)
bios0: vendor Dell Inc. version "1.2.1" date 03/05/2008
bios0: Dell Inc. PowerEdge R200
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC SPCR HPET MCFG WDAT SLIC ERST HEST BERT EINJ
SSDT SSDT SSDT
acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 333MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
ioapic1 at mainbus0: apid 3 pa 0xfec10000, version 20, 24 pins
ioapic1: misconfigured as apic 0, remapped to apid 3
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEX1)
acpiprt2 at acpi0: bus 2 (SBE0)
acpiprt3 at acpi0: bus 3 (PXHA)
acpiprt4 at acpi0: bus 4 (SBE4)
acpiprt5 at acpi0: bus 5 (SBE5)
acpiprt6 at acpi0: bus 6 (COMP)
acpicpu0 at acpi0: FVS, 3000, 2667, 2333, 2000 MHz
bios0: ROM list: 0xc0000/0x9000 0xc9000/0x5c00 0xec000/0x4000!
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 3200/3210 Host" rev 0x01
ppb0 at pci0 dev 1 function 0 "Intel 3200/3210 PCIE" rev 0x01: apic 2 int
16 (irq 15)
pci1 at ppb0 bus 1
mpi0 at pci1 dev 0 function 0 "Symbios Logic SAS1068E" rev 0x08: apic 2
int 16 (irq 15)
scsibus0 at mpi0: 112 targets, initiator 112
sd0 at scsibus0 targ 0 lun 0: <Dell, VIRTUAL DISK, 1028> SCSI3 0/direct fixed
sd0: 75340MB, 512 bytes/sec, 154296320 sec total
ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02
pci4 at ppb3 bus 4
bge0 at pci4 dev 0 function 0 "Broadcom BCM5721" rev 0x21, BCM5750 C1
(0x4201): apic 2 int 16 (irq 15), address 00:1e:c9:bb:6e:27
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb4 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x02
pci5 at ppb4 bus 5
bge1 at pci5 dev 0 function 0 "Broadcom BCM5721" rev 0x21, BCM5750 C1
(0x4201): apic 2 int 17 (irq 14), address 00:1e:c9:bb:6e:28
brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 2 int 21
(irq 11)
uhci1 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 2 int 20
(irq 10)
uhci2 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x02: apic 2 int 21
(irq 11)
ehci0 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 2 int 21
(irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x92
pci6 at ppb5 bus 6
vga1 at pci6 dev 5 function 0 "ATI ES1000" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801IR LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801I SATA" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 2 int 23 (irq 6) for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 1
scsibus1 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus1 targ 0 lun 0: <TSSTcorp, DVD-ROM TS-L333A, D100> ATAPI
5/cdrom removable
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhub4 at uhub0 port 5 "Cypress Semiconductor USB2 Hub" rev 2.00/0.0b addr 2
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
WARNING: / was not properly unmounted

Reply via email to