That reminds me of the excellent novel Earth Abides
Most humans die due to a virus and cities are left 99% empty. There reaches a point where all the rats flee the city (having eaten all the food they can) and arrive in endless waves at the protagonist's home.