Ruby socket break after fork

98 views Asked by At

I am using a Ruby gem to interact with the vmware SDK. I found an interesting issue that I thought I would bring attention to.

I found that if I make a ssl connection to vCenter and it connects successfully, then I fork the processes and try to use the connection, the socket breaks with an error. I am not sure if that is common with sockets and forked processes but I was wondering if someone could shed some light on this. The error I am getting is EOF read_nonblock.

Any insight would be helpful.

thanks,

0

There are 0 answers