[OpenAFS-devel] How can the mem cache possibly not be able to allocate memory?

Nathan Neulinger nneul@umr.edu
Wed, 7 Apr 2004 20:48:53 -0500


This is on a box with 2.4.24, with 4GB of RAM.

Apr  7 13:28:07 nic1 kernel: Starting AFS cache scan...afs_osi_Alloc:
Can't vmalloc 8192 bytes.
Apr  7 13:28:07 nic1 kernel: afsd:  memCache allocation failure at 54624
KB.
Apr  7 13:28:07 nic1 kernel: afsd: memory cache too large for available
memory.
Apr  7 13:28:07 nic1 kernel: afsd: AFS files cannot be accessed.

>From boot time dmesg:

Apr  7 13:27:51 nic1 kernel: Memory: 4008596k/4194304k available (2244k
kernel code, 53668k reserved, 1432k data, 168k init, 3145152k highmem)

That just plain doesn't make any sense... I tried to give it a 75MB
memcache... Is there something with how afs is trying to allocate kernel
memory that would limit what it could use? 

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
UMR Information Technology             Fax: (573) 341-4216