re: Supervisor Intensity, what is it? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: For this failing example, within my server I was using spawn_link(process_request_function), you can get a lot of added safety switching this to sp...
 

Thanks for the example. I remember sometimes the port is occupied for a longer time, I’ve seen this a couple of times even if no process actually uses it. There is just some delay until it’s freed by the os. So in that case it still would not help, Right?

I haven't used this hand made server very much, but what you are saying about the delay in closing the socket sounds like it could happen.

There may be a blocking command that I am unfamiliar with to check whether the port is free. Otherwise I would think of putting a sleep command in there to give the os time to free it.

code of conduct - report abuse