Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

How to do server cleanup by getting more space?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
AFN
Posts: 43
Joined: Sat Feb 01, 2014 2:03 am

How to do server cleanup by getting more space?
  • Quote

Post by AFN » Thu Apr 20, 2017 4:42 pm

Besides the backups being located in /home/backup which I can delete from the control panel, what about the log files? Do the log files just keep growing in size or do they get replaced every so often so log files don't just keep growing in size?

When there are any backups, is the only place that backups are stored is in /home/backup or is there another place they are stored? If so where?

When I upload something via FTP, are those files stored anywhere temporarily on the server, if so how can I remove the temporary files? What about when I upload something via a third-party application such as through WordPress, are the files temporally stored somewhere on the server before being uploaded to the correct destination?

When I delete a website or a subdomain name from the control panel does it remove every trace of the website or subdomain name?
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: How to do server cleanup by getting more space?
  • Quote

Post by ScIT » Fri Apr 21, 2017 12:42 pm

AFN wrote:Besides the backups being located in /home/backup which I can delete from the control panel, what about the log files?
which log files do you mean? Log is normaly log, so you can remove them.
AFN wrote:Do the log files just keep growing in size or do they get replaced every so often so log files don't just keep growing in size?
Normaly logrotate is setup, so the logs will be archived and older logs zipped.
AFN wrote:When there are any backups, is the only place that backups are stored is in /home/backup or is there another place they are stored?
the backup will be placed in /backups, maybe you have in /home/backups a symlink that points to /backups.
AFN wrote:When I upload something via FTP, are those files stored anywhere temporarily on the server, if so how can I remove the temporary files?
They will be uploaded directly to the folder without any temporary files.
AFN wrote:What about when I upload something via a third-party application such as through WordPress, are the files temporally stored somewhere on the server before being uploaded to the correct destination?
Normaly not, but this manages your third-party extension, maybe they will create some temporary files.
AFN wrote:When I delete a website or a subdomain name from the control panel does it remove every trace of the website or subdomain name?
yes, if you remove a user, the full /home/user directory will be removed. With all files, configurations and logs. Also backups should be removed.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: How to do server cleanup by getting more space?
  • Quote

Post by mehargags » Fri Apr 21, 2017 4:48 pm

It is better NOT to Delete logs but rather Truncate them...

You can run the below command and change minimum value shown in red to see what big files you have.

find / -type f -size +20M -exec ls -lh {} \; | awk '{ print $NF ": " $5 }'
Top

AFN
Posts: 43
Joined: Sat Feb 01, 2014 2:03 am

Re: How to do server cleanup by getting more space?
  • Quote

Post by AFN » Sun Apr 23, 2017 11:55 pm

@ScIT and @mehargags I want to say think you for your replies.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password