Skip to main content


Lots of Message queues


!Friendica Admins Around 2180 - 43849 for a week or more. Is that very bad? These are my "workers" settings:

Am not sure if I can improve anything and what in this regards, or if I should or not.

Friendica Admins reshared this.

Unknown parent

Tio
Yes latest friendica stable and everything works, however some of my messages/posts can take up to 20 minutes to be sent. Pending and pending....but eventually they are sent. I was wondering if I can improve anything.

Friendica Admins reshared this.

in reply to Tio

It might help to increase how often the cron job runs, assuming that you aren't already maxing out the server.

Friendica Admins reshared this.

in reply to Tio

If you’ve pulled develop a couple days ago, this might be relevant to you: https://github.com/friendica/friendica/issues/11778

A couple fixes have been submitted yesterday.

Friendica Admins reshared this.

in reply to Hypolite Petovan

Nope I am using the stable 😁 - am too afraid of the develop 😁

Friendica Admins reshared this.

in reply to Tio

These days... you aren't wrong.

Friendica Admins reshared this.

in reply to Hypolite Petovan

@Hypolite Petovan I have mixed feelings - partly I'm happy about the current instability of the develop branch; just to have some reminder why the stable branch exists and that develop is basically ALPHA state...

OTOH I'd love to have the usual smooth operation with the develop branch xD

Friendica Admins reshared this.

in reply to Mark

No the server looks ok. No maxing out.

Friendica Admins reshared this.

Unknown parent

Tio
Using cron. How did you change to daemon mode?

Friendica Admins reshared this.

in reply to Tio

I see that they accumulate more and more:
Message queues
2630 - 111040

When is the time to be concerned? 😁

Friendica Admins reshared this.

Unknown parent

Tio
Now you made me concerned 😁 - so @Michael Vogel you think the above are worrying numbers? Is there anything I can do to make it faster at dealing with those queues messages?

Friendica Admins reshared this.

Unknown parent

Tio

They do not look that bad, I mean the CPU is max at 70% but we have 24 services on this server.

Friendica is not the biggest offender of CPU usage.

Friendica Admins reshared this.

Unknown parent

Tio
Would you mind telling me what config file more exactly? I don't want to ruin anything 😁 - I suppose it is this https://github.com/friendica/friendica/blob/develop/config/local-sample.config.php - and I have to add those under the "config" section. Correct?

Friendica Admins reshared this.

Unknown parent

Tio

I don't see any Friendica process under mysql:

I also allocate a lot of memory and hardware power to Friendica:

I suppose it uses MySQL / MariaDB.

Friendica Admins reshared this.

Unknown parent

Tio
Ok we can chat on Matrix!

Friendica Admins reshared this.

in reply to Tio

@Tio I would suggest you to put friendica in maintenance mode, restart mariadb/mysql and after that optimize the friendica database, using 'mysqloptimize' or 'mysqlcheck -o'.. during the last weeks we saw a lot of 'updatecontact' events and the load skyrocketed.. after optimizing the table, the load and the queue decreased
@Tio
This entry was edited (1 year ago)

Friendica Admins reshared this.

in reply to Luca Nucifora

Thank you, I will for sure look into this! And btw the link you shared does not work "Access to this profile has been restricted."

Friendica Admins reshared this.

in reply to Luca Nucifora

Done that...no change unfortunately. Also moved to daemon from cron. Maybe will wait and see...

Friendica Admins reshared this.

in reply to Tio

@Tio oh, sorry.. I removed it: I wrote some days ago about a similar problem in 'Friendica Admins' group..
if you can, I also suggest you to move from cron to a daemon for the worker queue.. so remember to stop the worker before the 'optimization' procedure
@Tio
This entry was edited (1 year ago)

Friendica Admins reshared this.

in reply to Luca Nucifora

Ok. I will try some stuff @Hank G ☑️ said he may be able to help me out these days.

Friendica Admins reshared this.