On the brink between extinction and persistence