hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Need help and advice regarding files in tmp folder
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Need help and advice regarding files in tmp folder

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-30-2003, 09:33 PM
vn411 vn411 is offline
Newbie
 
Join Date: Dec 2001
Posts: 10

Need help and advice regarding files in tmp folder


I just checked the directory /tmp/analog and saw some really big files. A cache file and 6 other html files take up more than 200mb of web storage. Is it ok for me to delete all these stats files in this directory?
Thank you for your help.

Reply With Quote


Sponsored Links
  #2  
Old 05-01-2003, 12:11 AM
superiorhost superiorhost is offline
Aspiring Evangelist
 
Join Date: Apr 2000
Location: Cleveland, TN. USA
Posts: 439
Hi,
If you are on a server with cpanel, you would loose your stats history if you delete these files.

The best bet is to ask your hosts techs to do the job for you so that your stats will not stop after the files are removed.

Tim L

__________________
Web Hosting since 1997.
Superior-Host.com, web hosting

Reply With Quote
  #3  
Old 05-01-2003, 04:07 AM
hololi hololi is offline
Junior Guru
 
Join Date: Dec 2002
Location: London
Posts: 179
my $0.02

I don't know if you are using cpanel or this is just raw linux you are administering.

I recommend that you back them up
(gzip) and store them somewhere else for retrevial at a later date if necessary.


I am surprised that the html files are so big (are you sure its not the xfer logs from the webserver that analog works on that is taking up the space?

if they are web xfer logs, they are simply ascii text they should compress quite well.

the cache file is this a dns cache ? If so this can always be recreated from the raw xfer logs.

If you are not sure do an ls -l and repost the output here


regards...
hololi

Reply With Quote
Sponsored Links
  #4  
Old 05-01-2003, 01:19 PM
vn411 vn411 is offline
Newbie
 
Join Date: Dec 2001
Posts: 10
I'm using cpanel. Those are the stats files that I can view from the cpanel. I never viewed my stats history until yesterday when my site used all of the 20gb monthly bandwidth allowance.
The tech support of my host is usually available on AIM. Last night I didn't see him online, so I came here to ask for help.
Thank you very much to Tim and Hololi for your help. I just want to clean this directory to save web space. I guess it's time for me to submit a support ticket or get another web account for the forum to reduce the space and bandwidth.

Reply With Quote
  #5  
Old 05-01-2003, 02:00 PM
hololi hololi is offline
Junior Guru
 
Join Date: Dec 2002
Location: London
Posts: 179
does you web host allow you to have cron jobs ?

if I was you I'd find a method of doing the following every night ...

download the transfer logs to your own machine
flush the logs

(in that order)

if you cant download everynight I'd ...

copy transfer log to another location and compress
flush the logs

this way you only have 1 day's logs using up space at any one time on your web host machine

if you want I can give you a script that copies compresses and flushes log files. (command line driven through cron not cpanel stuff)

once off line on a different machine you can run your own stats program on the transfer logs 9I recommend analog ...its fast and free)

good luck ..
hololi

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Cloud Storage Firm Mozy Launches Stash File Sync Tool in Beta Web Hosting News 2012-01-26 18:00:33
Pancake.io, DropPages Let Users Host Web Site Files on DropBox Blog 2011-12-08 17:03:11
Web Host eUKhost Adds R1Soft Backup to Reseller and Shared Plans Web Hosting News 2011-11-10 16:28:14
Web Host Hosting Ireland Launches Online Backup Service CloudBox Web Hosting News 2011-09-27 20:00:52
Web Host Future Hosting Adds New Features to CDN Web Hosting News 2011-06-16 17:30:23


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?