Score:0

unusual large number of fs.file-max

at flag
ves

I have a machine running ubuntu desktop 20.04 and looking at the fs parameters could not believe the file-max value: 9223372036854775807 which is the largest 64 bit signed integer. I never touched this parameter and cannot say how i ended with this value. The only fs parameter I have in sysctl.conf is fs.inotify.max_user_watches = 1048576 The machine which is hosting several services for my personal use is working fine since years now. The question I have is this a valid value, or an error in reporting? should I change it to some reasonable value like ... 2000000 or should I leave it like that?

Doug Smythies avatar
gn flag
it is the same on my 20.04.3 test server. I did not know the command to look, so for other readers: `cat /proc/sys/fs/file-max`
guiverc avatar
cn flag
Why do you think it's unusual? 2⁶³−1
Pilot6 avatar
cn flag
Why does this bother you? Why would you want to limit max file size?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.