To regulate the river flow, all 36 gates of the Valmikinagar Barrage and 20 gates of the Kosi Barrage have been opened.