Beagle may be triggering the bug, but if you are running out of vcaches and don't have 4000 files open, there is a leak in afs somewhere. Can you try "lsof" (or equivalent, I don't remember if this is linux) and find out whether the files are really open?