Barges and container ships face unusually long waits at major hubs with problems expected to last several months