On Oct 4, 8:22 pm, Ben Bangert <[EMAIL PROTECTED]> wrote:
> There are 2 leaks present in the latest Pylons, both of them in
> dependent packages Paste and Beaker. The Beaker one can leak rapidly
> depending on what you're doing, while the Paste leak occurs during
> 404 and other errors (which could add up fast if you get lots of bots
> hitting 404 pages).
>
> The Paste error was due to the Registry not properly freeing up all
> the globals at the end of the request for its context, this has been
> fixed in the latest svn Paste. If you want a work-around for this
> leak, moving the RegistryMiddleware in your middleware.py to be right
> after the PylonsApp will remedy it.

I did this and the leak seems to be gone.
GC counter stalized at around 68-70K while previously they're 100K and
counting.

Thanks a ton!

Max.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to