Rank 6: Server
would maintenance interval affect it?
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 6: Server
would maintenance interval affect it?
yes, maintenance will clear all runtimes that have been inactive for the past x minutes...
Meaning if a runtime has not received any requests for the past x minutes, it will be cleared
Rank 6: Server
i see so if i execute this lets say every 1 -2 minutes instead of every 20 mins then that wouldnt count right because the new maintenance interval is of 5 mins?
Rank 6: Server
basically the inactive time is lesser than the past x mins i think
Rank 6: Server
anyway thanks for the help!
Rank 6: Server
will check better uptime as you mentioned
Rank 6: Server
my memory usage has gone down to 60 percent on an avg after the new maintenance interval and i also changed schedule of various functions so that they dont execute at the same minute every hour :)
Rank 6: Server
with that the swap usage seems lesser as well
Rank 6: Server
hoping it doesnt crash anymore
Are you sure that's because the server crashes?
Does appwrite stats show an spike too?
Appwrite uses other logging providers apart from sentry
Rank 6: Server
not really tbh but i did notice high mem usage from appwrite containers when it crasheed few weeks back.. as I mentioned I was never really able to SSH even though I tried numerous times and just had to reboot but this time i will try rescue mode (VPS) so i can still access my server and see the stats
Rank 6: Server
also using better uptime so i can know when it happens
Rank 6: Server
i thought it only logged with docker compose config or you mean i can use other providers if i wish to?
You can use sentry and there are other supported providers
Rank 6: Server
cant use sentry because vps doesnt have 8gb ram
Rank 6: Server
but others i will see
Rank 6: Server
thanks
You don't host it in the server. You connect your Appwrite instance to sentry
Rank 6: Server
i am talking about self hosting sentry
Rank 6: Server
wait i thought most ppl go with that
Rank 6: Server
oof
Thats great to hear! 👏
if you are still experiencing crashes let us know