The characteristics of the error signal in a laser frequency stabilizer are discussed. A new method for controlling the length of laser cavity is presented. The relative stability for the two-frequency laser stabilizer is up to 5×10-10.