/tmp on tmpfs

Chris Adams cmadams at hiwaay.net
Tue Apr 3 16:05:43 UTC 2012


Once upon a time, M A Young <m.a.young at durham.ac.uk> said:
> On Tue, 3 Apr 2012, Chris Adams wrote:
> >Also, if some user has taken up lots of space in /tmp, you can LART the 
> >user and delete the files; that's no different than a user filling up a 
> >partition by writing to /tmp (no reboot necessary in either case).
> 
> That assumes your system is still functional enough to allow you to do 
> that. In a low memory/high swap situation, which this could easily 
> trigger, logging in and clearing the files could be very slow, and the 
> login process could time out before you get logged in.

Again, if some file in /tmp is the problem, _that_ is liable to be what
gets pushed to swap.  At that point, you are back to something more or
less equivalent to the current situation, with /tmp on disk.  If a user
can cause problems with that, they can already cause problems today.
-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


More information about the devel mailing list