On Dec 11, 6:15 am, "Gary Bernhardt" <[EMAIL PROTECTED]> wrote: > On Dec 10, 2007 1:30 PM, JLIST <[EMAIL PROTECTED]> wrote: > > > > > Hello Gary, > > > Thanks for looking at the data. > > > As much as I'd like to believe I'm OK, if I start 20 Python > > processes, I start to get internal errors from the web app and > > I remember seeing memory errors in some logs but I don't remember > > where exactly...what I also see is that in top output, there will > > be virtually no free memory - this can't be good :) > > Once again, there *is* free memory, at least from what you've shown. > If top says "0k free", there could still be a gig of memory sitting > around ready to be used; the operating system could just be > temporarily using it for cache. It is absolutely normal for top say > there is no free memory even though, from our perspective, there is. > Unfortunately, this is the nature of memory usage - it is complicated, > confusing, and often poorly defined. > > Can you try to reproduce the errors you saw? If we could see the > actual errors, combined with the output of top at the time, that would > be much more useful.
It isn't necessarily valid to compare MacOS X or a normal Linux system running on dedicated hardware to the system the OP is using. This is because they are using a VPS and inside of a VPS tools like top don't show memory usage in quite the same way that normal systems do. I have pointed out the VPS issues in other posts and explained why they are seeing what they are seeing. Stuff like system cache and buffers isn't really relevant in this case, it is the how VPS systems show memory usage and how they apply memory usage constraints on the user of the VPS. In short, VPS systems can place restraints on theoretical virtual memory usage as well as actual physical memory usage. Thus, excessive virtual memory being set aside will result in memory errors even though physical memory usage limit hasn't been exceeded. Graham --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
