Re: [racket-users] Re: Do custodians shutdown when Racket exits?

2019-08-09 Thread George Neuner
On 8/8/2019 7:34 AM, Tony Garnock-Jones wrote: On Tue, 6 Aug 2019 at 21:15, George Neuner > wrote: Sockets belonging to the crashed program are in a "half-closed" state - unable to send, but still able to receive.  If you look in netstat you'll find

Re: [racket-users] Re: Do custodians shutdown when Racket exits?

2019-08-08 Thread Tony Garnock-Jones
On Tue, 6 Aug 2019 at 21:15, George Neuner wrote: > Sockets belonging to the crashed program are in a "half-closed" state - > unable to send, but still able to receive. If you look in netstat you'll > find their status is stuck in TIME_WAIT or in SYN or SYN/ACK. There is a > delay in cleaning

Re: [racket-users] Re: Do custodians shutdown when Racket exits?

2019-08-06 Thread George Neuner
On 8/6/2019 1:54 PM, Tony Garnock-Jones wrote: On Tuesday, August 6, 2019 at 6:27:51 PM UTC+1, David Storrs wrote: I should mention that the reason I'm looking into this is because I have UDP sockets that are not getting closed.  They are managed by custodians, but the custodians

Re: [racket-users] Re: Do custodians shutdown when Racket exits?

2019-08-06 Thread James Platt
On Aug 6, 2019, at 1:54 PM, Tony Garnock-Jones wrote: > How can a UDP socket survive process exit? > I don't knot but this appears to happen. On macOS, the open port shows in netstat but not lsof. You can find the process ID with netstat but then, when you go to kill it, kill says there

[racket-users] Re: Do custodians shutdown when Racket exits?

2019-08-06 Thread Tony Garnock-Jones
On Tuesday, August 6, 2019 at 6:27:51 PM UTC+1, David Storrs wrote: > > I should mention that the reason I'm looking into this is because I have > UDP sockets that are not getting closed. They are managed by custodians, > but the custodians are not releasing them; I take this to mean that the

Re: [racket-users] Re: Do custodians shutdown when Racket exits?

2019-08-06 Thread Sorawee Porncharoenwase
I have a similar question on will executor. It doesn't seem to get run on program exiting/breaking. Do I need a plumber that calls `collect-garbage`? On Tue, Aug 6, 2019 at 10:27 AM David Storrs wrote: > I should mention that the reason I'm looking into this is because I have > UDP sockets that

[racket-users] Re: Do custodians shutdown when Racket exits?

2019-08-06 Thread David Storrs
I should mention that the reason I'm looking into this is because I have UDP sockets that are not getting closed. They are managed by custodians, but the custodians are not releasing them; I take this to mean that the custodians are not being run. On Tue, Aug 6, 2019 at 1:06 PM David Storrs