You are not logged in.

#1 2005-11-12 09:02:18

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

kmail / kontact and /tmp (tmpfs) problem

Hello,

I have the following problem. When I work on my box for a long period e.g. (3 days) my /tmp directory gets full. The result of this is that kmail does not receive mail, but it gets a message which looks like:

X-Bogosity: Unsure, tests=bogofilter, spamicity=0.520000, version=0.96.2
X-UID: 
Status: R
X-Status: NC
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  

and deletes the real message from the server. What should I do? Should I put

rm -fr /tmp/*

into cron? Any suggestions?

Thanks in advance,
Jacob

Offline

#2 2005-11-12 10:55:49

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: kmail / kontact and /tmp (tmpfs) problem

Removing everything from /tmp may cause problems.

I'd suggest a cron job that  either identifies some large files there that are safe to delete and/or deletes tmp files not listed by lsof.

Offline

#3 2005-11-12 17:19:52

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: kmail / kontact and /tmp (tmpfs) problem

you could comment the tmpfs line in fstab. That will use temp as a regular directory on your hard drive. The problem with that is it reduces speed because /tmp is no longer using ram.
You may want to run something like htop and find what is eating it all up. How much RAM and swap do you have? If you have little ram you should make swap big enough to compensate.

Offline

#4 2005-11-13 14:54:05

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

Re: kmail / kontact and /tmp (tmpfs) problem

I have 512 MB of ram and my swap partition is 216MB, but it is rather rarely used. I'd prefer not to slow my computer down. /tmp is eaten up by Kaffeine and amaroK. They leave files in /tmp even after being closed.

Offline

Board footer

Powered by FluxBB