(This version of the July 31 story corrects U.S. crude settlement prices in the fifth paragraph)
By Barani Krishnan
NEW YORK U.S. crude posted its biggest monthly drop since the 2008 financial crisis on Friday after a string of losses in July triggered by China's stock market slump and signs that top Middle East producers were pumping crude at record levels.
A higher U.S. oil rig count for a second straight week added to the market's downside Friday despite a weaker dollar, which would normally support commodities.
Heavy hedging activity in gasoline RBc1 and diesel HOc1 futures ahead of front-month contract expiration dominated play on the petroleum complex, diverting some attention from crude.
Oil prices fell for a fifth straight week.
U.S. crude CLc1 settled down $1.40, or almost 3 percent, at $47.12 a barrel. It slid more than 2 percent on the week.
Through July, U.S. crude was down 21 percent, its largest monthly decline since October 2008, when oil had an epic collapse at the outbreak of the financial crisis.
Brent LCOc1 settled down $1.10, or 2 percent, at $52.21 a barrel. It lost 5 percent on the week and 18 percent on the month.
The sell-off continued in post-settlement, with both U.S. crude and Brent down more than 3 percent.
July's oil-price drop was spurred by a stock market tumble in top energy consumer China and growing global oversupply.
A Reuters survey on Friday showed the Organization of the Petroleum Exporting Countries, which includes Saudi Arabia and other big Middle East producers, pumped over 32 million barrels per day in July, up 140,000 bpd from June. [OPEC/O]
Commerzbank's head of commodities research Eugen Weinberg said OPEC had to cut production to avoid even lower prices, expressing hope for "a stricter quota discipline at its December meeting".
Bank of America Merrill Lynch said in a note Brent could be at a discount to the benchmark U.S. light crude, West Texas Intermediate, by spring next year, if U.S. gasoline demand remained on a tear. Brent is now at nearly a $5 premium to WTI.
"The European refining system is not geared towards gasoline and neither are medium sour barrels," it said. "As such, WTI may have to temporarily trade above Brent and Dubai next spring to ensure there is enough gasoline to go around."
Industry firm Baker Hughes, meanwhile, said U.S. drillers added five oil rigs this week on top of 21 last week. [RIG/U]
Higher rig counts worry the market as they indicate more output. U.S. government data on Friday showed production dipped in May before rising again in June.
(Additional reporting by Christopher Johnson in London and Keith Wallis in Singapore; Editing by Peter Galloway and Tom Brown)