In a compressor for gaseous media, in particular, refrigerants, comprising
a housing, a drive shaft mounted in the housing, at least one compressor
unit arranged in the housing and driven by the drive shaft, and an oil
lubricating device for supplying bearing areas of the drive shaft with
lubricating oil, in order to solve the problem that the compressor should
be shut down when the oil supply of the oil lubricating device fails, it
is proposed that the oil lubricating device comprise a lubricating oil
reservoir lying above an oil sump in the housing and fillable from the
oil sump by a lubricating oil conveying device, that the oil lubricating
device comprise a lubricating oil duct system extending through the drive
shaft for taking up lubricating oil from the lubricating oil reservoir
via an inlet disposed on the drive shaft and conducting it to the bearing
areas, and that a lubricating oil monitoring device be provided for
detecting by means of a sensor associated with the lubricating oil
reservoir the presence of lubricating oil in the lubricating oil
reservoir and switching off the compressor when there is a shortage of
lubricating oil.