Re: socket.error 24: too many open files

2009-01-07 Thread Bryan Olson
TheDavidFactor wrote: [...] It's a deamon that runs on a linux box and every 15 seconds it checks a MySQL table for new records, if there are any it creates a .call file on the Asterisk server using ssh, it also checks the Asterisk server, again via ssh, for any finished calls and if there are an

Re: socket.error 24: too many open files

2009-01-07 Thread Roy Smith
In article , TheDavidFactor wrote: > I have double checked that it is closing the socket. I don't know what > else to check, any suggestions would be much appreciated. All of the symptoms you report point to sockets not getting closed. What does "double checked" mean? Don't rely on __del__

socket.error 24: too many open files

2009-01-07 Thread TheDavidFactor
I'm new to python, but have been writing programs in other languages for about 15 years now. As part of my job I develop applications that interface with Asterisk in various ways. As a way of getting my feet wet I decided to try to rewrite an outbound call script that I have in another language int