Discourse website loads too slowly

Hello, I have in the same machine two installations of discourse running at the same time since a few months ago.

The first installation works perfectly but the second lately is giving me problems, loads too slow randomly and sometimes directly fails to load. The CPU load is low and there is enough RAM for both sites.

I don’t know what I can do anymore.

How much ram do you have?

How big are each of the databases?

Do you have any plugins installed?

How fast is the cpu?

How is your reverse proxy configured?

What else is running on the machine?


RAM: 6GB and 6GB for SWAP.

Database is low/medium (100mb backup)

CPU: intel i7 6770 4ghz

We have 2 IPs failover

This machine is a proxmox container only with this discourses.