Results 1 to 10 of 14
-
24th Mar 2011, 07:07 PM #1OPMember
Drive Critical: /dev/loop0 (/var/tmp)
hi friends,
Can someone please help me?
All day Im received this email from my dedicated server:
Drive Critical: /dev/loop0 (/var/tmp) is 91% full
Drive Critical: /dev/loop0 (/var/tmp) is 100% full
etc...
Some months ago I increased the /tmp partition from 512MB to 2GB, but I think that wasnt enough, because recently I am receiving the notifications again, and when that happens, my cpu load goes to 40/50, very high...
I did a:
cd /var/tmp
ls > list.txt
this is the content of list.txt file:
http://paste2.org/p/1323560
can you please suggest me what to do? Im very newbie in this things
and Im afraid to do something wrong...
Thank youDivvy Reviewed by Divvy on . Drive Critical: /dev/loop0 (/var/tmp) hi friends, Can someone please help me? All day Im received this email from my dedicated server: Drive Critical: /dev/loop0 (/var/tmp) is 91% full Drive Critical: /dev/loop0 (/var/tmp) is 100% full etc... Some months ago I increased the /tmp partition from 512MB to 2GB, but I think that wasnt enough, because recently I am receiving the notifications again, and when that happens, my cpu load goes to 40/50, very high... Rating: 5
-
24th Mar 2011, 07:14 PM #2BannedWebsite's:
xsl.tel xsltel.comrm -rf /var/tmp/*
-
24th Mar 2011, 07:20 PM #3BannedWebsite's:
KWWHunction.comI would advise maybe seting up a cron to clean it once a week =]
-
24th Mar 2011, 07:24 PM #4OPMember
-
24th Mar 2011, 07:26 PM #5Super Member
The command removes all files in the folder /var/tmp
So kiss me and smile for me, say that you'll wait for me <'3
-
24th Mar 2011, 07:27 PM #6BannedWebsite's:
xsl.tel xsltel.comEdit : dupe
-
24th Mar 2011, 07:28 PM #7OPMember
is not a solution for me... the system automatically removes the files...
I only want to prevent the load thing...
cpanel support suggest me this:
It appears that something was writing to /tmp and filling it up, but it appears now to be clearing out. The df cache is still catching up at this time. It is normal for the df cache to be a bit behind on a linux server. I suspect that mysql may be behind the filling of /tmp. I'd recommend setting the tmpdir directive in your /etc/my.cnf to a larger partition. For example, something like the following:
tmpdir = /home/mysql
You should make sure that the directory is owned mysql:mysql and then restart mysql in order for this change to take effect.
-
24th Mar 2011, 07:30 PM #8It begins...
This command:
Code:du -m *
Depending on what you find out from the above command, you can create a cron script to delete those files, say, every hour. Or, if you can figure out what program is generating them, you could change the location they are generated in. And if that isn't possible, then you could prevent them from being generated at all.
OR, if all else fails, increase the size of your tmp partition again.
-
24th Mar 2011, 10:16 PM #9OPMember
thank you for your reply lifetalk.
Btw, do you think that increasing the partition size will solve my problem?
I think that the cron job to delete files every hour will not work, because I notice that the loads increase when files is copying to the partition folder.
I think that the best way is to find what script is causing this...
I have checked my whm logs and found this:
http://i.imgur.com/Pt33f.png
http://i.imgur.com/uDwM8.png
http://i.imgur.com/xE9Qo.png
As you can see, the users sapo and tugapira is the main problem, right?
Both users using wordpress with the same exactly plugins. Could be a plugin that is causing this? If yes, what is the better way to find the guilty one? Or not possible?
Please help, I'm desperate...
-
24th Mar 2011, 10:19 PM #10Member
Follow what cpanel support told your to do, or increase /tmp size
http://forums.cpanel.net/f5/how-resize-tmp-86345.html
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Critical Vulnerability in Windows RDP
By shahaz in forum Hosting DiscussionReplies: 0Last Post: 15th Mar 2012, 10:32 AM -
PHP 5.3.9 Critical Bug - Patch now
By m107 in forum Webmaster DiscussionReplies: 6Last Post: 6th Feb 2012, 08:07 AM -
Drive Space Critical on ...
By Divvy in forum Server ManagementReplies: 11Last Post: 13th Dec 2010, 06:43 PM -
Nginx Critical Security php-cgi bug
By NewEraCracker in forum Webmaster DiscussionReplies: 0Last Post: 3rd Jul 2010, 01:40 PM -
Critical Review: My BLog
By TheRapidshareLinksWorld in forum Site ReviewsReplies: 5Last Post: 21st Nov 2009, 10:57 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...