The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
4answers
766 views

Cleanup of /tmp

What mechanism controls how often/when the /tmp directory is cleaned up. If there is such built-in mechanism at all or do I need to resort to a custom cron? I'd appreciate either a specific ...
1
vote
4answers
1k views

/var/tmp and file lifetime

I've got a cronjob that runs every minute and checks existence of a certain file. If there's no such file, job silently ends. If there is a file, then another script is started. That script removes ...
3
votes
1answer
2k views

Does Ubuntu Server have any sort of cron job to automatically clear /tmp?

I know it clears out /tmp on reboots, but I haven't been able to find any sort of cron job on my server that clears /tmp. I recently set up a script that writes lots of files to /tmp and my server ...
0
votes
1answer
941 views

Apache: tmp is not writable

I've installed Drupal on a new webserver and I get the following errors: warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/tmp) is not within the allowed ...
0
votes
1answer
2k views

JBoss 5.1.0.GA and huge vfs-nested.tmp

I noticed this while running a performance test with JMeter. For first half an hour everything was fine and the /server/all/tmp directory size was around 36M. Then suddenly the tmp directory grew up ...
2
votes
1answer
412 views

Is it all right to just delete /tmp/* and all the apache logs files (access.log, error.log)?

They are just taking too much disk space, is it safe to delete them? Is there anything I have to take special care of when I set up a crontab job to do the deletion routinely? Thanks!
0
votes
1answer
368 views

Can I delete CGI*****-* files in /tmp dir

We have a bunch of different applications running on a web server and some of them started falling over; Quickly checking disk space we realised the tmp folder on a seperate partition had become full ...
1
vote
5answers
16k views

How to change default /tmp to /home/user/tmp

Is there an environment variable to set the temporary directory on debian based systems? I have a java applet that uses that environement variable and it's getting confused when launching two ...
29
votes
4answers
14k views

How useful is mounting /tmp noexec?

Many people (including the Securing Debian Manual) recommend mounting /tmp with the noexec,nodev,nosuid set of options. This is generally presented as one element of a 'defense-in-depth' strategy, by ...
3
votes
5answers
7k views

Resize debian /tmp partition

My /tmp partition keeps running out of space on a very large SQL query. How can I make the /tmp partition bigger? Thanks Tom EDIT: Here are the outputs from the requested commands blkid ...
1
vote
5answers
1k views

fopen() failing to open a file on /tmp share

I have a C application that occasionally fails to open a file which is stored on a /tmp share. Here is the relevant chunk of code: // open file and start parsing notStdin = strcmp(inFile, "-"); ...
4
votes
2answers
2k views

Why are files being removed from /tmp?

I use centOS5, but these files of /tmp is deleted automatically when time passes. What kind of structure will this kill him in? In addition, How to stop this?