Re: extremely slow "ls" on a cleared fatty ext3 directory on FC4/5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2006-08-13, Theodore Tso <tytso@xxxxxxx> wrote:
>
> Not without rebooting, but probably it will required scheduled
> downtime where you kick all of the users off, and then recreate the
> tmp directory --- either using rsync, or just doing a plain old "rm
> -rf /tmp; mkdir /tmp".  

Shouldn't require downtime if you do a quick:

	mv /tmp /tmp-old ; mkdir --mode=1777 /tmp 

Plus maybe moving the file from /tmp-old/ to /tmp/... and /tmp-old can be 
deleted as soon as no processes accessing it. Check with fuser/lsof.


> If users are expecting that files stick around
> in /tmp, that's huge cultural problem, and it will come back to haunt
> you in multiple ways....

Yep, I like keeping /tmp on tmpfs, which is what it says it is...


  -jf

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux