US producers raised prices at the fastest pace in more than three years last month, stoking concerns about higher prices for consumers.