A process for operating an oven (1) comprising: - a first chamber (3) and a second chamber (4), which are separated by a separation means (2), - each chamber comprising a
rotating drum (5, 6), - a
conveyor belt (7) to guide the products from the entrance (10), through these chambers (3, 4), to the exit (12), - where the
conveyor belt is guided around each drum in a
helical path (8, 9) and where the
conveyor belt enters the furnace (1) through the inlet (10) by means of a straight belt section (11) and exits the furnace (1) through the outlet (12) by means of a straight belt section (13), and where the two
helical paths (8, 9) are connected by a straight belt section (14) located at the top, - where the separation means (2) comprises a passage (2.1) for the belt section (14), the passage being larger than the conveyor belt, -
temperature control means (15, 19, 22, 16, 27, 28) for controlling the temperature in each chamber individually using a fluid, respectively, - where each chamber comprises at least one fan (16, 22) and ducts for
fluid circulation in the chamber and - a passage (2.1) in the separation medium (2), through which the conveyor belt is directed from the first chamber (3) to the second chamber (4), characterized in that the magnitude and direction of leakage between the first chamber (3) and the second chamber (4) or vice versa and to or from the environment are controlled in order to adjust the process parameters in a chamber (3, 4), by reducing the pressure in a chamber or increasing the pressure in a chamber, and where in case the temperature in a chamber is below or above a desired reference point a controlled leakage is started and maintained through the passage (2.1), or any other fluid connection, between the two chambers until the temperature in the respective chamber (3, 4) is in the desired range and is then stopped.