2010/3/20 Andy Wilcox <[email protected]>: > > Hi All. > > I'm seeing a very odd memory leak, and would appreciate any > suggestions. > This may not be a direct web.py problem, so I appreciate any patience > with posting here, and of course any tips! > > Even with a dead-simple application such as this: > > class ping: > def GET(self): > web.header("Content-Type", "text/plain") > return "hello from ping" > > I'm seeing a leak of slightly more than 1k/request. I'm running > through fastcgi/lighttpd. If I start up the app "by hand" - "python / > path/to/myapp.py", > and then direct requests to localhost:8080 - no leak. Checking > gc.garbage and the gc.get_count(), and no python object leak is > indicated > in either case.
What is the version of flup that you are using? Recently a memory leak was fixed in flup. http://hg.saddi.com/flup-server You can get the latest version from pypi. $ easy_install -U flup Even in this version, I'm seeing file descriptor leaks in my fastcgi apps but unable to reproduce deterministically. Anand -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
