Sorry to disturb you, but I notice that some memory is not freed even after 
restart.
For example, suppose memory usage is 400 MB. I make server restart and it 
still 400 MB. Processes are not killed. After some time, more memory is 
used and webfaction kills everything.

So, I think overall memory usage is not a problem, the problem is that 
memory is not freed. Can you explain why?

On Thursday, March 12, 2015 at 10:49:48 PM UTC+2, Paul Royik wrote:
>
> I use sympy - symbolic library in python.
>
> Here is the response.
>
> Question: Can Sympy serve as much as memory allows?
> Answer:
> That depends on how many SymPy processes mod_wsgi sets up. 
> I have no idea how mod_wsgi works, so I can't say much about that. 
>
> It's likely configurable. 
>
> Also, it's likely a good idea to have a separate SymPy process per web 
> request, simply to keep sessions of different users separate. 
> In that case SymPy can indeed serve as much as memory allows.
>
> On Thursday, March 12, 2015 at 2:18:08 PM UTC+2, Paul Royik wrote:
>
> Here is my express-config
> mod_wsgi-express setup-server
> --working-directory ${SITE_NAME} 
> --server-root express --port ${SITE_PORT} 
> --log-directory ${LOG_DIR} --access-log --access-log-format 
> "${LOG_FORMAT}" 
> --access-log-name access_${APPL_NAME}.log --error-log-name 
> error_${APPL_NAME}.log 
> --python-path ${SITE_ROOT}/lib/python${PYTHON_VERSION} 
> --threads 10 
> --service-script tasks $SITE_NAME/$SITE_NAME/timeout/task-queue-manager.py 
> $SITE_NAME/$SITE_NAME/wsgi.py
>
> Don't see where I can tune number of processes.
> Also, I will find out about how many instances can external library handle 
> and let you know.
>
> On Thursday, March 12, 2015 at 3:38:17 AM UTC+2, Graham Dumpleton wrote:
>
>
> On 12/03/2015, at 4:06 AM, Paul Royik <[email protected]> wrote:
>
> I still experience problems with memory overflow on webfaction
> But it seems that problem is not in service:tasks (it takes only 9 MB).
> I don't know why there are so many other threads.
>
> simamura - 1MB - 23:37:52 - 1571 - 
> /home/simamura/webapps/django_gradis/apache2/bin/httpd.worker -f 
> /home/simamura/webapps/django_gradis/apache2/conf/httpd.conf -k start
> simamura - 43MB - 23:37:52 - 1587 - 
> /home/simamura/webapps/django_gradis/apache2/bin/httpd.worker -f 
> /home/simamura/webapps/django_gradis/apache2/conf/httpd.conf -k start
> simamura - 43MB - 23:37:52 - 1588 - 
> /home/simamura/webapps/django_gradis/apache2/bin/httpd.worker -f 
> /home/simamura/webapps/django_gradis/apache2/conf/httpd.conf -k start
> simamura - 2MB - 23:37:52 - 1589 - 
> /home/simamura/webapps/django_gradis/apache2/bin/httpd.worker -f 
> /home/simamura/webapps/django_gradis/apache2/conf/httpd.conf -k start
>
> ...

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to