[OpenAFS-devel] cmdebug bails out at 10000
Harald Barth
haba@kth.se
Fri, 10 Oct 2008 12:03:37 +0200 (CEST)
cmdebug.c:
static int
PrintCacheEntries32(struct rx_connection *aconn, int aint32)
{
register int i;
register afs_int32 code;
struct AFSDBCacheEntry centry;
char *cellname;
for (i = 0; i < 10000; i++) {
code = RXAFSCB_GetCE(aconn, i, ¢ry);
...
Can someone fix that 10000? It bites me every time I really need
cmdebug... My cache defaults are currently:
Chunk files: 50000
Stat caches: 16000
Data caches: 8000
Volume caches: 256
Chunk size: 1048576
Cache size: 1828000 kB
Set time: no
Cache type: disk
So something like 1000000 could be a better arbitrary limit. If it
needs a limit at all.
Harald.