On Wed, Jun 11, 2008 at 10:28 PM, zepolen <[EMAIL PROTECTED]> wrote: > I'm running pylons with paster in daemon mode. At startup the paster > process is using 10% (100mb) memory. > > Paster is serving about 500k requests per day, 350k are pages, 150k > are ajax requests. Static files (an extra 800k requests) are being > served directly with nginx which also acts as the revproxy for paster. > > When using CherryPy as the server, within 4-5 hours the paster process > reaches 90% memory usage and then dies. > > Paste#http takes longer, about a couple days, I suppose as it recycles > threads every 100 requests, but it too leaks memory. > > No in-memory caches are being used and the only modules that use c > extensions are psycopg2 and PIL. > > The global (g) is not being used at all. > > What can I do to find the problem?
I've had some luck in the past finding problems using the gc module. You might want to google for solutions to this problem since it's something most Python programmers eventually run across. -jj -- I, for one, welcome our new Facebook overlords! http://jjinux.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
