postal icon indicating copy to clipboard operation
postal copied to clipboard

Worker and web instance keep on failing.

Open yassersheikh opened this issue 8 years ago • 2 comments

  • web only has 2 instances (should have 1)
  • web.2 is not running (Failed)
  • smtp only has 2 instances (should have 1)
  • smtp.2 is not running (Failed)

Worker keeps on failing after running for a while.

Getting these two errors on worker.log.

ActiveRecord::ConnectionTimeoutError: could not obtain a connection from the pool within 5.000 seconds (waited 5.001 seconds); all pooled connections were in use

RuntimeError: Circular dependency detected while autoloading constant Queued Message

I am running 8 workers.

Getting 502 gateway error on trying to access on web

yassersheikh avatar Jan 11 '18 00:01 yassersheikh

Have you tried restarting your server? How much memory do you have on the server?

willpower232 avatar Jan 11 '18 09:01 willpower232

Yes tried that, but its fixed now.i have upgraded the version.

yassersheikh avatar Jan 11 '18 21:01 yassersheikh