[OpenAFS-devel] Patch to implement default tuning proposal discussed a while ago
Troy Benjegerdes
hozer@hozed.org
Wed, 17 Aug 2005 15:55:25 -0500
Okay, I unloaded the module, and afsd has been killed.. what the heck are
these processes [afs_rxlistener], [afs_evtstart], and [afs_callback] processes
still doing around??
I should not have to reboot for this...
> gdb afsd
> ...
> > run -verbose -debug
>
> doSweepAFSCache: Opening cache directory '/var/cache/openafs/D261'
> doSweepAFSCache: Current directory entry:
> inode=885058, reclen=16, name='.'
> doSweepAFSCache: Current directory entry:
> inode=2, reclen=16, name='..'
> doSweepAFSCache: Closing cache directory.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x400d2ffb in readdir () from /lib/tls/libc.so.6
> (gdb) bt
> #0 0x400d2ffb in readdir () from /lib/tls/libc.so.6
> #1 0x0804a49e in doSweepAFSCache (vFilesFound=0xbfffb33c,
> directory=0x80711a0 "/var/cache/openafs", dirNum=-2, maxDir=128)
> at afsd.c:793
> #2 0x0804ad6e in SweepAFSCache (vFilesFound=0xbfffb33c) at afsd.c:1191
> #3 0x0804b7c9 in mainproc (as=0x8072e28, arock=0x0) at afsd.c:1913
> #4 0x0804fa72 in cmd_Dispatch (argc=3, argv=0xbfffe854) at cmd.c:882
> #5 0x0804d0a6 in main (argc=0, argv=0x0) at afsd.c:2264
> (gdb) up
> #1 0x0804a49e in doSweepAFSCache (vFilesFound=0xbfffb33c,
> directory=0x80711a0 "/var/cache/openafs", dirNum=-2, maxDir=128)
> at afsd.c:793
> 793 for (currp = readdir(cdirp); currp; currp = readdir(cdirp))
> (gdb) print *cdirp
> $1 = <incomplete type>
> (gdb) print cdirp
> $2 = (DIR *) 0x808dfb0
> (gdb) print (DIR *)cdirp
> $3 = (struct __dirstream *) 0x808dfb0
> (gdb) print (DIR *) *cdirp
> $4 = (struct __dirstream *) 0x0
>
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
--
--------------------------------------------------------------------------
Troy Benjegerdes 'da hozer' hozer@hozed.org
Somone asked me why I work on this free (http://www.fsf.org/philosophy/)
software stuff and not get a real job. Charles Shultz had the best answer:
"Why do musicians compose symphonies and poets write poems? They do it
because life wouldn't have any meaning for them if they didn't. That's why
I draw cartoons. It's my life." -- Charles Shultz