Rebuilt 340 knocking sound

The cylinders with open valves suffer from hot/cold humidity weather "breathing".
Moored marine engines particularly prone to that kind of corrosion .