Re: Large files

Martin Mares (mj@ucw.cz)
Tue, 10 Jun 2003 19:25:40 +0200


Hello!

> On the system that fails, there are no ulimits and it's the root
> account, therefore I don't know how to set the above limit to
> RLIM_INFINITY (~0LU). It's also version 2.4.20. I don't think
> it has anything to do with 'rlim' shown above.

I think it has -- login (or PAM) in most distributions sets the
file size limit to 2GB instead of RLIM_INFINITY. If you are root,
try `ulimit -f unlimited' to see if it helps.

> sending a signal when the file-size exceeds some level is preposterous.

No, it's just the definition of the rlimits. Not leaving them at
RLIM_INFINITY by default is preposterous.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
COBOL -- Compiles Only Because Of Luck
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/