0

Can multiple long waiting threads (blocked on remote rest call response, non cpu-bound) throttle CPU ? This cpu throttle causes leads to pod restart as health check response takes time to respond.

pranav prashant
  • 307
  • 1
  • 3
  • 13

1 Answers1

2

Something blocked in a waiting syscall (select and friends, sleep(), blocking read or write) does not count as using any CPU time, the task (how Linux thinks about threads internally) won't be marked as runnable until something interrupts the wait.

coderanger
  • 52,400
  • 4
  • 52
  • 75
  • thanks @coderanger for clarifying would you take a dig at this pls too https://stackoverflow.com/questions/65532078/hikaripool-connection-not-available-after-long-i-o-operation-for-concurrent-requ – pranav prashant Jan 01 '21 at 17:41