выходить из строя

Etymology
lit. 'to get out of order/array/line'.

Verb

 * 1) to become inactive, inoperable, unfit for work (usually of equipment but can also be used for people or animals)