My /tmp directory is growing with various logs and contains many other files - Ordinarily I would have NO hesitation in periodically deleting the contents of most /tmp directories however as I relatively new to Linux I am concerned if this will cause problems. I ask the same question about the /var/tmp directory which grows and grows with significant impact to the amount of space its taking up. There are a massive number of sub directories below /var/tmp as well as an abundant number of files in that directory. I am using KDE 3.5.1 Level "a" and my distro is SUSE Linux 10.1 This Site Supports www.tpg.com.au DSLAM ADS: 2/+ @24,000KBPS Scottt Couston
On Saturday 28 October 2006 06:54, Intrusion Detection Account 000 wrote:
My /tmp directory is growing with various logs and contains many other files - Ordinarily I would have NO hesitation in periodically deleting the contents of most /tmp directories however as I relatively new to Linux I am concerned if this will cause problems. I ask the same question about the /var/tmp directory which grows and grows with significant impact to the amount of space its taking up. There are a massive number of sub directories below /var/tmp as well as an abundant number of files in that directory.
I am using KDE 3.5.1 Level "a" and my distro is SUSE Linux 10.1
Scottt Couston
I've asked the same question on the suse-e list this march. Ken Schneider answered: ...The other way is to edit /etc/sysconfig/cron and change the setting for cleaning tmp dirs. # cron.daily can check for old files in tmp-dirs. It will delete all #files not accessed for more than MAX_DAYS_IN_TMP. If MAX_DAYS_IN_TMP is #not set or set to 0, this feature will be disabled. # MAX_DAYS_IN_TMP="30" ... This is what I did and since then my /tmp keeps about the same size. There are more answers in the thread: ( http://lists.suse.com/archive/suse-linux-e/2006-Mar/0843.html ) kind regards Daniel -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com Madagascar special: http://www.sanic.ch --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Intrusion Detection Account 000 <ids000@aphofis.com> [10-28-06 00:56]:
My /tmp directory is growing with various logs and contains many other files - Ordinarily I would have NO hesitation in periodically deleting the contents of most /tmp directories
YaST can control the amount of time that tmp files are maintained: YaST Control Center -> System -> /etc/sysconfig editor search for tmp -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Daniel Bauer
-
Intrusion Detection Account 000
-
Patrick Shanahan