Go Back   Cloud Computing > Support > Linux Server Hosting
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-11, 03:06
BOD Member
 
Join Date: Dec 2010
Posts: 142
Default Clean tmp folder from my linux server

Hello,
My tmp folder taking up much more disk space. I want to clean the content of tmp folder from my Linux server. What can I do for that?
Reply With Quote
  #2 (permalink)  
Old 05-16-11, 03:27
BOD Member
 
Join Date: Dec 2010
Posts: 227
Default

At first you have to check that now what is present in the in the /tmp partition. You can clean the session files on the server from the /tmp partition. The ones starting with sess_ OR session.

Is there any way you can let us know as to what is currently present in the /tmp partition ?
Reply With Quote
  #3 (permalink)  
Old 05-16-11, 03:51
BOD Member
 
Join Date: Dec 2010
Posts: 142
Default

I don't have any clear idea about the content of tmp folder but I want to delete full content. The reason is that it's no use.
Reply With Quote
  #4 (permalink)  
Old 05-16-11, 04:16
Moderator
 
Join Date: Nov 2010
Posts: 476
Default

Quote:
Originally Posted by 25DORIS View Post
Hello,
My tmp folder taking up much more disk space. I want to clean the content of tmp folder from my Linux server. What can I do for that?
No, you can't delete all the things exist in your tmp folder. You require to keep things such as mysql.sock.

You can delete all sess files from the /tmp folder with :
Quote:
# cd /tmp

# rm -rf sess_*
Reply With Quote
  #5 (permalink)  
Old 05-16-11, 04:29
BOD Member
 
Join Date: Nov 2010
Posts: 277
Default

You can also find what is so big which is utilizing disk space and delete that files
Quote:
#cd /tmp
# ls -lhS
Also, if you have eAccelerator software installed on your server then you require to clear the cache. You can do that by simply removing the eaccelerator files in "/tmp/eaccelerator".
Reply With Quote
  #6 (permalink)  
Old 05-16-11, 04:36
BOD Member
 
Join Date: Dec 2010
Posts: 142
Default

Thank you wmaster, webmaster and debasri for describing in detail. I was about to delete full content of tmp folder.

Thank you guys for helping me!!!
Reply With Quote
  #7 (permalink)  
Old 05-16-11, 04:50
BOD Member
 
Join Date: Dec 2010
Posts: 227
Default

Quote:
Originally Posted by 25DORIS View Post
Thank you wmaster, webmaster and debasri for describing in detail. I was about to delete full content of tmp folder.

Thank you guys for helping me!!!
Happy to know that you succeed to clear the /tmp partition without any trouble .
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 20:48.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.