Hello, On Tue, Feb 04, 2025 at 09:33:47PM +0100, Samuel Thibault wrote: > Samuel Thibault, le ven. 10 janv. 2025 19:40:05 +0100, a ecrit: > > Diego Nieto Cid, le mar. 07 janv. 2025 18:48:49 +0000, a ecrit: > > > I've been running gnumach with this patch for some time, doing other > > > porting/debugging tasks and suffered from sporadic filesystem corruption. > > > > Probably ext2fs doesn't really cope well with memory allocation > > limitation? > > We'd probably want to make root-owned ext2fs remove its limit. >
I've been using a modified patch that panics when limit is hit but was unable to reproduce the filesystem corruption :( However, since raising the limit to the max value for the root filesystem is something we rather have than not, I should probably start looking at it. I have a question, though. Should ext2fs go through glibc setrlimit? Or is it ok to call directly the new RPC? In the first case, I'm not very familiar with glibc codebase. Where is the Git repository located? > non-root-owned ext2fs might still die, one would probably want to make > them behave, defaulting to making sure not to fill their cache with more > than AS_LIMIT minus some margin. > Ok, but I'll leave it as a second stage, after investigating all the concepts in that statement :D Thanks, Diego