The invention relates to a method for operating a
spinning machine, the
spinning machine comprising a plurality of
spinning units (3), fibrous composite (13) is transmitted to at least a portion of the spinning units (3) during a spinning process, in a present spinning
station (4) of each spinning unit (3), rotation motion is transmitted to the fibrous composite (13), and therefore fibrous composite (13) turns into rotary
yarn (7), the
yarn (7) is taken off from the respective spinning
station (4) through an outlet (6) and is wound up by a winding device (8), the spinning
machine is supplied with power by an external power supply (10). The method is characterized in that the the
yarn production in the spinning units (3) for producing the yarn (7) is stopped in case of failure or malfunction of the external power supply (10), so that a winding side yarn end is formed in the area of each spinning unit (3), each winding side yarn end is in the respective spinning
station (4) or between the outlet (6) of this spinning station (4) and the winding device (8) associated with the spinning station (4), wherein the energy to for the further operation of the spinning machine until the end of yarn production is provided by at least one energy store (9). Furthermore, the invention also relates to a spinning machine which has a controller (11) which is designed to operate the spinning machine according to the above method.