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 General Discussion
  • Search

/backup filling up with tmp files

General questions about VestaCP
Post Reply
  • Print view
Advanced search
11 posts
  • 1
  • 2
  • Next
missionaryman
Posts: 50
Joined: Mon Oct 27, 2014 10:04 am

/backup filling up with tmp files
  • Quote

Post by missionaryman » Sun Sep 24, 2017 3:42 pm

Hi,

My backup folder is /backup

Over the last few days, it's been filling up with tmp files, until /var/root becomes 100% full, and then all kinds of crap happens. Every time I empty it, it refills in a few hours.

Here's a directory listing:

Code: Select all

-rw-r----- 1 admin admin 701317120 Aug 13 03:05 admin.2017-08-13.tar
-rw-r----- 1 admin admin 701440000 Aug 20 03:05 admin.2017-08-20.tar
-rw-r----- 1 admin admin 701644800 Aug 27 03:04 admin.2017-08-27.tar
-rw-r----- 1 admin admin 701900800 Sep  3 03:04 admin.2017-09-03.tar
-rw-r--r-- 1 root  root        565 Sep 24 16:38 admin.log
drwxr-xr-x 6 root  root       4096 Sep 24 15:33 tmp.0mtnWMLV38
drwx------ 8 root  root       4096 Sep 24 15:53 tmp.2Su3JM9BEI
drwx------ 8 root  root       4096 Sep 24 16:14 tmp.di7hSsDxc4
drwx------ 5 root  root       4096 Sep 24 16:35 tmp.f9WtW3ftMb
drwx------ 8 root  root       4096 Sep 24 16:28 tmp.jc9O0wHlXg
drwx------ 8 root  root       4096 Sep 24 16:09 tmp.L4gbFBPYcZ
drwx------ 8 root  root       4096 Sep 24 16:24 tmp.LTzB3m5PVV
drwx------ 8 root  root       4096 Sep 24 15:41 tmp.lYo5QXnBbm
drwx------ 8 root  root       4096 Sep 24 16:04 tmp.mlvWkpi4zV
drwx------ 8 root  root       4096 Sep 24 16:19 tmp.pI5257fJ8m
drwx------ 8 root  root       4096 Sep 24 15:49 tmp.qSQEcoRbHn
drwx------ 8 root  root       4096 Sep 24 15:59 tmp.uwVb3zeP0N
drwx------ 8 root  root       4096 Sep 24 16:34 tmp.YxstwxBBCC
I've stopped the backup-users cron job, but this is still happening.

Any ideas?

Cheers,
MM
Ubuntu 14.04.5 LTS
Top

missionaryman
Posts: 50
Joined: Mon Oct 27, 2014 10:04 am

Re: /backup filling up with tmp files
  • Quote

Post by missionaryman » Sun Sep 24, 2017 4:02 pm

Update:

It appears to be an errant cron job:

sudo /usr/local/vesta/bin/v-update-sys-queue backup

Pausing this has stopped the tmp files filling up the /backup folder. However, I have no idea why this is. Can anyone offer any help? What's gone wrong and how to I fix it?

Cheers.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: /backup filling up with tmp files
  • Quote

Post by tjebbeke » Sun Sep 24, 2017 4:07 pm

Maybe the same as this:
viewtopic.php?f=41&t=13286
https://github.com/serghey-rodin/vesta/issues/1035
Top

missionaryman
Posts: 50
Joined: Mon Oct 27, 2014 10:04 am

Re: /backup filling up with tmp files
  • Quote

Post by missionaryman » Sun Sep 24, 2017 4:39 pm

Thanks for this.

I added that line to the v-backup-user, and then ran v-backup-users (which I assume calls v-backup-user) and attempted to create a backup, but I only got another tmp file in my /backup directory.

What on earth has happened?
Top

plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Re: /backup filling up with tmp files
  • Quote

Post by plutocrat » Tue Nov 14, 2017 3:58 am

In case it helps, I just found this too.
I looked in /var/log/vesta/backup.log and it seemed that there was an error in there saying
Error: can't parse file /home/user/web/conf/nginx.conf
I rebuilt the web config with v-rebuild-webdomains user
I'll see if that fixes it tomorrow.
Top

amaisonneuve
Posts: 14
Joined: Tue Nov 07, 2017 6:23 am

Re: /backup filling up with tmp files
  • Quote

Post by amaisonneuve » Thu Mar 01, 2018 5:23 am

We should make the /tmp directory a configuration parameter in the UI.

My / drive is small so /tmp was filling up.

so i modified v-backup-user to have the /tmp be /var/tmp.

but having this as a config would be better.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: /backup filling up with tmp files
  • Quote

Post by skurudo » Mon Mar 05, 2018 7:45 am

amaisonneuve wrote: ↑
Thu Mar 01, 2018 5:23 am
We should make the /tmp directory a configuration parameter in the UI.
It's nice idea, please add it to https://bugs.vestacp.com/
Top

amaisonneuve
Posts: 14
Joined: Tue Nov 07, 2017 6:23 am

Re: /backup filling up with tmp files
  • Quote

Post by amaisonneuve » Fri Mar 09, 2018 4:28 pm

I can't file a bug the password reset function is not working.. please fix so that i can login.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: /backup filling up with tmp files
  • Quote

Post by skurudo » Mon Mar 12, 2018 6:59 am

amaisonneuve wrote: ↑
Fri Mar 09, 2018 4:28 pm
I can't file a bug the password reset function is not working.. please fix so that i can login.
https://bugs.vestacp.com/account/lost_password
or send request to [email protected] and we fix this
Top

kaavain
Posts: 62
Joined: Sat Sep 03, 2016 12:31 pm

Re: /backup filling up with tmp files
  • Quote

Post by kaavain » Tue May 28, 2019 6:25 am

amaisonneuve wrote: ↑
Thu Mar 01, 2018 5:23 am
We should make the /tmp directory a configuration parameter in the UI.

My / drive is small so /tmp was filling up.

so i modified v-backup-user to have the /tmp be /var/tmp.

but having this as a config would be better.
Would you advise HOW?
Top


Post Reply
  • Print view

11 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • 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