Project

General

Profile

Actions

Feature #19243

open

Set reasonable request timeout for Rails application

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

Status:
New
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
-
Difficulty:
trivial
Triaged:
No
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 1 (0 open1 closed)

Related to Foreman - Bug #19244: Old interfaces are never removed from Foreman DBClosedShimon Shtein04/11/2017Actions
Actions #1

Updated by Lukas Zapletal about 7 years ago

  • Difficulty set to trivial
Actions #2

Updated by Lukas Zapletal about 7 years ago

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

Updated by Chris Duryee over 6 years ago

  • Bugzilla link set to 1478364
Actions #4

Updated by Aditi Puntambekar almost 6 years ago

  • Assignee set to Aditi Puntambekar
  • Triaged set to No
Actions #5

Updated by Aditi Puntambekar over 5 years ago

  • Assignee deleted (Aditi Puntambekar)
Actions

Also available in: Atom PDF