A well-maintained commercial compressor should last for 8-10 years, but failures can happen.
Many problems with a commercial refrigeration or HVAC system doesn’t come down to the compressor at all, but one of the other components. Still, conditions in the operating environment can cause a compressor to fail before its time. Flooding, slugging, and other issues may cause even a young industrial compressor to fail.