(Illustration by Gaich Muramatsu)
Two questions: (1) What is the minimum cache size one can specify in venus-setup (the value of "cacheblocks" in /etc/code/venus.conf)? (2) I originally had my system configured with ~ 20 meg cache (cacheblocks = 20000), everything is working fine. I changed the cache size to 4092, restarted venus using -init, and ti will run successfully for a bit--before it coredumps with the following backtrace (from gdb): (gdb) bt #0 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6 #1 0x080ae5ad in SigChoke (sig=11) at sighand.cc:242 #2 <signal handler called> #3 rec_olist::first (this=0x20081f08) at rec_olist.cc:147 #4 0x080e4dfe in rec_olist_iterator::operator() (this=0x81b4650) at rec_olist.cc:218 #5 0x080e54ab in rec_ohashtab_iterator::operator() (this=0x15089ed8) at rec_ohash.cc:239 #6 0x0809211e in volrep_iterator::operator() (this=0x15089ed8) at venusvol.cc:2773 #7 0x080929a3 in vdb::TakeTransition (this=0x20083f88) at vol_daemon.cc:233 #8 0x080925bd in VolDaemon () at vol_daemon.cc:102 #9 0x080a4d10 in vproc::main (this=0x812a068) at vproc.cc:429 #10 0x080a459a in VprocPreamble (init_lock=0x812a0a8) at vproc.cc:146 #11 0x400999be in Create_Process_Part2 () at lwp.c:792 It crashes with signal 11: 18:32:16 Fatal Signal (11); pid 7430 becoming a zombie... 18:32:16 You may use gdb to attach to 7430 18:33:13 RecovTerminate: clean shutdown As you can see from the tail of venus.log below, it seems to crash in BeginRvmFlush(). I really need to decrease my cache size to the absolute minimum Coda allows for an experiment we are doing. The tail of /usr/coda/etc/venus.log is below. thanks for whatever insight, everyone. W(19) : 0000 : 18:32:14 ] fsobj::StatusEq: ((0x7f000000.0x30ce2.0x6245)), LinkCount 0 != 1 [ W(19) : 0000 : 18:32:14 ] Cachefile::SetLength 1670480 [ W(19) : 0000 : 18:32:15 ] fsobj::StatusEq: ((0x7f000000.0x30cf2.0x6246)), LinkCount 0 != 1 [ W(19) : 0000 : 18:32:15 ] Cachefile::SetLength 702 [ W(19) : 0000 : 18:32:15 ] Cachefile::SetLength 703 [ W(19) : 0000 : 18:32:15 ] Cachefile::SetLength 702 [ W(19) : 0000 : 18:32:15 ] Cachefile::SetLength 1024 [ W(19) : 0000 : 18:32:15 ] Cachefile::SetLength 1024 [ W(19) : 0000 : 18:32:15 ] Cachefile::SetValidData 691 [ W(19) : 0000 : 18:32:15 ] Cachefile::SetLength 1536 [ W(19) : 0000 : 18:32:15 ] Cachefile::SetValidData 2752 [ W(19) : 0000 : 18:32:15 ] Cachefile::SetValidData 8668 [ W(19) : 0000 : 18:32:15 ] Cachefile::SetValidData 4316 [ W(19) : 0000 : 18:32:15 ] Cachefile::SetValidData 0 [ W(19) : 0000 : 18:32:15 ] Cachefile::SetValidData 2853 [ W(19) : 0000 : 18:32:15 ] Cachefile::SetLength 1024 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 240 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 0 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 2718 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 273 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 0 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 3987 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 16328 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 1932 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 243 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 250 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 0 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 125 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 259 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 0 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 51 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 395 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 0 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetValidData 3323 [ W(19) : 0000 : 18:32:16 ] Cachefile::SetLength 23480 [ T(01) : 0040 : 18:32:16 ] BeginRvmFlush (2, 150476, S) [ V(04) : 0041 : 18:32:16 ] ***** FATAL SIGNAL (11) ***** [ V(04) : 0041 : 18:33:13 ] TERM: About to terminate venus [ V(04) : 0041 : 18:33:13 ] BeginRvmFlush (2, 150476, F) [ X(00) : 0000 : 18:33:13 ] Venus exiting [ X(00) : 0000 : 18:33:13 ] BeginRvmFlush (3, 153228, F) [ T(01) : 0040 : 18:33:13 ] EndRvmFlush [ V(04) : 0041 : 18:33:13 ] EndRvmFlushReceived on 2002-12-08 18:50:45