Forum slowing to a crawl with 504s

(JT) #1

Last night, I started getting messages from users that my forum was slow and that they were seeing “504 gateway timed out” errors. I’ve spent hours debugging but haven’t had much luck finding the cause. What I’ve tried:

  • Rolling back to a two day old Digital Ocean backup
  • Restarting the app
  • Rebuilding the app
  • Deleting tmp/cache
  • Moving from the 2GB droplet instance to the 4GB
  • Disabled all plugins

When this didn’t help I tried setting up a local Vagrant install, but I actually get similar issues locally, whereby requests take up to 15s to complete. Usually the first page load loads normally, but then subsequent requests are slow.

I’ve looked at CPU and memory usage using htop, but to my untrained eye everything looks normal.

Any ideas? :slight_smile:

() #2

What is your forum called?

(JT) #4

I think it might be due to a plugin after all :slightly_smiling:

(Régis Hanol) #5

Mind telling us which one?

(JT) #6

One that – ehem, I’ve made myself :smiley:

(Régis Hanol) #7

That’s cool. Thanks for replying. Just wanted to make sure it wasn’t a public plugin we didn’t know about :wink:

(Régis Hanol) #8