is this boiler a bbu?If so try checking the pump as it sounds like its overheating.If the pump is ok check thermostat.Give us a clue by giving the model no.(57/4m 57/4e) find the model on thermostate control box
Try isolating boiler from system and drain boiler.When boiler empty of water disconnect expansion flexible hose from boss at side of pressure release valve.Whilst holding flexible hose over bowl or bucket remove slug of sludge from elbow on flexible hose with small scew driver.Also clean out...