#Self hosted instance is very slow on login and other operations

54 messages · Page 1 of 1 (latest)

vocal tendon
#

I'm running appwrite self hosted on a contabo vps, version 1.6.0. I experience very slow login in my web app (>10s), and the appwrite admin panel also seems very slow.

#

I ran top during the login process and php was using > 100% CPU.

#
Failed to initialize logging provider: Unable to parse DSN: scheme is required
[Error] Timestamp: 2024-11-12T11:21:03+00:00
[Error] Method: 
[Error] URL: /apple-touch-icon-precomposed.png
[Error] Type: Appwrite\Extend\Exception
[Error] Message: The requested route was not found. Please refer to the API docs and try again.
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 1051
Failed to initialize logging provider: Unable to parse DSN: scheme is required
[Error] Timestamp: 2024-11-12T11:21:03+00:00
[Error] Method: 
[Error] URL: /apple-touch-icon.png
[Error] Type: Appwrite\Extend\Exception
[Error] Message: The requested route was not found. Please refer to the API docs and try again.
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 1051
Failed to initialize logging provider: Unable to parse DSN: scheme is required
185.177.116.106 is not a publicly accessible domain. Skipping SSL certificate generation.
#

Maybe it is because I have signed up with email addresses, then deleted the users from appwrite admin panel and then signed up with the same email addresses again a few times?

neat crag
#

Contabo is to blame here. They oversell their server too much

#

Look for a different provider

vocal tendon
#

I never had problems before and I have 0 users, I'm during development.

neat crag
#

You do have a problem now. If you ever consider starting a serious project you should change your server provider.

#

They have among the highest cpu steal in the industry

#

They are utter garbage

vocal tendon
#

So what would you recommend instead? Hetzner?

neat crag
#

Hetzner is great. Alternatively you could also consider Netcup. They offer a lot more power but it is contract based.

#

Anything but Contabo

vocal tendon
#

Ok will do that, let's see if it fixes my problem.

#

But I still think there is some performance bottleneck maybe in the new appwrite version as I've been using 1.5.x for some time on the same server and never really had an issue.

neat crag
#

It is contabo

#

Trust me

vocal tendon
#

Thx for your help so far.

neat crag
#

I ran Appwrite on a few low spec server and never had that kind of issue

#

Simply google 'contabo cpu steal' and you will understand

#

cpu steal up to 5% is fine but on contabo it is constantly in the two digit area and also often over 50%

#

Your server has to constantly wait to get its turn to use the cpu

azure haven
#

@vocal tendon To double check that the cause is that. Do you can run topand share an screenshot?
Censor if there is some sensitive process or data you don't want to share

thorny quail
#

Found this from the same error, I'm also on Contabo, netcup looks sick but they are all sold out in the US.

azure haven
thorny quail
neat crag
thorny quail
neat crag
#

LMAO

#

😂

#

classic contabo

#

It never should go beyond 5%

#

Even 5% is high

thorny quail
#

Glad I know ab this now ty

thorny quail
#

So I got a Hetzner VPS, very happy

#

Contabo right now:

#

Hetzner:

neat crag
azure haven
#

@thorny quail Does it run faster in Hetzner now?

thorny quail
neat crag
azure haven
neat crag
azure haven
neat crag
# azure haven I thought not 😮

well maybe when you do a fresh install and use it without any plugins and whatnot, but most people do not use vanilla wordpress. They choose wordpress for its vast ecosystem and plugins and all that can be resource heavy

vocal tendon
neat crag
thorny quail
vocal tendon
#

Yes I definitely had high steal, constantly between 5-30%, but this still shouldn't be that slow for 1 active user I'd think.
But TBH I don't really know how to interpret steal time, I'll switch to another VPS provider and see if the issue persists.

neat crag
#

Login is very resource intense. To put it into perspective, I have a server cluster where Appwrite runs on which can handle thousands of thousands of requests, but Login? It can handle login in the two digits. Login is very heavy on the systems

#

And you chose by far the shittiest provider in existence and that does really not help