if its a hot and cold fill more likely the hot valve will jam open through scale in hot water system,if its filling over night and is connected to sink drain may be feed back off sink drain,if it over fills when on but ok when off pressure vessel problems it all depends on is it filling when switched off or over filling when on.
dan the washer man, March 2009