Project

General

Profile

Feature #19243

Set reasonable request timeout for Rails application

Added by Lukas Zapletal over 5 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
-
Difficulty:
trivial
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

When something wrongs happen in Rails and a request takes excessive amount of time, there is no timeout in Passenger (only Enterprise supports it). Therefore Foreman misbehaves, one process is blocked and in the worst case it eats all memory rendering the instance to be unusable until OOM kills this process.

This is a proposal to use some tool to timeout requests after reasonable time of 5 minutes. One of the tools we could use is little gem https://github.com/heroku/rack-timeout that does the job and works well with Passenger.


Related issues

Related to Foreman - Bug #19244: Old interfaces are never removed from Foreman DBClosed2017-04-11

History

#1 Updated by Lukas Zapletal over 5 years ago

  • Difficulty set to trivial

#2 Updated by Lukas Zapletal over 5 years ago

  • Related to Bug #19244: Old interfaces are never removed from Foreman DB added

#3 Updated by Chris Duryee about 5 years ago

  • Bugzilla link set to 1478364

#4 Updated by Aditi Puntambekar about 4 years ago

  • Triaged set to No
  • Assignee set to Aditi Puntambekar

#5 Updated by Aditi Puntambekar about 4 years ago

  • Assignee deleted (Aditi Puntambekar)

Also available in: Atom PDF