Updated

Crude-oil prices rallied to a new high at $64 a barrel on Monday, reflecting market fears over the U.S. embassy closure in Saudi Arabia due to security threats and concerns that shutdowns of U.S. oil refineries would reduce supply.

Light, sweet crude for September delivery settled up $1.63 at $63.94 a barrel after peaking at $64 on the New York Mercantile Exchange (search) before falling back a bit to $63.50, up $1.19.

Prices had settled at $62.31 a barrel on Friday, a record close for crude since Nymex trading began in 1983.

"The market clearly has the jitters," said Deborah White, energy analyst at SG Securities in Paris.

Gasoline gained 3 cents to $1.8620 a gallon while heating oil rose 3 cents to $1.7630 a gallon.

"We had a much lower-than-expected build in natural gas supplies in the U.S. last week and this is also adding to general nervousness," White said.

September Brent crude futures on London's International Petroleum Exchange (search) settled at $62.70 a barrel, after hitting a record $62.76.

The market was on edge following Sunday's announcement of a security threat against U.S. government buildings in Saudi Arabia, the world's biggest petroleum producing country.

The planned closure Monday and Tuesday of the U.S. Embassy in Riyadh (search) and consulates in Jiddah and Dhahran was "in response to a threat against U.S. government buildings" in the kingdom, the embassy said, adding it would also limit nonofficial travel of its mission personnel.

It urged Americans residing in Saudi Arabia to keep "a high level of vigilance," but did not elaborate on the nature of the threat.

Meanwhile, analysts said U.S. economic figures on Friday showing payrolls expanded by 207,000 in July, the highest reading in five months, continued to boost bullish sentiment in the market.

"The U.S. economy looks healthy and it's safe to infer that the demand for oil and diesel will remain pretty firm and that the price of oil should be helped along as well," said commodities strategist David Thurtell of Commonwealth Bank of Australia in Sydney.

Oil prices rose even though the Organization of Petroleum Exporting Countries (search) said late Friday that it increased oil production by 300,000 barrels a day in the past two weeks, to around 30.4 million barrels daily.

The market appeared to have largely disregarded the move, as concerns over refinery outages continued to weigh on traders' minds in a time when most refiners are running at full tilt.

ConocoPhillips (COP) was the latest to suffer a refinery outage. The company reported planned work and unexpected operational upsets at its 145,800-barrel-a-day refinery in Borger, Texas. The plant's sulfur recovery unit was shut Friday, with a restart planned for Wednesday.

Meanwhile, a fire broke out at a unit of Sunoco Inc.'s (SUN) 330,000 barrels-a-day Philadelphia refinery over the weekend, the Philadelphia Inquirer reported Sunday, citing a company spokesman.

The outages have affected approximately 3 percent of the refining capacity in the United States, according to Barclays Capital.

At least seven other U.S. refineries have reported problems of one kind or another in the last two weeks.