When a certain commodity or supply in in such short supply that you're almost out of it entirely. Used similarly to "running on fumes". Originated from riveted tanks, when they're almost empty you can see the rivets.
I'm about out of propane. Another day or two and I'll be looking at the rivets.