[Twisted-Python] Memcache client issues

2009-12-16 Thread MārisR
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

[Twisted-Python] is there way to baypass value limit of 64kb in twisted.protocols.amp

2009-11-30 Thread MārisR
Hello! I'm currently trying to figure out, how to bypass amp value limit of 64kb. First tought was to split string into chunks <64kb, then join before processing. Problem is, how to dinamicaly generate amp.Command argument list. Maybe there is other well known method how to achieve this? Thank Y

[Twisted-Python] Way to fix memory leaks of external c module

2009-11-28 Thread MārisR
Hello! Currently I'm trying to write small xmlrpc server for html data processing. Processing is done by html tidy lib, but the problem is that it has massive memory leak. As processing is blocking operation I'm running it in thread, but after some time and huge html document processing daemon