Questions tagged [tmp]

90 questions
4
votes
1 answer

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 uuid-named folders, and are never cleaned up. This…
user55427
3
votes
1 answer

Increase TMP size Centos 6.5 whm/cpanel

I'd like to increase it from 2G to 10G Using CENTOS 6.5 WHM 11.40.1 (build 11) I have tried: #vi /scripts/securetmp and looked for a line like “my $tmpdsksize” its not there. But this is what is in my securetmp…
Will R.
  • 33
  • 4
3
votes
4 answers

mysql: Shall I change the mysql tmpdir from /tmp to /var/lib/mysql/tmp

Recently on one of the prodcution servers we have seen the replication being stopped due to the space issues on the /tmp drive which is having less space allocated. I would like to move the tmpdir from /tmp[default] to /var/lib/mysql/tmp Below are…
Uday
  • 133
  • 1
  • 2
  • 6
3
votes
2 answers

Tomcat: deleting content of "logs" and "tmp" directories

I have noticed that "logs" and "tmp" content take 36GB and 21GB respectively. I need to free up some disk space and currently wondering is it vise to clean them. Thanks!
spacemonkey
  • 217
  • 1
  • 3
  • 8
3
votes
2 answers

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?
freddiefujiwra
  • 1,667
  • 5
  • 25
  • 34
3
votes
3 answers

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?
Daniel
  • 3,791
  • 7
  • 33
  • 34
3
votes
1 answer

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 usually goes several months between reboots so I'm…
DWilliams
  • 953
  • 2
  • 20
  • 29
2
votes
1 answer

lsof shows tmp growing file marked as deleted

I have a cron that generated a lot (15GB) of PHP warnings and was writing them in a log file. I killed the process and as a temporary measure I stopped redirecting stderr to stdout so I don't fill up my storage. After the change, I continued getting…
rwms
  • 155
  • 1
  • 2
  • 7
2
votes
1 answer

tmpfiles.d -- difference between `x` and `X` options?

I'm configuring tmp cleanup on CentOS 7. The docs for tmpfiles are a little unclear to me when explaining the difference between the X and x options in tmp.conf. The difference according to the docs is that with the X option, Unlike x, this…
limp_chimp
  • 121
  • 4
2
votes
0 answers

Unexplained massive rmagick temporarily file

Problem We recently ran into a situation whereby some of our server instances were suddenly running out of disc space, evidenced by below graph: The reason for running out of disc space is a single /tmp/magick-??? file, that grows into a 4GB…
Jack
  • 636
  • 4
  • 15
2
votes
2 answers

Dumped a large amount of small files in /tmp/ and rebooted... server not coming back up

I stupidly created a reasonably deep tree (4 folders deep) with the leaf folders containing a large amount of smallish files (over 1 million files around 200kb to 1mb in size). In total the count would be over 80 GB of files. This was created in the…
Ben Boyter
  • 171
  • 4
2
votes
3 answers

What is making /tmp/info-html*.tmp files and how do I stop it?

What is making /tmp/info-html*.tmp files and how do I stop it or configure it to clean these up and/or make these somewhere else? For example, # ll /tmp/info-html* -rw-r--r-- 1 user user 0 Oct 30 2014 /tmp/info-html.tmp -rw-r--r-- 1 user user 0 Oct…
Shovas
  • 263
  • 2
  • 11
2
votes
2 answers

PDFTK: unable to open file for output

I am making use of PDFTK to watermark PDF files using the following command: pdftk /tmp/55180af7c8c88.pdf stamp /tmp/stamp55180af7c95b84.58412952.pdf output /tmp/55180af7c95c81.06110501.pdf However the above results in: Error: Failed to open output…
Abs
  • 1,559
  • 5
  • 19
  • 32
2
votes
1 answer

/var/tmp size increasing. MYD file eating memory

i don't know much about linux file's system. there is centos installed on my machine. suddenly my web stopped working. sql_2031_0.MYD file in /var/tmp/ getting large when something browses in website. it consumes memory and web stopped opening at…
user2349450
  • 135
  • 1
  • 5
2
votes
6 answers

How do I delete everything in the /tmp/ folder?

I do "sudo rm *" and it does not remove everything. (I probably have lots of objects in there which I don't need.) I'm not asking whether it's ok to remove everything in tmp - i'm asking how to do it :) Is there a shell script that can do it?
Alex
  • 8,471
  • 26
  • 75
  • 99