A method of operating a device for treating sleep disordered breathing (SDB), wherein the device provides continuous positive airway pressure during sleep, includes determining whether treatment pressure at the patient interface is below a desired value, in response to the determining, increasing pressure generated by the flow generator, in response to the increasing, making a determination that the increase in flow generator pressure has resulted in less than a desired increase in treatment pressure at the patient interface, and in response to the determination, reducing or inhibiting further increase of the flow generator pressure.