diff --git a/Common-questions-and-problems.md b/Common-questions-and-problems.md index df4396f..d5e4a9b 100644 --- a/Common-questions-and-problems.md +++ b/Common-questions-and-problems.md @@ -269,6 +269,12 @@ systemctl daemon-reload ``` +برای خالی کردن فایل این لاگ هم از دستور زیر استفاده کنید. + +``` +echo "" > /usr/local/x-ui/access.log +``` + ## 15 - چی کار کنم که مصرف cpu به طور مداوم زیاد نشه؟ ابتدا با دستورات `top` و `htop` بررسی کنید که افزایش cpu مربوط به کدام پروسس است.