correct Ganglia port reservation logic