Shares of Sanderson Farms sold-off on Thursday after the company reported a larger-than-expected loss, partly due to higher commodity costs.

(Corn, an important feed, topped $6.50 a bushel during the quarter, up nearly 80 percent from a year earlier.)

Also slower restaurant sales have plagued Sanderson and other companies, resulting in excess inventories.