Questions tagged [tmp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
5k views

PHP can't write to /tmp folder anymore after Apache update

Linux dist: Ubuntu 18.04.5 LTS Server version: Apache/2.4.29 PHP Version: 7.4.20 with PHP-FPM Recently this server did an automatic upgrade of Apache and ever since PHP can't write to /tmp breaking ...
PHP Guru's user avatar
  • 121
1 vote
1 answer
4k views

How to prevent tmpfs /tmp causing machine to run out of memory?

I have a virtual server (Debian 8.5, OpenVZ) that seems to run out of memory* when tmpfs-based /tmp is about 60% full. (* while the system reports 2GB of memory still free, processes start to behave ...
Kornel's user avatar
  • 1,155
1 vote
1 answer
6k views

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 ...
Chris Quenelle's user avatar
1 vote
1 answer
2k views

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 ...
MacMac's user avatar
  • 2,141
1 vote
2 answers
661 views

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" ...
sbocquet's user avatar
1 vote
0 answers
196 views

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 ...
TheOrdinaryGeek's user avatar
1 vote
1 answer
1k views

tmpwatch not deleting folders and mp3 files in /tmp

I have a process which moves files from our EC2 server to s3, we're not sure why but it stores them in /tmp whilst moving them, but for some reason it also leaves them there once the process has ...
Danny Shepherd's user avatar
0 votes
3 answers
113 views

/tmp flooded with ".myapp" files

On my new server (dedicated, CentOs5), 2 or 3 .myapp files (like "51b9dc4cc246f.myapp", ~500 Mo) is created every minute under /tmp, fulling my harddisk at an alarming speed. There is nothing in ...
Nicolas Reynolds's user avatar
0 votes
2 answers
2k views

How to backup your MySQL database when /tmp is read only?

I have an Ubuntu server 12.04 with a corrupted ext4 file system on my /tmp partition : $ dmesg | tail [25300713.878456] end_request: I/O error, dev vda, sector 2019854 [25300713.882430] Aborting ...
Bite code's user avatar
  • 409
0 votes
2 answers
4k views

removed files from /tmp/ directory - can't login anymore

I'm a system integrator(evidently noob), and today i've made my first scan with rkhunter, a tool that look into the system for check the presence of rootkits. After that scan i -foolishly- decided to ...
lese's user avatar
  • 192
0 votes
1 answer
2k views

/tmp always gets full even after resize

I have a cPanel Server with 4GB of Ram and 4GB of /tmp space. I always get this error: Will this cause slow performance? and can I delete everything? Drive Critical: /tmp (/var/tmp) is 95% full ...
Zim3r's user avatar
  • 1,544
0 votes
1 answer
528 views

Delete files from /tmp/ CentOS6

I'm running Centos6 and inside mt /tmp/ folder I see these files drwxr-xr-x. 2 root root 4096 Jan 14 2016 fileinstall-1059639640221211034 drwxr-xr-x. 2 root root 4096 Jan 30 2021 ...
fanpero87's user avatar
0 votes
1 answer
1k views

Debian 8 + PHP: /tmp/ Permission denied

I had a website running fine on Debian 7 + PHP 5.6, and recently decided to upgrade my Debian installation to Debian 8. Everything went fine, except for a small thing. While running the same code, ...
TCB13's user avatar
  • 1,238
0 votes
1 answer
1k views

PHP fails to start sessions - disk corrupted?

In my Linux server, I can't login to my PHP application having an issue related to PHP sessions: PHP Error Logs: [Sat May 21 21:27:50 2011] [error] [client ] PHP Warning: Unknown: open(/tmp/...
taras's user avatar
  • 269
0 votes
2 answers
3k views

Why is Docker volume world-writable if set to /tmp?

For the context : docker --version Docker version 20.10.7, build 20.10.7-0ubuntu5~20.04.2 test 1 : volume is /myvolume Here's my Dockerfile FROM alpine:latest USER 1000:1000 VOLUME /myvolume and ...
Httqm's user avatar
  • 245
0 votes
1 answer
537 views

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's user avatar
  • 202
0 votes
2 answers
1k views

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....
Carobell's user avatar
  • 341
0 votes
2 answers
1k views

Unable to clear up tmp

I had a bunch of files in /tmp that I cleared up by doing $ rm -rf ./tmp/*. However, I'm still unable to 'clear' that information, even after a reset. Here is what I have now: $ cd Av-bash: cannot ...
David542's user avatar
  • 979
0 votes
1 answer
236 views

deletion of tmp directory content on RHEL

we have installed Web logic server 10.3.6 in RHEL 5.8.There also a "tmp" folder inside "domains/servers/tmp" folder..this is the path of tmp folder in my case.Now My query is "Is it Mandatory to ...
rihi kalian's user avatar
0 votes
1 answer
2k views

Email queue won't send - No disc space left (running Centos 6.3)

I hope anyone can help me out with the following issue. I'm no longer receiving emails because they are getting stuck in the email queue. I've tried the following: System reboot (even between the ...
Peter van Dam's user avatar
0 votes
3 answers
475 views

Purge tmp directory per user

I've created on my fresh server a directory structure like this: /home/$username/$domain/ (for example: /home/domaincom/domain.com/) - public_html - logs - conf - tmp Everything works well, but ...
user160403's user avatar
0 votes
1 answer
255 views

Ephemeral Amazon disc mounted in /tmp

I would like to know what do you think about mounting the ephemeral disc in /tmp when using Ubuntu in AWS.
AngocA's user avatar
  • 111
0 votes
1 answer
983 views

using /tmp partition instead tmp folder under root partition

I’m very new on using Linux (Debian) and have following question. I installed debian and during the process also created separate partition for /tmp. How can I now make sure that server programs use ...
Mark's user avatar
  • 9
0 votes
1 answer
502 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 -...
Christopher Lightfoot's user avatar
0 votes
0 answers
342 views

Wordpress error PCLZIP_ERR_MISSING_FILE (-4) when I'm trying to install, update a plugin, but the error is solved temporarily if I restart the server

Whenever I try to install or update a wordpress plugin, I get this error: PCLZIP_ERR_MISSING_FILE (-4) This is also happening if I edit a template from a layout manager or if I do anything that ...
user832's user avatar
0 votes
2 answers
3k views

what's root cause of "A start job is running for Create Volatile Files and Directories"

Stuck at "A start job is running for Create Volatile Files and Directories" after reboot a server(Debian 9.5, 64bit), and solve by this "boot-stuck-at-a-start-job-is-running-for-create-...
VictorLee's user avatar
0 votes
0 answers
34 views

Trojan:PHP/Obfuse.AR!MSR Detection by Windows Defender [duplicate]

I have an AWS server running Windows 2016 Datacenter. From the past few days, Windows Defender has been reporting Trojan:PHP/Obfuse.AR!MSR pointing to random phpXXXX.tmp files inside C:\Windows\Temp ...
Prashant Agarwal's user avatar
0 votes
0 answers
116 views

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. ...
dsollen's user avatar
  • 103
0 votes
1 answer
2k views

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 ...
J Doe's user avatar
  • 1
0 votes
2 answers
554 views

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 ...
Allan Xu's user avatar
  • 695
0 votes
0 answers
1k views

Mysql tmp file cause site exception error crash

Running Magento and every 3-15 days or so (fairly random) I get this error: exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/#...
cshaun's user avatar
  • 1
0 votes
2 answers
194 views

applications unable to use /tmp

The disk on a Ubuntu server filled up causing a website to fail and some database corruption. After freeing some space (rogue wordpress backup plugin) and reimporting the database we found some ...
ollybee's user avatar
  • 568
0 votes
1 answer
2k 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 path(s)...
aneuryzm's user avatar
  • 1,754
0 votes
1 answer
4k 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 ...
Petteri H's user avatar
  • 227
-1 votes
1 answer
2k views

How to cleaning up /tmp

I have a CentOS web server with many clients on it. I see the /tmp reached DISKCRITICAL just after about two months since I made 8 GB (after expansion from 4 GB)! I want to know the reasons that make ...
Aymen's user avatar
  • 1
-1 votes
1 answer
2k views

Is It safe to delete all files/directories from /tmp folder on ubuntu 14.04 rackspace server? [closed]

I am getting error unable to connect with mysql. when I googled I found It's because of size. It's showing /tmp 100% used. so can I completely remove all files from/tmp folder ? #df -m /tmp ...
kamlesh.bar's user avatar
-1 votes
1 answer
49 views

massemail with attachment - tmp folder

I have a small mailing php script and I would like to extend it with attachment function (we have a DB for our staff to get contact with them). As far as I understand I need a /tmp folder to be able ...
TryHarder's user avatar
  • 259
-2 votes
1 answer
754 views

Var folder maxing out /dev/mapper/vg00-var

Over the past few years we have had multiple linux servers have the same problem time and time again, our /dev/mapper/vg00-var folder max out at 100%. which means all sites on the server die. We have ...
Gismmo's user avatar
  • 101
-2 votes
1 answer
76 views

PHP website grinds to halt for an hour, then runs fine....how to debug?

I have a PHP website which uses $_SESSION variables. It runs on Apache, Mysql and Ubuntu 14.04 on a very resourceful server (Amazon EC2 - M3.X-large) For some unknown reason, the website virtually ...
richelliot's user avatar
-4 votes
2 answers
11k views

insufficient space in download directory /var/cache/yum/updates/packages [closed]

I try to install vim-enhanced using #yum install vim-enhanced I got an error like this insufficient space in download directory /var/cache/yum/updates/packages I found some answers to the this ...
Roledenez's user avatar
  • 101
-5 votes
2 answers
167 views

Why isnt this sudoer command run as root? [closed]

I want to give PHP access to a very specific script using a configuration under /etc/sudoers.d. So I did the following: visudo -f /etc/sudoers.d/99-php And entered this sudo rule: www-data ALL = (...
Mr. Developerdude's user avatar

1
2