The ICBM launcher paniced being out of memory after compiling a couple
of days.  I'm not seeing any obvious signs, maybe someone else can
spot it. ddb stuff below..

OpenBSD 5.4-current (GENERIC) #28: Sat Dec  7 01:48:37 MST 2013
    [email protected]:/usr/src/sys/arch/sparc/compile/GENERIC
real mem = 200839168 (191MB)
avail mem = 192729088 (183MB)
mainbus0 at root: SUNW,SPARCstation-20
cpu0 at mainbus0: RT620/625 @ 150 MHz, on-chip FPU
cpu0: 512K byte write-back, 32 bytes/line, sw flush cache enabled
cpu at mainbus0 not configured
obio0 at mainbus0
clock0 at obio0 addr 0xf1200000: mk48t08 (eeprom)
timer0 at obio0 addr 0xf1300000: delay constant 48, frequency 2000000 Hz
zs0 at obio0 addr 0xf1100000 pri 12, softpri 6
zstty0 at zs0 channel 0: console
zstty1 at zs0 channel 1
zs1 at obio0 addr 0xf1000000 pri 12, softpri 6
zskbd0 at zs1 channel 0: no keyboard
zsms0 at zs1 channel 1
wsmouse0 at zsms0 mux 0
fdc0 at obio0 addr 0xf1700000 pri 11, softpri 4: chip 82077
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
auxreg0 at obio0 addr 0xf1800000
power0 at obio0 addr 0xf1a01000
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x1, page-size 4096, range 
64MB
sbus0 at iommu0: 25 MHz
dma0 at sbus0 slot 15 offset 0x400000: rev 2
esp0 at dma0 offset 0x800000 pri 4: ESP200, 40MHz
scsibus0 at esp0: 8 targets, initiator 7
sd0 at scsibus0 targ 3 lun 0: <SEAGATE, ST373207LC, D701> SCSI3 0/direct fixed 
serial.SEAGATE_ST373207LC_3KT1A9JF
sd0: 70007MB, 512 bytes/sector, 143374650 sectors
cd0 at scsibus0 targ 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 1084> SCSI2 5/cdrom 
removable
ledma0 at sbus0 slot 15 offset 0x400010: rev 2
le0 at ledma0 offset 0xc00000 pri 6: address 08:00:20:f1:d9:cc
le0: 16 receive buffers, 4 transmit buffers
bpp0 at sbus0 slot 15 offset 0x4800000: DMA2
"SUNW,DBRIe" at sbus0 slot 14 offset 0x10000 not configured
cgsix0 at sbus0 slot 2 offset 0x0 pri 9: SUNW,501-2325, 1152x900, rev 11
wsdisplay0 at cgsix0 mux 1
wsdisplay0: screen 0 added (std, sun emulation)
magma0 at sbus0 slot 3 offset 0x0 pri 9 softpri 6: Magma 4 Sp
mtty0 at magma0: 4 ttys
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
root on sd0a (0cbe8d467aac10c0.a) swap on sd0b dump on sd0b
Automatic boot in progress: starting file system checks.
/dev/sd0a (0cbe8d467aac10c0.a): file system is clean; not checking
/dev/sd0g (0cbe8d467aac10c0.g): file system is clean; not checking
/dev/sd0d (0cbe8d467aac10c0.d): file system is clean; not checking
/dev/sd0f (0cbe8d467aac10c0.f): file system is clean; not checking
/dev/sd0e (0cbe8d467aac10c0.e): file system is clean; not checking
setting tty flags
pf enabled
starting network
DHCPDISCOVER on le0 to 255.255.255.255 port 67 interval 1
DHCPOFFER from 10.0.0.1 (00:03:ba:b0:d5:60)
DHCPREQUEST on le0 to 255.255.255.255 port 67
DHCPACK from 10.0.0.1 (00:03:ba:b0:d5:60)
bound to 10.0.0.20 -- renewal in 21599 seconds.
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
mount_nfs: can't resolve address for host argonr.tmux.org
savecore: no core dump
checking quotas: done.
clearing /tmp
starting pre-securelevel daemons:.
setting kernel security level: kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd smtpd sndiod.
starting local daemons: cron.
Tue Dec 10 16:17:30 CET 2013

OpenBSD/sparc (ss20.tmux.org) (console)

login:          panic: malloc: out of space in kmem_map
Stopped at      Debugger+0x4:   jmpl            [%o7 + 0x8], %g0
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
malloc(0x10000, 0x7f, 0x1, 0x0, 0x10000, 0x10000) at malloc+0x480
ufs_readdir(0xfa32ae10, 0xa2, 0xfa0ebb20, 0xf837f2cc, 0x22, 0xfa32ae70) at ufs_
readdir+0xc0
VOP_READDIR(0xf8f482a8, 0xfa32ae88, 0xf8fad6e0, 0xfa32aeb0, 0x3, 0x0) at VOP_RE
ADDIR+0x24
sys_getdents(0x16, 0xfa32af20, 0xfa32af40, 0x3, 0x0, 0xfa32aeb4) at sys_getdent
s+0xe8
syscall(0x463, 0xfa32afb0, 0x14d02b84, 0xfa32afb0, 0x3, 0x1002) at syscall+0x22
8
slowtrap(0x3, 0x19650008, 0x4000, 0x28a5, 0x2e, 0x11e82f90) at slowtrap+0x1d8
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
  8082  21984  21984   1001  3         0x2  biowait       make
* 4972  18223   4249   1001  7         0x3                as
 26007  18223   4249   1001  2         0x3                cc1
 18223  22570   4249   1001  3        0x83  wait          cc
 22570  23199   4249   1001  3        0x8b  pause         sh
 29655   4249   4249   1001  3        0x81  nanosleep     perl
 21984  12963  21984   1001  3        0x8a  pause         sh
 12963  31305  31305      0  3        0x80  piperd        cron
 23199   9199   4249   1001  3        0x83  wait          pkgdata
  9199  12475   4249   1001  3        0x8b  pause         sh
 12475  28473   4249   1001  3        0x83  wait          gmake
 28473  25582   4249   1001  3        0x89  pause         sh
 25582  19252   4249   1001  3        0x8b  pause         sh
 19252   9592   4249   1001  3        0x83  wait          gmake
  9592   3447   4249   1001  3        0x8b  pause         make
  3447   5716   4249   1001  3        0x8b  pause         sh
  5716  28008   4249   1001  3        0x8b  pause         make
 28008  19377   4249   1001  3        0x8b  pause         sh
 19377   4249   4249   1001  3        0x8b  pause         make
 18927      1  18927      0  3        0x83  ttyin         getty
  4249   6597   4249   1001  3        0x83  wait          perl
 18012      0      0      0  3    0x100280  nfsidl        nfsio
 29911      0      0      0  3    0x100280  nfsidl        nfsio
 23002      0      0      0  3    0x100280  nfsidl        nfsio
 31502      0      0      0  3    0x100280  nfsidl        nfsio
  6597   2897   6597   1001  3        0x8b  pause         ksh
  2897      1   2897   1001  3        0x80  kqread        tmux
 23144      1  23144   1001  3        0xb0  select        ssh-agent
 14420  32557  14420   1001  3        0x83  ttyin         ksh
 32557  13290  13290   1001  3        0x90  select        sshd
 13290  13701  13290      0  3        0x92  poll          sshd
 31305      1  31305      0  3        0x80  select        cron
 17221      1  17221     99  3        0x90  poll          sndiod
 29591  29462  29462     95  3        0x90  kqread        smtpd
 20952  29462  29462     95  3        0x90  kqread        smtpd
 25206  29462  29462     95  3        0x90  kqread        smtpd
  4818  29462  29462     95  3        0x90  kqread        smtpd
  6362  29462  29462     95  3        0x90  kqread        smtpd
 27122  29462  29462     95  3        0x90  kqread        smtpd
 24959  29462  29462     95  3        0x90  kqread        smtpd
 25716  29462  29462     95  3        0x90  kqread        smtpd
 29462      1  29462      0  3        0x80  kqread        smtpd
 13701      1  13701      0  3        0x80  select        sshd
 18296      1  18296      0  3        0x80  poll          ntpd
 20715  19590  20715     83  3        0x90  poll          ntpd
 19590      1  19590     83  3        0x90  poll          ntpd
 29105  24497  24497     74  3        0x90  bpf           pflogd
 24497      1  24497      0  3        0x80  netio         pflogd
 10508  30214  30214     73  3        0x90  poll          syslogd
 30214      1  30214      0  3        0x80  netio         syslogd
 17075      1  17075     77  3        0x90  poll          dhclient
 24654      1  24654      0  3        0x80  poll          dhclient
    12      0      0      0  3    0x100200  aiodoned      aiodoned
    11      0      0      0  3    0x100200  syncer        update
    10      0      0      0  3    0x100200  cleaner       cleaner
     9      0      0      0  3    0x100200  reaper        reaper
     8      0      0      0  3    0x100200  pgdaemon      pagedaemon
     7      0      0      0  3    0x100200  bored         crypto
     6      0      0      0  3    0x100200  pftm          pfpurge
     5      0      0      0  3    0x100200  bored         systq
     4      0      0      0  3    0x100200  bored         syswq
     3      0      0      0  3  0x40100200                idle0
     2      0      0      0  3    0x100200  kmalloc       kmthread
     1      0      1      0  3        0x82  wait          init
     0     -1      0      0  3       0x200  scheduler     swapper
ddb> show uvmexp
Current UVM status:
  pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
  47059 VM pages: 4681 active, 470 inactive, 0 wired, 29825 free
  min  10% (25) anon, 10% (25) vnode, 5% (12) vtext
  pages  0 anon, 0 vnode, 0 vtext
  freemin=1568, free-target=2090, inactive-target=10936, wired-max=15686
  faults=188045608, traps=-1797169702, intrs=33704352, ctxswitch=8604672 fpuswi
tch=368681
  softint=15973785, syscalls=93935996, kmapent=9
  fault counts:
    noram=0, noanon=0, pgwait=58, pgrele=0
    ok relocks(total)=147551(147557), anget(retries)=58928789(21287), amapcopy=
26907559
    neighbor anon/obj pg=16632664/41736894, gets(lock/unlock)=12219591/126264
    cases: anon=42635404, anoncow=16293379, obj=10693174, prcopy=1526417, przer
o=23292420
  daemon and swap counts:
    woke=37, revs=35, scans=181076, obscans=8976, anscans=153969
    busy=0, freed=70379, reactivate=18131, deactivate=146106
    pageouts=5801, pending=4552, nswget=21238
    nswapdev=1, nanon=0, nanonneeded=0 nfreeanon=0
    swpages=524289, swpginuse=5367, swpgonly=4273 paging=0
  kernel pointers:
    objs(kern)=0xf835c400
ddb> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim Kern Lim
         devbuf   202    219K     236K   2457K       799        0        0
            pcb    87     13K      17K   2457K       806        0        0
       routetbl    69      4K       5K   2457K       505        0        0
         ifaddr    36     11K      11K   2457K        36        0        0
       ioctlops     0      0K       4K   2457K      1493        0        0
            iov     0      0K       0K   2457K        14        0        0
          mount     6      6K       6K   2457K         6        0        0
        NFS req     0      0K       0K   2457K         1        0        0
      NFS mount     1      0K       0K   2457K         1        0        0
         vnodes    19      1K      69K   2457K      5410        0        0
      UFS quota     1      4K       4K   2457K         1        0        0
      UFS mount    21     27K      27K   2457K        21        0        0
            shm     2      0K       0K   2457K         2        0        0
         VM map     1      0K       0K   2457K         1        0        0
            sem     2      0K       0K   2457K         2        0        0
        dirhash    33      7K      61K   2457K      4449        0        0
        VM pmap   471    385K     778K   2457K   5446296        0        0
      file desc    10      4K       5K   2457K       142        0        0
           proc    12      1K       1K   2457K        12        0        0
        subproc    28     14K      18K   2457K     69594        0        0
    VFS cluster     0      0K       0K   2457K      1513        0        0
    NFS srvsock     1      0K       0K   2457K         1        0        0
     NFS daemon     1      8K       8K   2457K         1        0        0
       in_multi    22      0K       0K   2457K        22        0        0
    ether_multi     4      0K       0K   2457K         4        0        0
    ISOFS mount     1      4K       4K   2457K         1        0        0
  MSDOSFS mount     1      2K       2K   2457K         1        0        0
           ttys   414    258K     258K   2457K       414        0        0
           exec     0      0K       2K   2457K    336577        0        0
     pfkey data     1      0K       0K   2457K         2        0        0
     xform_data     0      0K       0K   2457K         8        0        0
        pagedep     1      1K       1K   2457K         1        0        0
       inodedep     1      4K      82K   2457K    835139        0        0
         newblk     1      0K       0K   2457K         1        0        0
       indirdep     0      0K      96K   2457K       662        0        0
        VM swap     7    154K     154K   2457K         7        0        0
       UVM amap  3729    230K    1048K   2457K  22255337        0        0
       UVM aobj     2      1K       1K   2457K         2        0        0
    crypto data     1      1K       1K   2457K         1        0        0
            NDP     6      0K       0K   2457K         7        0        0
           temp    58     77K     206K   2457K   1930583        0        0
ddb> show bcstats
Current Buffer Cache status:
numbufs 2337 busymapped 2, delwri 39
kvaslots 153 avail kva slots 151
bufpages 9290, dirtypages 156
pendingreads 2, pendingwrites 1
ddb> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
inpcbpl    240    10222    0    10209     2     0     2     2     0     8    1
plimitpl   152      160    0      142     1     0     1     1     0     8    0
synpl      192        4    0        4     1     0     1     1     0     8    1
sackhlpl    24        2    0        2     1     0     1     1     0     8    1
tcpqepl     16     2600    0     2600     1     0     1     1     0     8    1
tcpcbpl    408      367    0      361     2     0     2     2     0     8    1
rtentpl    120       31    0        1     1     0     1     1     0     8    0
strpolpl    32        4    0        4     1     0     1     1     0     8    1
strprocpl  2272       8    0        8     2     0     2     2     0     8    2
pffrag      80     8774    0     8774     1     0     1     1     0     6    1
pffrent     24   200462    0   200462     1     0     1     1     0     8    1
pfosfp      32      840    0      420     4     0     4     4     0     8    0
pfosfpen   112     1420    0      710    32    12    20    20     0     8    0
pfstateitempl 16  10524    0    10523     1     0     1     1     0     8    0
pfstatekeypl 72   10524    0    10523     2     0     2     2     0     8    1
pfstatepl  232    10524    0    10523     6     0     6     6     0     8    5
pfrulepl   1208      14    0       11     5     0     5     5     0     8    3
nfsnodepl  392     1771    0     1770    56    47     9    56     0     8    8
dirhash    1024    5364    0     5249   459   424    35   107     0     8    4
newdirblkpl 16      448    0      448     1     0     1     1     0     8    1
dirrempl    32   267936    0   267749   176   168     8    32     0     8    6
mkdirpl     32   117174    0   117174    77    69     8    29     0     8    8
diraddpl    32   437009    0   436810   396   388     8    92     0     8    6
freefilepl  32   182701    0   182701   106    98     8    33     0     8    8
freeblkspl 168   144877    0   144865  1975  1967     8   168     0     8    7
freefragpl  40    19910    0    19910     2     0     2     2     0     8    2
allocindirpl 64   35780    0    35780   117   109     8    27     0     8    8
indirdeppl  32     1451    0     1450     1     0     1     1     0     8    0
allocdirectpl 80 386560    0   386527  2755  2747     8   173     0     8    7
bmsafemappl 32    11931    0    11930     2     0     2     2     0     8    1
newblkpl    40   422340    0   422340     1     0     1     1     0     8    1
inodedeppl  88   453921    0   453517  2155  2146     9   215     0     8    0
pagedeppl   72    85927    0    85926   142   134     8    40     0     8    7
dino1pl    128  1621301    0  1618587    94     6    88    88     0     8    0
ffsino     168  1621301    0  1618587   150    36   114   114     0     8    0
nchpl       88  1904386    0  1902540    42     0    42    42     0     8    0
vnodes     160     2724    0        0   109     0   109   109     0     8    0
namei      1024 8436833    0  8436833     2     0     2     2     0     8    2
nfsreqpl    64   146160    0   146160     1     0     1     1     0     8    1
scxspl     120  1166000    0  1165999     1     0     1     1     0     8    0
ncr53c9x_ecb 80 1165995    0  1165994     1     0     1     1     0     8    0
ifaddritempl 32      10    0        0     1     0     1     1     0     8    0
wqtasks     24        3    0        3     1     0     1     1     0     8    1
sigapl     296   211926    0   211877     6     0     6     6     0     8    2
knotepl     80 12551635    0 12551555     3     0     3     3     0     8    1
kqueuepl   296       16    0        6     1     0     1     1     0     8    0
pipepl      96   144338    0   144329     1     0     1     1     0     8    0
fdescpl    304   211927    0   211877     6     0     6     6     0     8    2
filepl      88  3100714    0  3100553     5     0     5     5     0     8    1
lockfpl     64      634    0      633     1     0     1     1     0     8    0
pcredpl     24   211941    0   211877     1     0     1     1     0     8    0
sessionpl   48      117    0       98     1     0     1     1     0     8    0
pgrppl      24      253    0      233     1     0     1     1     0     8    0
ucredpl     80   192075    0   192049     1     0     1     1     0     8    0
zombiepl    88   211877    0   211877     1     0     1     1     0     8    1
processpl  400   211941    0   211877     9     0     9     9     0     8    2
procpl     400   211943    0   211879     9     0     9     9     0     8    2
sockpl     296    11015    0    10928     9     0     9     9     0     8    0
mcl2k      2048  869369    0   869369    95     0    95    95     4  1024   95
mtagpl      64        2    0        2     1     0     1     1     0     8    1
mbpl       256  4917079    0  4917066    24     0    24    24     1   128   22
bufpl      168  1069111    0  1066774   166    66   100   114     0     8    2
extentpl    24  4738951    0  4738562    13     1    12    13     0     8    6
anonpl      16 41112216    0 41104328  1086  1008    78   229     0    12   12
amappl      48 21978148    0 21974502   134    17   117   130     0    49   49
dma4096    4096       1    0        1     1     0     1     1     0     8    1
dma256     256        7    0        7     1     0     1     1     0     8    1
dma64       64       16    0       16     1     0     1     1     0     8    1
dma32       32        5    0        5     1     0     1     1     0     8    1
dma16       16        7    0        7     1     0     1     1     0     8    1
L2/L3 pagetable 256 24854106 0 24852012 88949 88769 180   355     0     8    8
L1 pagetable 1024 211926   0   211877    17     0    17    17     0     8    4
pvpl        16 66540968    0 66536112    70    31    39    43     0     8    8
aobjpl      40        1    0        0     1     0     1     1     0     8    0
uaddrrnd    24   211927    0   211877     1     0     1     1     0     8    0
uaddrbestfit 16       2    0        0     1     0     1     1     0     8    0
uaddr       16   211927    0   211877     1     0     1     1     0     8    0
vmmpekpl   104   601192    0   601155     2     0     2     2     0     8    1
vmmpepl    104 42150061    0 42143647   347     0   347   347     0   216  155
vmsppl     128   211926    0   211877     3     0     3     3     0     8    1
phpool      56    89701    0    89240    10     0    10    10     0     8    1
ddb>

Reply via email to