15 February, 2019

TIL #11 -ulimits and devops tidbits

Notes taken between: 11-15 February 2019


The purpose of ulimits is to limit a program's resource utilization to prevent a run-away bug or security breach from bringing the whole system down.

devops scenarios

-A migration is running on 2 instances and running out of credits. By stopping one task it moves to another instance and uses the other instances credits.

  • The idea is that you increase number of instances with more traffic and you would increase cpu/memory if the running application itself needs more compute power.
  • If cpu on an instance has increased significantly after a deploy then it look at the logs to see if its a bug.