Avatars in topic list are not refreshing due to giant Sidekiq backlog


#1

I don’t know how to “title” this strange :bug:

In my forum, when a user opened a new topic, and others replayed to it, the avatars do not show (or appear) in the users’ column. Check this capture (is in spanish, but simple to understand)

As you can see, the topic has got four replays and only shows ONE avatar (the author).
Why?

My discourse version: v1.6.0.beta10 +65


(Jeff Atwood) #2

Does this problem persist for more than a day? Is Sidekiq working on your instance?


#3

Yeap:

In my /logs says:

Sidekiq is consuming too much memory (using: 508.25M) for ‘mysite.com’, restarting

Sidekiq heartbeat test failed, restarting

How can I add more Sidekiq workers?


(Sam Saffron) #4

Sounds like jobs are not processing

Try rebuilding


#5

Rebuild completed, but, how could I solve the problem with the images?
Do I must to wait that /sidekiq/queues finish?


(Sam Saffron) #6

Is the number going down?


#7

Yes, very slowly, but yes.

This problem is directly related to the topic that users stick screenshots and not uploaded to the site? So they are published as broken images?


(Mittineague) #8

You unchecked the default setting?

download remote images to local
Convert remote images to local images by downloading them; this prevents broken images.


#9

OMG., yes… now I checked it again.


(Felix Freiberger) #10

No, it should be unrelated (although re-enabling the setting was a great idea to prevent broken images).

The avatar list will refresh – the corresponding job is just stuck somewhere in your large queue. Wait for the queue to be processed, or speed it up by launching more workers, and this problem (as well as other delays) will fix itself :slight_smile:


#11

This is solved.
Thanks to all quick response and patience :wink:

Regards!


(Régis Hanol) #12