The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
5answers
706 views

Scratch files in /tmp getting mysteriously deleted

I have certain files in a /tmp subdirectory that a script I wrote uses for scratch. The opens and closes these file perfectly fine for a few hours. Then, out of nowhere, the files are no longer found. ...
3
votes
3answers
213 views

Can you put user temp files in /tmp?

Can you put files in /tmp? A friend of mine was telling me never to do that, it could bring down a machine. Is this true?
2
votes
1answer
2k views

What is the most efficient way to handle /tmp and disk quotas on Linux

I'm running a VPS with a webserver (Apache+PHP), a database (MySQL) and smtp server (Exim). OS: Debian Lenny. RAM: 512MB. Using (quota](http://packages.debian.org/lenny/quota). At the moment, I've ...
1
vote
2answers
150 views

Longevity of entries in /tmp on a server

On a server that's up 24/7/365: where and how are the cleanup of /tmp (and /var/tmp) defined / controlled / configured?
3
votes
1answer
2k views

JBoss 5: $JBOSS_HOME/server/$INSTANCE/tmp cleanup

I've noticed since moving to jboss 5, tmp files for each instance are handled differently. In jboss 4, the entire directory was purged at each jboss restart. In 5, the applications are exploded to ...
1
vote
4answers
813 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
3k 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
1k 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
3k 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
425 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
389 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 ...
5
votes
5answers
26k 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 ...
30
votes
5answers
17k 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
8k 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
2k 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
3k 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?