'I'm getting too many open files error for bi-directional rpc stream

Can any one please tell me how to resolve this error.

rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp {VM_IP:443}: socket: too many open files

I'm getting this error while calling a bi-directional rpc stream

c :=protobufpb.ServiceClient
stream, err := c.Bidirectional_RPC(context.Background())

if err != nil {
    fmt.Println("conn err", err)
    return err
}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source