[SLE] My /tmp is growing daily
Starting as abnormal directory my /tmp grows fast until it was again some 5017600 bytes. When I want to look into this directory with midnight commander it takes its time to open the directory and what I found that apart from some other directories, there where 124830 alsa-dmix-xxxx-xxxxxxxxxx-xxxxxx files all o byte. These files only took 11 bytes together but I suppose that just the administration of 124830 files takes a lot of place. This alsa-dmix zero file is made sometimes twenty or more times in a minute. Could somebody explain what is happening? I am running a fully updated 9.3 and KDE 3.52 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
C. Brouerius van Nidek wrote:
Starting as abnormal directory my /tmp grows fast until it was again some 5017600 bytes. When I want to look into this directory with midnight commander it takes its time to open the directory and what I found that apart from some other directories, there where 124830 alsa-dmix-xxxx-xxxxxxxxxx-xxxxxx files all o byte. These files only took 11 bytes together but I suppose that just the administration of 124830 files takes a lot of place. This alsa-dmix zero file is made sometimes twenty or more times in a minute.
Could somebody explain what is happening?
I don't know what "fast growing" is? Within a day, or over several days? If it's the latter, /tmp is probably not cleaned up. Then, edit /etc/sysconfig/cron and set MAX_DAYS_IN_TMP to clean up /tmp in regular intervals. E.g., set it to 7 or 14. Check /var/tmp if it fills up as well. If yes, set MAX_DAYS_IN_LONG_TMP and LONG_TMP_DIRS_TO_CLEAR, too. If your /tmp fills up within one day, you must search for the audio-related application that creates these many files. Then somebody else must help you, I don't do much audio on my workstation. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Joachim Schrod wrote:
C. Brouerius van Nidek wrote:
Starting as abnormal directory my /tmp grows fast until it was again some 5017600 bytes. When I want to look into this directory with midnight commander it takes its time to open the directory and what I found that apart from some other directories, there where 124830 alsa-dmix-xxxx-xxxxxxxxxx-xxxxxx files all o byte. These files only took 11 bytes together but I suppose that just the administration of 124830 files takes a lot of place. This alsa-dmix zero file is made sometimes twenty or more times in a minute.
Could somebody explain what is happening?
I don't know what "fast growing" is? Within a day, or over several days? If it's the latter, /tmp is probably not cleaned up.
Then, edit /etc/sysconfig/cron and set MAX_DAYS_IN_TMP to clean up /tmp in regular intervals. E.g., set it to 7 or 14.
Check /var/tmp if it fills up as well. If yes, set MAX_DAYS_IN_LONG_TMP and LONG_TMP_DIRS_TO_CLEAR, too.
If your /tmp fills up within one day, you must search for the audio-related application that creates these many files. Then somebody else must help you, I don't do much audio on my workstation.
A while back someone - might even have been me - asked the question about how to clean out the /tmp directory so that it doesn't keep rubbish and get bigger. The answer I read I summarised for myself in the following manner: * ALT-CTRL-F1 and logon as root * telinit 1, and logon as root again * then wipe out /tmp with "rm -rf /tmp/*" (without the quotes) * telinit 5 to get back to normal user logon Cheers. -- This computer is environment-friendly and is running on OpenSuSE 10.1 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Joachim Schrod wrote:
C. Brouerius van Nidek wrote:
Starting as abnormal directory my /tmp grows fast until it was again some 5017600 bytes. When I want to look into this directory with midnight commander it takes its time to open the directory and what I found that apart from some other directories, there where 124830 alsa-dmix-xxxx-xxxxxxxxxx-xxxxxx files all o byte. These files only took 11 bytes together but I suppose that just the administration of 124830 files takes a lot of place. This alsa-dmix zero file is made sometimes twenty or more times in a minute.
Could somebody explain what is happening?
I don't know what "fast growing" is? Within a day, or over several days? If it's the latter, /tmp is probably not cleaned up.
Then, edit /etc/sysconfig/cron and set MAX_DAYS_IN_TMP to clean up /tmp in regular intervals. E.g., set it to 7 or 14.
Check /var/tmp if it fills up as well. If yes, set MAX_DAYS_IN_LONG_TMP and LONG_TMP_DIRS_TO_CLEAR, too.
If your /tmp fills up within one day, you must search for the audio-related application that creates these many files. Then somebody else must help you, I don't do much audio on my workstation.
Joachim
Ooops, sorry Joachim I replied to your message and not to the original (which I thought I had kept) :-( . And thanks for the above because it actually gives what is needed to make the cleanup automatic. Cheers. -- This computer is environment-friendly and is running on OpenSuSE 10.1 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
C. Brouerius van Nidek wrote:
Starting as abnormal directory my /tmp grows fast until it was again some 5017600 bytes. When I want to look into this directory with midnight commander it takes its time to open the directory and what I found that apart from some other directories, there where 124830 alsa-dmix-xxxx-xxxxxxxxxx-xxxxxx files all o byte. These files only took 11 bytes together but I suppose that just the administration of 124830 files takes a lot of place. This alsa-dmix zero file is made sometimes twenty or more times in a minute.
Could somebody explain what is happening? I am running a fully updated 9.3 and KDE 3.52
While I don't know the cause of all those files, you can configure the system to automagically delete older files. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (4)
-
Basil Chupin
-
C. Brouerius van Nidek
-
James Knott
-
Joachim Schrod