With more thieves, drug dealers and addicts entering each month, how do under-resourced staff cope when a prison reaches breaking point?