2011/3/17 Remco <[email protected]>:
> Hey Group,
>
> I have written a web.py website on my local machine. It has 4GB RAM
> and a 8-core 1.6 Ghz processor. The written webapplication works nice
> on my desktop.
>
> The problem is that I now want to run it on my single-processor 256Mb
> RAM server. My written application is obviously overkill for this
> machine, but I don't know how or why.
>
> This is how the webserver construction is:
>
> 1. a (self-written) module for getting/caching data from the database
> 2. web.py
> 3. web.py page-classes which server as controllers
> 4. Templates with Templetor
>
> Next I run the server. Sometimes it starts, sometimes it does not (if
> a php-fastcgi is running the server won't even start because of a
> memory error). If I get the server started I can browser several
> pages, but after that python starts complaining about memory issues.
>
> Now comes the strange thing: The system reports no memory overload (in
> fact, it says that only 75 Mb Mem is being used. Also the CPU is not
> being exhausted.
>
> What can be the problem? Is there really a memory overload? If yes,
> why isn't that reported by the system? Can I fore my system to let
> webpy use more RAM?
>
>
> Note that if I test the self-written module myself with Ipython (and
> storing the requested data in a memory cache), I don't get any memory
> errors and the memory used grows to 100 MB (using ~30 Mb).
>
> Hope some one can give me a clue of what is going on...
> Thanks in advance!

How are you deploying your code? using lighttpd+fastcgi?

Could it be because of less of swap space? What is the amount of
virtual memory the process is taking?

-- 
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.

Reply via email to