Linux NFS development
 help / color / mirror / Atom feed
* nfsd: unable to allocate nfsd_file_hashtbl
@ 2022-02-24 10:13 Amir Goldstein
  2022-02-24 11:07 ` Jeff Layton
  0 siblings, 1 reply; 5+ messages in thread
From: Amir Goldstein @ 2022-02-24 10:13 UTC (permalink / raw)
  To: Jeff Layton; +Cc: Linux NFS Mailing List, Neil Brown, Chuck Lever

Hi Jeff,

I got some reports from customers about failure to allocate the
nfsd_file_hashtbl on nfs server restart on a long running system,
probably due to memory fragmentation.

A search in Google for this error message yields several results of
similar reports [1][2].

My question is, does nfsd_file_cache_init() have to be done on server
startup?

Doesn't it make more sense to allocate all the memory pools and
hash table on init_nfsd()?

Thanks,
Amir.

[1] https://unix.stackexchange.com/questions/640534/nfs-cannot-allocate-memory
[2] https://askubuntu.com/questions/1365821/nfs-crashing-on-ubuntu-server-20-04

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-24 16:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-24 10:13 nfsd: unable to allocate nfsd_file_hashtbl Amir Goldstein
2022-02-24 11:07 ` Jeff Layton
2022-02-24 15:14   ` Chuck Lever III
2022-02-24 15:53     ` Jeff Layton
2022-02-24 16:08       ` Amir Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox