The tag has no wiki summary.

learn more… | top users | synonyms

-2
votes
1answer
15 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 ...
0
votes
1answer
45 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, ...
-5
votes
2answers
40 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 = ...
0
votes
2answers
44 views

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 ...
-1
votes
1answer
54 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 ...
0
votes
2answers
176 views

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 ...
6
votes
2answers
1k views

No space left on device error, but df reports as more space available

My PHP sessions on my Debian webserver using Apache2 with mod_php seem to be failing randomly, saying that there’s no space to write them: sudo tail -60 /var/log/apache2/error.log [Fri Jan 30 ...
0
votes
1answer
20 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 ...
-2
votes
1answer
52 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 ...
1
vote
1answer
246 views

Can't create/write to file '/mnt/temp/something' (Errcode: 13)

I changed the tmp directory of the mysql configuration to a mounted disk and on service mysql restart I get following error: Can't create/write to file '/mnt/temp/something' (Errcode: 13) To my ...
0
votes
0answers
27 views

Is there a tmpreaper that reads from a group of conf files

Logrotate is really nice because each component that wants to have logs rotated just need to drop a file in /etc/logrotate.d, and the daemon reads from all of them. Tmpreaper reads from just a single ...
1
vote
1answer
385 views

Suspicious Linux binary file in /tmp/ - Munin?

I have a CENTOS 6.6 x86_64 server running ConfigServer Firewall (installed by us) and Munin (installed by the datacentre). CSF has recently (and for no apparent reason) started sending us warnings, ...
0
votes
2answers
110 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 ...
0
votes
1answer
942 views

php script can't access /tmp folder

I have no open_basedir, php can access /etc /usr /proc /home etc… but not /tmp. tmpfs is mount on /tmp (/tmp type tmpfs (rw)) That's also the reason I want to use the /tmp folder. My files are owned ...
-4
votes
2answers
2k 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 ...
0
votes
1answer
104 views

Re-ocurring issue with keys on temp tables

We run a large forum with lots of reads and writes, particularly to the posts and topics tables which are both innodb. Last week I started doing 12 hourly backups with innobackupex because mysqldump ...
0
votes
2answers
580 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 ...
1
vote
1answer
54 views

Temporary file security threat? [duplicate]

We use CentOS. We've been hacked and trying to figure out why. Looking at the /tmp folder I'm wondering if these are security threats: -rw-rw---- 1 mysql mysql 11665408 Apr 3 18:59 ...
3
votes
1answer
632 views

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 ...
0
votes
0answers
644 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 ...
1
vote
1answer
340 views

/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. ...
1
vote
1answer
59 views

Will changes to periodic.conf file be picked-up by the system automatically?

I have made some changes to my /etc/defaults/periodic.conf file to change how it cleans the /tmp dir. Do I need to do anything else such as log-out or reboot to get the system (Mac OS 10.8.4) to see ...
0
votes
1answer
320 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 ...
0
votes
3answers
95 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 ...
1
vote
1answer
532 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 ...
2
votes
2answers
2k views

/tmp used 100% where is files?

On Centos 6.3 server I noticed that /tmp has no longer free space to store files. [root@]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg0-lv_root ...
0
votes
3answers
221 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 ...
1
vote
1answer
3k 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 ...
2
votes
1answer
237 views

sudo does not preserve TMPDIR

The sudo manpage tells me, that I can preserve the environment by passing the -E option, which does not work in the case of $TMPDIR: > env | grep TMPDIR TMPDIR=/localdata/tmp > sudo env | grep ...
0
votes
0answers
160 views

How to define the upload_tmp_dir for all the accounts?

I'm not really a sysadmin, so bear that in mind. We recently set our server and we have multiple cliente accounts. The problem is the upload_tmp_dir configuration is empty. In an upload script that ...
0
votes
1answer
82 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.
0
votes
1answer
108 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 ...
0
votes
2answers
2k views

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 ...
1
vote
1answer
663 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 ...
0
votes
1answer
471 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 ...
2
votes
1answer
2k views

Using tmpfs + a very large swap partition for /tmp instead of a regular filesystem?

I have Linux server and I have a spare 500GB disk partition. I wanted to format it and use it for /tmp. The server occasionally runs some large data processing tasks so it can happen that /tmp will ...
0
votes
3answers
2k views

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 ...
2
votes
5answers
10k views

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 ...
1
vote
2answers
2k views

delete all folders with tmp in name using batch file

Have tried to google this, but I always seem to get results relating to .tmp files, which isnt really any use. I have only a basic understanding of batch files, but I think I need something like ...
37
votes
5answers
44k views

When does /tmp get cleared?

I'm taking to putting various files in /tmp, and I wondered what the rules on deleting them are? I'm imagining it's different for different distributions, and I'm particularly interested in Ubuntu ...
0
votes
2answers
4k views

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!
0
votes
2answers
10k views

Increasing the size available to, or changing location of, /tmp

I am currently in charge of a server running Red Hat and a bioinformatics webapp that deals with huge files, some of which are over 100GB when uncompressed. The act of decompressing these files is ...
-1
votes
1answer
33 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 ...
1
vote
2answers
370 views

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 ...
2
votes
2answers
489 views

Linux tmp-like dir in home folder?

I'd like to make a folder in my GNU/Linux home directory that behaves somewhat like TMPDIR (usually /tmp or /var/tmp); that is, a folder that deletes its contents on reboot or after they've started ...
0
votes
2answers
96 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 ...
0
votes
1answer
841 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: ...
1
vote
5answers
577 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
206 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
1k 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 ...