Ec2 instance down with error: cannot create temp file for here-document
Usage of /: 94.9% of 7.87GB
and from the updated question
/dev/xvda1 7.9G 7.5G 13M 100% /
5% of disk space is reserved by default for system use. Your / shows 94.9% full so effectively your filesystem is full. Take a look at the output of du -sh /
and df -h
, if they both show broadly the same usage then it is likely that your filesystem is being filled by a large file that you will need to track down and deal with (even more likely a log file). Use
du -h --max-depth=1 /
Check the output carefully for the high usage files/directories. Deal with files appropriately and directories by rinse and repeat (if /var shows high usage)
cd /var
du -h --max-depth=1 .
and so on. Eventually you will find a file (or series of files) that you will want to delete. The safest way to go this is to shutdown the service that is using the file, delete it (after archiving it if you care), and then start the service again.
If the output of the df
and du
commands above differs considerably then it's likely that there is a deleted file that is being held open by a process. Use the command
lsof +L1
to track down the file and then restart the process that is holding it open.
If neither of these work then you may need to fsck the filesystem.
Related videos on Youtube
Michael
Updated on September 18, 2022Comments
-
Michael over 1 year
I have a select box
<select name="template" id="id_template"> <option value="" selected>---------</option> <option value="1">twobytwo</option> <option value="6">twovert</option> <option value="7">twohoriz</option> </select>
And I have images for each select
/static/img/twobytwo.png
/static/img/twovert.png
/static/img/twohoriz.png
How can I create a tooltip so that when a user hovers over an option, it displays the image associated with the option? All I've found is this which is close but not quite there http://jsfiddle.net/ndrDc/151/
Thanks
-
AidanM about 6 yearsHave you tried looking at the jQueryUI tooltip section? jqueryui.com/tooltip
-
dfsq about 6 yearsNo, not possible.
-
Michael about 6 yearsYes it is possible, I just found a solution.
-