Hi,
you are right, this behavior is not useful. I opened a ticket here:
https://github.com/eclipse/sumo/issues/7750. It already has a
preliminary fix but this needs a little more testing. If you like, you
can try the nightly build (showing up tomorrow) or build yourself and
report your findings.

Best regards,
Michael

Am 03.11.20 um 18:08 schrieb Marcelo Andrade Rodrigues D Almeida:
> Hi everyone
> 
> Trying to open two simulations with the same port hangs the entire
> execution, instead of raising an exception
> 
> Error
> "Error: tcpip::Socket::accept() Unable to create listening socket:
> Address already in use
> Quitting (on error)."
> 
> 
> I'm currently running several experiments, simultaneously, in isolated
> docker containers. And inside every experiment, running several parallel
> simulations
> 
> The problem is that my experiments can step (and eventually does) into
> address conflict problems (race condition) and the hanging prevents any
> chance of retrying it with a new port, suspending the entire experiment
> forever.
> 
> The use of synchronization locks prevents address conflicts inside one
> experiment, so I'm basically limited to run one experiment at a time,
> which is very time consuming.
> 
> 
> As a workaround, I'm going to specify port ranges for each simulation
> and check it for availability
> 
> Let me know if there is a better solution as workaround
> 
> And thank you in advance
> 
> 
> P.S. I've included a trivial example to show the hanging behavior, but
> there is nothing special about it.
> 
> 
> Sincerely,
> 
> Marcelo d'Almeida
> 
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to