Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ریست شدن سرویس به صورت مداوم #81

Closed
ashkan-moghadasi opened this issue Aug 8, 2023 · 1 comment
Closed

ریست شدن سرویس به صورت مداوم #81

ashkan-moghadasi opened this issue Aug 8, 2023 · 1 comment

Comments

@ashkan-moghadasi
Copy link

ashkan-moghadasi commented Aug 8, 2023

با احترام
ورژن آخر 11.5 v رو استفاده می کنم . سرویس ساخته شده و کار می کنه . حجم رم و cpu کنترل شده هست و خوبه . دو کور cpu و 8 گیگ رم که بخش زیادی ازش استفاده نشده
مشکل اساسی ریست شدن سرویس هر چند دقیقه هست الان با دستور زیر نشون میده 608 بار ریستارت شده سرویس :
systemctl show tunnel.service -p NRestarts

در صورتی که من --terminate:72 هفتادو ساعت تنظیم کردم

این مشکل در هر دو سمت ایران و خارج داره رخ میده

@ashkan-moghadasi
Copy link
Author

به نظر مشکل از بحث لاگ بوده . به شکل زیر سرویس رو اصلاح کردم فعلا که ریست نشده یک ساعت و نیمه
[Service]
LogLevelMax=3
LimitNOFILE=1048576
StandardOutput=null
StandardError=null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant