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

Vesta CP high CPU usage during backup

General questions about VestaCP
Post Reply
  • Print view
Advanced search
13 posts
  • Previous
  • 1
  • 2
skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Vesta CP high CPU usage during backup
  • Quote

Post by skurudo » Wed Oct 26, 2016 7:49 am

Or you can add to cron a little command and clean sessions automaticly

Code: Select all

find /home/*/tmp -type f -name 'sess_*' -ctime +5 -delete
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: Vesta CP high CPU usage during backup
  • Quote

Post by mehargags » Wed Oct 26, 2016 1:53 pm

skurudo wrote:Or you can add to cron a little command and clean sessions automaticly

Code: Select all

find /home/*/tmp -type f -name 'sess_*' -ctime +5 -delete
Be carefull!! If doing this way... make sure to wipe only sessions older than 24hrs or else you may destroy active sessions for logged in users giving them weird errors. Skurudo's cron task already takes care of it and deletes session files 5 days older.
Top

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

Re: Vesta CP high CPU usage during backup
  • Quote

Post by skurudo » Thu Oct 27, 2016 6:23 am

mehargags, yep, ctime need to ajust to current situation on server.. in my opinion - 3 or 5 days it's pretty long for session ;-)
Top


Post Reply
  • Print view

13 posts
  • Previous
  • 1
  • 2

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