{Spam?} Re: Cannot start Spyce 2.1-2 web server

Andy Sy <[email protected]> Sun, 03 Sep 2006 17:35:36 +0800
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
Jonathan Ellis wrote:

>> Very sorry about that, but apparently the VPS I'm using has 64MB not
>> 128MB of memory, so it would be more like ~40MB free is not enough to
>> start up the 2.1 web server, not ~100MB.
> 
> Are you sure there are no per-process limits of some kind?  A bare Spyce
> server should be well under 10 MB.

I've verified on a different machine that the 2.1 Spyce server (with
minthreads=maxthreads=maxqueuesize=1) only occupies a couple or so
MB more than the 2.0.3 one based on "Mem:" numbers in 'top'.

However VSZ is much bigger, so I guess this may have something to do
with the OS or Python having to allocate more VM pages when starting up
2.1?  Perhaps it's time to try out Xen-based hosting which seems
to have swap space allocations instead of OpenVZ-based ones...


Here are the numbers I'm getting on a different machine:


Spyce 2.0.3 ps aux output
-------------------------

          VSZ   RSS
root    15964  5436 /usr/bin/python -u spyceCmd.py -l -d /var/run/spyce.pid
root    15964  5436 /usr/bin/python -u spyceCmd.py -l -d /var/run/spyce.pid


Spyce 2.1 (minthreads=maxthreads=maxqueue=1)
----------------------------------------------------------
          VSZ     RSS
root      26896  7204 /usr/bin/python -u spyceCmd.py -l -d /var/run/spyce.pid
root      26896  7196 /usr/bin/python -u spyceCmd.py -l -d /var/run/spyce.pid
root      26896  7196 /usr/bin/python -u spyceCmd.py -l -d /var/run/spyce.pid


Spyce 2.1 (minthreads=5, maxthreads=10, maxqueue=50)
------------------------------------------------------------------
          VSZ     RSS
root      59664  7204 /usr/bin/python -u spyceCmd.py -l -d /var/run/spyce.pid
root      59664  7196 /usr/bin/python -u spyceCmd.py -l -d /var/run/spyce.pid
root      59664  7196 /usr/bin/python -u spyceCmd.py -l -d /var/run/spyce.pid



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642