Workshop compressor ...........

Need help with a small air compressor. I have had it for a few years and it's been fine till now. For some reason it will not pump beyond a certain pressure and that that keeps the motor from cutting out and it starts to get really hot. Checked to make sure it's not leaking anywhere, so I am wondering if the leak might be from the piston rings??