Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th July 2012, 11:23
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 150
Thanks: 31
Thanked 5 Times in 5 Posts
Default Server HDD storage full

Hi,

I have latest ispconfig3 on Debain Sequeeze on VPS with 5 GB of HDD space.

I do not have much data on my server but over a period HDD storage is Full.

Request you to advice, how to clean up HDD( with path), so I can delete unnecessary files from server

Thanks

BR
Reply With Quote
Sponsored Links
  #2  
Old 29th July 2012, 10:02
rosehosting rosehosting is offline
Member
 
Join Date: Jun 2012
Posts: 39
Thanks: 0
Thanked 7 Times in 6 Posts
Default

Quote:
Originally Posted by abintipl View Post
Hi,

I have latest ispconfig3 on Debain Sequeeze on VPS with 5 GB of HDD space.

I do not have much data on my server but over a period HDD storage is Full.

Request you to advice, how to clean up HDD( with path), so I can delete unnecessary files from server

Thanks

BR
I'm not sure if ISPconfig3 stores some data somewhere, but generally to free up some space you can always clean old log files, remove temporary data in '/tmp' and/or '/var/tmp', clean the cache of your package manager etc...

Firstly, You need to determine what is taking up your space. You can do this by using the 'du' command line utility or 'ncdu' which is ncurses based version of 'du'.

for example here's a sample usage of calculating the size of my '/var' directory:

Code:
du -csxh /var/*
56K     /var/bind
6.4M    /var/cache
62M     /var/db
72K     /var/empty
68M     /var/lib
4.0K    /var/lock
129M    /var/log
0       /var/mail
0       /var/named
112K    /var/run
13M     /var/spool
25M     /var/tmp
319M    /var/www
620M    total
hope that helps
Reply With Quote
  #3  
Old 29th July 2012, 11:17
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 150
Thanks: 31
Thanked 5 Times in 5 Posts
Default Hdd

Hello,

Thank you for your reply

mine looks something like this

root@server1:~# du -csxh /var/*
8.0K /var/backup
3.1M /var/backups
405M /var/cache
246M /var/lib
4.0K /var/local
12K /var/lock
58M /var/log
164K /var/mail
4.0K /var/opt
124K /var/run
760K /var/spool
4.0K /var/tmp
1.1M /var/vmail
640M /var/www
1.4G total
Reply With Quote
  #4  
Old 29th July 2012, 12:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I suggest you first delete old, unneeded web access logs (and maybe also error logs).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 29th July 2012, 21:46
pititis pititis is offline
Senior Member
 
Join Date: Dec 2010
Location: München
Posts: 364
Thanks: 39
Thanked 90 Times in 68 Posts
Default

Quote:
Originally Posted by abintipl View Post


root@server1:~# du -csxh /var/*
405M /var/cache
1.4G total
You should run:

Quote:
apt-get clean
I guess your /var/cache/apt/ is full of downloaded packages.

Cheers
Reply With Quote
  #6  
Old 1st August 2012, 09:14
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 150
Thanks: 31
Thanked 5 Times in 5 Posts
Default Hdd

Dear Sir,

Yes, I have freed some HDD space after running apt-get clean

Further, is it safe to delete from

/var/log/ispconfig/httpd/mydomain.com, I have few logs in every website folder, some of files are as under;

20120730-access.log.gz

Please confirm you I move ahead

Thank you for your support making me learn more and more about Ispconfig

regards
Reply With Quote
  #7  
Old 1st August 2012, 10:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,197
Thanks: 829
Thanked 5,419 Times in 4,261 Posts
Default

You can delete the .gz log files. They get removed automatically after 30 days anyway.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 1st August 2012, 10:12
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 150
Thanks: 31
Thanked 5 Times in 5 Posts
 
Default Hdd

Thank you sir
Reply With Quote
Reply

Bookmarks

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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
local ip:8080 just downloads a file called download or index.php dr_patso Installation/Configuration 5 20th September 2011 20:54
Debian 5 Ajax error + network interface always shutting down ev0css Installation/Configuration 3 5th June 2010 12:58
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
Can't start apache Musty Server Operation 12 9th March 2008 13:58
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 16:11


All times are GMT +2. The time now is 20:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.