Landlord should always have a few not rented places so that when someone is ready to move there is a place they can go. They also should be doing major remodels and upgrades approximately every 30 years which means a long stretch of not occupied.
hostels and inns serve a different niche - temporary housing is important, but they don't give nearly as much space. If you want to live someplace for a year or more then you want more space for your stuff (how much is personal)
The coat of paint should be done every 5 years, or when a tenant moves out.
Major I mean things like replace the HVAC system, rewire to add GFCIs, replace windows with something better. If it doesn't cost $20,000 it isn't major. Most landlords do not do this, but it really should be part of the cost of doing business.