LOS ANGELES -- LOS ANGELES (AP) — The maker of Sriracha hot sauce is under fire for allegedly fouling the air around its Southern California factory.

The city of Irwindale filed a lawsuit in Los Angeles Superior Court Monday asking a judge to stop production at the Huy Fong Foods factory, claiming the chili odor emanating from the plant is a public nuisance.

City officials say residents have been complaining of burning eyes, irritated throats and headaches and that some people have had to leave their house to escape the smell.

One family was forced to move a birthday party indoors after the strong smell overwhelmed the festivity, Irwindale City Attorney Fred Galante told the Los Angeles Times.

Huy Fong initially cooperated with the city, but talks broke down last week after company representatives denied there was an odor problem, saying their employees worked in similar olfactory settings without complaint, Galante said.

The city, which is about 20 miles east of downtown Los Angeles, is seeking temporary closure of the factory until Huy Fong submits a plan to minimize the smell.

"If they fix it and the odor problems stop, we don't need this order; but so far the odor complaints continue," Galante said.

An after-hours call to the company was not immediately returned.

Huy Fong's green-capped chili bottles are hugely popular and are a fixture at restaurants around the world. The first Sriracha Festival held in downtown Los Angeles over the weekend drew hundreds of fans. The condiment's creator, David Tran, was there sporting a T-shirt that said "I put Sriracha on my Sriracha."

The company had operated out of two buildings in nearby Rosemead since the late 1980s until it opened large factory in Irwindale this year.

All of the chili needed for producing the year's sauce is processed and stored between September and December.

Also on HuffPost:

Loading Slideshow...
  • Is he the top dog? Current Mustard Belt holder Joey Chestnut has won three consecutive Nathan's Famous Fourth of July International Hot Dog Eating Contests -- and he's considered the favorite this year. Chestnut, pictured here after downing a record-setting 68 dogs last summer, says he wants to break the record this year.

  • Rivalry

    The rivalry between Chestnut (left) and Takeru Kobayashi (right) has pushed competitive eating to new heights. After winning six consecutive Nathan's titles, Kobayashi lost to Chestnut in 2007, 2008 and 2009 -- when this photo was taken. Kobayashi reportedly won't compete in this year's competition because of disagreements with Major League Eating policy.

  • The 2008 Nathan's contest between Kobayashi and Chestnut was a battle for the ages. After tying with 59 dogs each in the 10-minute contest, Chestnut took the Mustard Belt in a five-dog eat-off.

  • Though Chestnut has defeated Kobayashi in three straight hot dog eating competitions, Kobayashi certainly isn't washed up. The six-time Mustard Belt winner defeated Chestnut in a pizza-eating competition in Los Angeles in May 2009.

  • Kobayashi one-upped Chestnut in a 2008 Major League Eating contest in Singapore, downing more than 10 pounds of the local food satay.

  • Pat Bertoletti

    Chestnut and Kobayashi aren't the only eaters who have a chance to win. Competitive eater Pat Bertoletti, pictured competing in a corned beef and rye sandwich competition last March, could pull off a victory in Coney Island, according to Major League Eating President Rich Shea.

  • Bob

    Tim "Eater X" Janus (left) and Bob "Notorious B.O.B." Shoudt (center) -- pictured at a seafood eating event last year -- are also contenders for this year's Mustard Belt. "Eater X" says he wants to enter the contest mentally prepared, while "Notorious B.O.B." has been training by eating 70 hot dogs in a single sitting.

  • Tim "Eater X" Janus and Sonya "The Black Widow" Thomas -- pictured in a 2007 Maine burrito eating competition -- are fan favorites.

  • "Crazy Legs" Conti has made a name for himself as a cannoli eating legend after downing 20.5 of the Italian treats in six minutes -- now he's looking for hot dog bun glory. On July 2, he and two other eaters will take on three Ringling Bros. elephants in a hot dog bun eating competition.

  • Takeru Kobayashi devoured the record for most wings in 30 minutes at the Philadelphia Wing Bowl in February, 2012, with 337 wings.