[Twisted-Python] Memcache client issues

MārisR maris at chown.lv
Wed Dec 16 14:34:56 EST 2009


Hello!
I'm trying to write small tcp server, which doing some stuff with memcache. Everything was fine until I start it on production, after few minutes I got to rollback to old one. My script got max open files limit :( After  liitle inspection, I saw that, new connection to my daemon opens new connection to memcache and after disconnect its not closed and on new connections is not reused. I could not find how to disconnect form memcache after processing is done, or how to reuse open connections. Maybe someone has some good example of this? Thanks!


More information about the Twisted-Python mailing list