Subject: FTPing up a file and Apache accessing file, panics core after awhile...
To: John Maier <jmaier@midamerica.net>
From: John Maier <jmaier@midamerica.net>
List: port-alpha
Date: 05/30/2002 13:22:37
It's an Decstation 300 with 208Megs RAM, runs great till I start an FTP of a
file, same name, different data (webcam jpg), persistant connection, up to
the Alpha. Apache HTTP is access the FTPed file repeatedly and
crashes...VERY consistant.

panic: vref used where vget required, vp 0xfffffc0008a3bdb0
Stopped in httpd at     cpu_Debugger+0x4:       ret     zero,(ra)
db> trace
cpu_Debugger() at cpu_Debugger+0x4
panic() at panic+0xfc
vref() at vref+0x30
uvm_vnp_uncache() at uvm_vnp_uncache+0x50
ffs_truncate() at ffs_truncate+0x16c
ufs_inactive() at ufs_inactive+0xb8
vput() at vput+0xfc
vn_close() at vn_close+0xa8
vn_closefile() at vn_closefile+0x28
closef() at closef+0x2b8
fdrelease() at fdrelease+0xe8
sys_close() at sys_close+0x28
syscall() at syscall+0x1dc
XentSys() at XentSys+0x50
--- syscall (6, netbsd.sys_close) ---
--- user mode ---
db> ps
 PID             PPID       PGRP        UID S   FLAGS          COMMAND
WAIT
 6113             197        197          0 2  0x4105             ftpd
 6061               1       6061          0 3  0x4086            getty
ttyin
 354              346        354       1000 3  0x4086             tcsh
ttyin
 346              345        346          0 3  0x4086             tcsh
pause
 345              344        197          0 3  0x4084            xterm
select
 344              197        197          0 3  0x4084             tcsh
pause
 334              213        213      32767 3   0x184            httpd
semwait
 255              213        213      32767 3   0x184            httpd
semwait
 251              213        213      32767 3   0x184            httpd
semwait
 228              206        228       1000 3  0x4086             tcsh
ttyin
>227              213        213      32767 7   0x104            httpd
 225              213        213      32767 3   0x184            httpd
select
 224              213        213      32767 3   0x184            httpd
select
 223              213        213      32767 3   0x184            httpd
semwait
 222              213        213      32767 3   0x184            httpd
semwait
 221              213        213      32767 3   0x184            httpd
semwait
 220              213        213      32767 3   0x184            httpd
semwait
 213                1        213          0 3    0x84            httpd
select
 206              205        206          0 3  0x4086             tcsh
pause
 205              204        197          0 3  0x4084            xterm
select
 204              197        197          0 3  0x4084             tcsh
pause
 200                1        200          0 3    0x84             cron
nanosle
 197                1        197          0 3    0x84            inetd
select
 194                1        194          0 3    0x85             nmbd
select
 189                1        189          0 3    0x85             smbd
select
 186                1        186          0 3    0x84             sshd
select
 165                1        165          0 3    0x84             ntpd
pause
 110                1        110          0 3    0x84            named
select
 101                1        101          0 3    0x84          syslogd
select
 4                  0          0          0 3 0x20204          ioflush
syncer
 3                  0          0          0 3 0x20204           reaper
reaper
 2                  0          0          0 3 0x20204       pagedaemon
daemon_
 1                  0          1          0 3  0x4084             init
wait
 0                 -1          0          0 3 0x20204          swapper
schedul
db> proc 227
No such command
db> help
break           delete          next            search          trace
c               dwatch          p               set             until
call            examine         print           show            w
callout         kill            ps              sifting         watch
continue        machine         reboot          step            write
d               match           s               sync            x
db> examin 227
     0x227:
fatal kernel trap:

    trap entry = 0x2 (memory management fault)
    a0         = 0x224
    a1         = 0x1
    a2         = 0x0
    pc         = 0xfffffc00004a8df0
    ra         = 0xfffffc000030940c
    curproc    = 0xfffffc00066b0290
        pid = 227, comm = httpd

     Caught exception in ddb.
db> reboot 0x100
syncing disks... panic: lockmgr: locking against myself
Stopped in httpd at     cpu_Debugger+0x4:       ret     zero,(ra)
db> sync

dumping to dev 8,1 offset 621807