[rt-devel] Re: RT/apache creating many directories in /tmp

Jesse Vincent jesse at bestpractical.com
Wed Nov 19 13:41:17 EST 2003




On Wed, Nov 19, 2003 at 10:37:33AM -0800, Jeff Sheltren wrote:
> Hi Bill, thanks for the info.  I'm not aware of redhat/linux having a
> similar feature - although I could do it pretty easily through crontab
> or cfengine.  It just bugs me because these directories should be
> getting cleaned up by RT in the first place IMO...

They _should_ be getting cleaned up by RT whenever the process using
them exits. I know we did work on this for 3.0.6 or so.  I'd be curious
to hear if people are still seeing it with current releases.

	-j


> -Jeff
> 
> On Wed, 2003-11-19 at 10:24, bill at daze.net wrote:
> > 
> > I discovered this the hard way.  I ran out of room for temp file entries
> > and all RT-destined tickets started bouncing.
> > 
> > I'm using RT 3.0.4 and FreeBSD 4.7.  FreeBSD includes a feature to clear
> > /tmp daily.  It is disabled by default.  I turned it on and my problem was
> > solved (using the bandaid approach).  You might want to check and see if
> > redhat has a similar feature.
> > 
> > For reference, in FreeBSD 4.7 I have a /etc/periodic.conf file containing:
> > 
> > # Please make all changes to this file, not to /etc/defaults/periodic.conf.
> > # This file contains overrides from /etc/defaults/periodic.conf.
> > daily_clean_disks_enable="YES"           # Delete files daily
> > daily_clean_tmps_enable="YES"            # Delete stuff daily
> > daily_clean_tmps_ignore=".X*-lock quota.user quota.group mysql.sock" # Don't delete these
> > 
> > 
> > -Bill
> > 
> > --
> >  <=> ASK and you shall receive <=>
> 
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
> 

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the Rt-devel mailing list