[Glass] GsSocket new returns nil

Dale K. Henrichs dale.henrichs at gemtalksystems.com
Fri Sep 27 10:37:23 PDT 2013


Johan,

there is a limit on the number of open sockets (I think it is a linux kernel setting ... so you can change it) ... let's open an issue on Zinc on the glassdb repository about this so that we can clean up the unclosed sockts ...

Dale

----- Original Message -----
| From: "Johan Brichau" <johan at yesplan.be>
| To: glass at lists.gemtalksystems.com
| Sent: Thursday, September 26, 2013 7:47:47 AM
| Subject: [Glass] GsSocket new returns nil
| 
| Hi,
| 
| We have a service vm where a Zinc client is initiating http
| connections.
| 
| After some time, errors occurs because no new Sockets can be created
| (GsSocket new returns nil).
| Restarting the gem solves the problem.
| 
| I am not sure, but I think this might be because the socket is never
| closed by Zinc.
| And: is there a maximum number of sockets that can be opened?
| (probably determined by the os ?)
| 
| Johan
| _______________________________________________
| Glass mailing list
| Glass at lists.gemtalksystems.com
| http://lists.gemtalksystems.com/mailman/listinfo/glass
| 


More information about the Glass mailing list