German police closed the Oktoberfest fairgrounds following a bomb threat from the suspected perpetrator of an explosion in northern Munich, city officials said.