Recent swim advisories highlight how old infrastructure and heavy summer downpours combine to trap bacteria along the coast.