Questions tagged [tmp]
90 questions
1
vote
1 answer
How much space is in a Solaris /tmp filesystem?
On Solaris, the /tmp filesystem is a filesystem of type "tmpfs". It's implemented in the kernel by allocated space from the virtual memory pool. That means allocation interacts with the available RAM on the machine and the swap space available.
If I…

Chris Quenelle
- 183
- 2
- 7
1
vote
2 answers
How long do uploaded files stay in the tmp folder in Linux Ubuntu?
I am building a web application where my users will be able to upload files. After the files are uploaded I need to send the files to two other servers, and after they will be deleted from the server where they were just uploaded to.
I am wandering…

jnbdz
- 927
- 5
- 24
- 46
1
vote
1 answer
Compiling passenger-install-nginx-module; "C compiler gcc is not found"
I am in the middle of a process of installing Redmine served with passenger and nginx with this tutorial. With the passenger-install-nginx-module, it works fine and during compiling it outputs an error with this,
Compiling and installing Nginx...
#…

MacMac
- 2,061
- 10
- 31
- 38
1
vote
2 answers
Possible causes of PHP /tmp device full error
I am getting the following error on the odd occasion on our web server:
Warning: session_start(): open(/tmp/sess_7ifl201pvdd91rr6tr4015n5k4,
O_RDWR) failed: No space left on device (28) in
/home/some/script/on/my/site/script.php on line ##
My…

David
- 841
- 3
- 14
- 31
1
vote
5 answers
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.
I looked in /var/log/messages and do not see…

Belmin Fernandez
- 10,799
- 27
- 84
- 148
1
vote
2 answers
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?

slashmais
- 263
- 1
- 9
1
vote
4 answers
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 command/tool or if you just point me to where I can find…

Sergey G
- 475
- 1
- 4
- 6
1
vote
4 answers
/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 the file when done. Its execution time can take up…

clorz
- 269
- 2
- 10
1
vote
2 answers
Logrotate is not working in /tmp
I'm facing a strange problem with logrotate on my Debian 10 server.
All in one, logrotate (v3.20.1) is working and rotating fine... except for some files in /tmp that I want to "skrink" every day. Thoses logs are cvs files from collectd that I don't…

sbocquet
- 23
- 5
1
vote
0 answers
Windows Creating tmp Files When Rotating Images
Windows server 2016 Standard
Client PC's Windows 2010 Enterprise 2019
We have a shared folder that contains images (jpgs), we've noticed that when an image is opened in the default windows image viewer (double clicking) and rotated then saved, a new…

TheOrdinaryGeek
- 429
- 1
- 4
- 13
0
votes
1 answer
How large should the mysql temp folder be when altering table information like auto increment?
If I have 500GB table size, how big should the temp folder be in order to alter table information? I will be configuring temp in my.cnf and, in this example, I have 64 GB physical ram.

jmazaredo
- 202
- 5
- 13
0
votes
2 answers
Linux Mint 19 through WDS PXE does not boot
I find myself stuck trying to make linux mint 19 available from my wds.
I can boot windows, ubuntu, centos, debian, kali linux AND linux mint 18 with minimal problems but linux mint 19 just won't boot.
Curent menu file :
DEFAULT …

Carobell
- 331
- 4
- 16
0
votes
0 answers
Is /tmp ever cleared on my servers and VM that don't get
Random curiosity had me look up when exactly /tmp was cleared, to discover that most OS do it at shutdown or boot up. I had always thought it was more of a "whenever we need to reclaim space" logic.
This makes me wonder about all my cloud VMs, when…

dsollen
- 103
- 1
- 5
0
votes
1 answer
Cannot create symlink from /var/tmp to /tmp. Cannot delete /var/tmp - CentOS 7
I cannot delete /var/tmp as it says,
# rm -Rf /var/tmp
rm: cannot remove ‘/var/tmp’: Device or resource busy
Because of this, I cannot create a symbolic link from /var/tmp to /tmp.
How can I achieve this ?
Output of df
| Filesystem | 1K-blocks |…

J Doe
- 1
- 2
0
votes
2 answers
Windows Server: any built-in application that cleans TEMP folder(s)
Using Windows Server 2012 R2:
My application creates many temp files in a service account's temp folder:
C:\Users\SVC_ACCT\AppData\Local\Temp\
I need to build a PowerShell script that cleans the content of the temp folder every night, outside of…

Allan Xu
- 685
- 2
- 6
- 12