[OpenAFS-devel] Patch to implement default tuning proposal discussed a while ago

Troy Benjegerdes hozer@hozed.org
Wed, 17 Aug 2005 14:59:27 -0500


On Tue, Aug 16, 2005 at 02:39:52PM -0400, Jim Rees wrote:
> Sorry, that was just the patch to afsd.c  The rest hasn't changed since
> Niklas posted it.

Did you just commit this?

I'm running into the following:
(this was after deleting a bunch of cache files)

(gdb) run -verbose
Starting program: /root/openafs-cvs/src/afsd/afsd -verbose
afsd: My home cell is 'scl.ameslab.gov'
afsd: cacheFiles autotuned to 262144
afsd: chunkSize autotuned to 20
afsd: dCacheSize autotuned to 10000
afsd: cacheStatEntries autotuned to 15000
SScall(137, 28, 17)=0 afsd: Forking rx listener daemon.
afsd: Forking rx callback listener.
SScall(137, 28, 48)=0 afsd: Forking rxevent daemon.
SScall(137, 28, 0)=0 SScall(137, 28, 36)=0 afsd: Calling
AFSOP_CACHEINIT: 15000stat cache entries, 262144 optimum cache files,
8388608 blocks in the cache, flags = 0x0, dcache entries 10000
SScall(137, 28, 19)=0 SScall(137, 28, 6)=0 afsd: Sweeping workstation's
AFS 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  0x0804a40e in doSweepAFSCache (vFilesFound=0xbfffbd4c,
    directory=0x8071200 "/var/cache/openafs", dirNum=-2, maxDir=128)
    at afsd.c:778
#2  0x0804adbe in SweepAFSCache (vFilesFound=0xbfffbd4c) at afsd.c:1194
#3  0x0804b819 in mainproc (as=0x8072e68, arock=0x0) at afsd.c:1920
#4  0x0804fab2 in cmd_Dispatch (argc=2, argv=0xbffff264) at cmd.c:882
#5  0x0804d0e6 in main (argc=0, argv=0x0) at afsd.c:2271