[OpenAFS] klog very slow in Fedora Core Linux (kernel-2.6.14-1.1656_FC4)

Derek Atkins warlord@MIT.EDU
Fri, 20 Jan 2006 14:53:09 -0500


Um, it did make it to the list just fine the first time.  Perhaps you
have yourself set to "don't receive own posts"?

Anyways, are you sure that the contents of /usr/vice/etc/CellServDB
for the local cell are correct?  Also, can you reach each of the
IPs that you get from a DNS lookup for the servers listed?

If you're getting "timed out talking to..." messages that implies that
you have a connectivity issue and can't reach one of the servers.  Perhaps
they are multi-homed or behind a NAT and you can't reach one of them?
That would certainly cause a timeout.

I'm 99% sure this is a configuration issue and not a code issue.

-derek

Quoting Paul Johnson <pauljohn32@gmail.com>:

> Hello, openafs list:
>
> I sent this last night, but it did not appear yet, sorry if you get 
> two copies.
>
> Our Sysadmin built an openafs server with very much storage and he
> says Windows clients access it without delay.  On my Linux systems,
> however, I observe some very strange/sluggish behavior.  And I don't
> know if the problem is in the kernel, or my authentication setup, or
> in openafs-client.
>
> I installed openafs by taking your openafs-1.4.0-1 src.rpm file and
> rebuilding so it created the kernel module.  After making the
> configuration changes in /usr/vice/etc and starting the services, I
> *guess* I did everything necessary.  I made no other configuration
> changes.
>
> When I type
>
> $ klog pauljohn
>
> the system waits for between 40 and 50 seconds. THere are no errors,
> and eventually the klog is approved.  The connection is good and I can
> move files in and out of /afs/ku.edu, our cell.
>
> This reminded me of a problem related to firewalls that I have with
> email sometimes.  The email system tries a reverse lookup and if my
> firewall is not opened, then it waits a while, then goes ahead.  But I
> turned off my firewall entirely ("service iptables stop") and the klog
> was still really slow.
>
> How to debug?  Is there some program I could get to monitor what's
> going on while klog is working?
>
> I've searched openafs email archives and see some people mentioning
> stale connection information making klog run slow, but this happened
> on my first connect.
>
> Perhas this is related, but perhaps this is a completely separate
> problem.  Sometimes file access stops abruptly and then restarts a
> minute or so later, and the end of the dmesg output says:
>
> pols110 kernel: afs: Lost contact with volume location server:
>
> $ fs checkservers
> All servers are running.
>
> What do you think?  In the startup information, from var log messages,
> I do find this warning about the "system call table":
>
> ip_conntrack version 2.3 (4084 buckets, 32672 max) - 236 bytes per conntrack
> openafs: module license 'http://www.openafs.org/dl/license10.html'
> taints kernel.
> Warning: failed to find address of system call table
> System call hooks will not be installed; proceeding anyway
> Starting AFS cache scan...<6>tg3: eth0: Link is up at 10 Mbps, half duplex.
> tg3: eth0: Flow control is off for TX and off for RX.
> found 935 non-empty cache files (9%).
> parport: PnPBIOS parport detected.
> parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
>
> What do you think?
>
>
> --
> Paul E. Johnson
> Professor, Political Science
> 1541 Lilac Lane, Room 504
> University of Kansas
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available