Agricultural production is expected to reach a new record this season, but rising costs are eroding profit margins.