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

hi guys, i have a quesion about directory

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
KadenAra
Posts: 1
Joined: Thu Jul 19, 2018 7:54 am

Os: CentOS 6x
Web: nginx + php-fpm
hi guys, i have a quesion about directory
  • Quote

Post by KadenAra » Thu Jul 19, 2018 7:55 am

Làn da được tái tạo, phục hồi sáng khỏe và làm chậm quá trình lão hóa.
Nhấn mí mắt
– Các phương pháp làm trắng da được nghiên cứu khoa học, kế thừa các phương pháp trị liệu truyền thống và trị liệu từ các nước phát triển tiên tiến.
3 spa thẩm mỹ viện vào top địa chỉ tắm trắng da tốt trên cả nước
– Sản phẩm đặc trị chăm sóc làm trắng da tăng cường Bioline Jato (Ý) chiết xuất từ thiên nhiên cho hiệu quả thẩm mỹ gấp 3 lần sản phẩm thông thường.
Cách trị nám tàn nhang trên da hiệu quả nhất, thành công đến 99
– Bác sĩ, chuyên gia da liễu trình độ chuyên môn cao sẽ thăm khám, tư vấn và theo sát liệu trình chăm sóc của khách hàng.
Last edited by KadenAra on Wed Aug 29, 2018 8:55 am, edited 1 time in total.
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: hi guys, i have a quesion about directory
  • Quote

Post by mehargags » Thu Jul 19, 2018 10:41 am

home/user/tmp is the /tmp storage for apps hosted under that user. If you have millions of files there, this means your application is leaking /not flushing session files and/or garbage collector collector for PHP is not working.

May old apps are written poorly. Skurudo already mentioned the magic cron jobs for this to be run daily once so as to keep your tmp storage clean.

as root add this crontab and it will clean all session files. If you have filenames other than sess* then please adjust the command accordingly

crontab -e
0 2 */2 * * find /home/*/tmp -type f -name 'sess_*' -ctime +2 -delete >/dev/null 2>&1
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

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