Hi @helpers

My instance is very slow and in 4 out of 5 calls it shows me the typical 504 error

The instance was installed with the help of Yunohost on an old laptop with 4GB RAM, 500GB hard disk and according to htop, it almost never exceeds 500MB RAM overall load

I have disabled infinite scroll and I have lowered just to 5 messages per page the timeline

What else can I do?

PS: The 504 is almost always on /network, /community and the circles pages

Als Antwort auf VegOS

@vegos_f06

On the same machine I have immich (an application to manage photos) and I see no access problems. To access /settings or /notifications is slow, but never given me a 504 error.

I thought that reducing the period of time to retain information from external abandoned accounts or forgetting messages from other instances might help improve speed, but nothing.

If increasing the amount of RAM for PHP from 128MB to 256MB would have any effect?

Als Antwort auf ɯɟʇɹ

@ɯɟʇɹ @Friendica Support I would log into your mariadb on your server laptop by using sudo mariadb -u root -p, enter the password, then enter the following in the mariadb client you just logged in to, to show the current size:

SHOW VARIABLES LIKE 'innodb_buffer_pool_size';

(The semicolon at the end is required!) To change it, in the same mariadb client, you can enter:

SET GLOBAL innodb_buffer_pool_size = 2G;

The can exit the mariadb client by typing quit;

Friendica Support hat dies geteilt.