I have two instances of Discourse, both on their own droplets at DigitalOcean. The droplets are both running Ubuntu 18.04 with 1 vCPU and 1GB of memory and configured similarly. The instances are very similar in configuration as well (themes and plugins). Both appear to be on the same CPU type.
I did a rebuild on both instances this morning and one finished much faster than the other. For comparison, the slow instance took 57 minutes to rebuild and be available again while the fast instance took 7 minutes to rebuild and be available. I have noticed this slowness before for rebuilding the slow instance and after rebooting, but I didn’t have the direct comparison previously to notice how slow it was.
This is most noticeable during the compression stage of the rebuild, but the whole process is really slow. For the slow instance, the compression steps took between 16 and 70 seconds. For the fast instance, it was between 1 and 12 seconds.
Is there anything I can check to see what might be slowing this down so much? I would suspect there is an issue with the VM somewhere, but I am not sure where to start looking. Or should I open a ticket with DigitalOcean asking them to investigate?
Are the rebuild logs stored anywhere? I wasn’t having any luck finding them.