Coda File System

Re: Coda-6.0.1 log spew

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Tue, 3 Jun 2003 23:50:14 -0400
On Tue, Jun 03, 2003 at 07:06:06PM -0700, Steve Simitzis wrote:
> coda-6.0.1 is working, thanks for the new version. however, now i'm seeing
> these messages in SrvLog, over and over again, several per second:
>
> 19:02:58 ViceValidateAttrs: Fid = 7f000005.d76.86d, 0 piggy fids
> 19:02:58 ViceValidateAttrs: Fid = 7f000004.3d8c.2047, 50 piggy fids

It looks like the it was changed from LogLevel 1 to -1 in the LKA
patches. It's at line 462 in coda-src/vice/srvproc.cc if you want to
change it.

These messages are caused by clients who are trying to reestablish
callbacks after a disconnection. Pretty harmless, but as you can it is
slightly verbose. It will stop as soon as the clients have established a
callback for all cached objects, until ofcourse they are disconnected at
some later point in time.

You can use coda-server-logrotate, or the following logrotate
configuration file to get a daily rotation of the logfiles.

/etc/logrotate.d/coda-server:
#
# Rotate the Coda server logs once a day
#
/vice/srv/SrvLog /vice/srv/SrvErr {
	daily
	rotate 7
	compress
	delaycompress
	missingok
	notifempty
	create 0644 root root
	sharedscripts
	postrotate
	    /usr/bin/killall -HUP codasrv
	endscript
}

delaycompress and create are probably not necessary. killall can be
replaced by either "/bin/kill -HUP `/bin/cat /vice/srv/pid`" or
"/usr/sbin/volutil swaplog".

Jan
Received on 2003-06-03 23:51:48