TWO Nasa astronauts have spent more than seven hours working outside the International Space Station to successfully repair a critical cooling system.

It was the second spacewalk in three days for flight engineers Rick Mastracchio and Mike Hopkins who wrapped up the cumbersome work with only one problem: as they were installing a spare cooling pump, a sprinkling of ammonia crystals leaked out from one of four fluid lines.

The toxic liquid turns to flakes in the cold and weightlessness environment of space.

The astronauts spent an extra 15 minutes in the station's Quest airlock to bake out any potential residue on their spacesuits.

The 7.5-hour spacewalk was broadcast live on Nasa Television.

"It took a couple of licks to get her done, but we got it," Hopkins radioed to flight controllers at Nasa's Mission Control Center in Houston.

An initial check in the final hour of the Christmas Eve spacewalk showed the new pump was "alive and well," reported Nasa mission commentator Rob Navias.

During a spacewalk on Saturday, the astronauts removed a failed cooling system pump and attached it to a temporary storage site at the base of the station's mobile rail cart.

Nasa is considering a potential future spacewalk to repair the refrigerator-size pump and use it as a spare, officials said.