Am 12.03.2015 um 17:39 schrieb Paul Royik:
I'm running my site under mod_wsgi+apache.
How many people simultaneously can calculate integral?
I experience problems with memory limit and need to adjust number of
threads/processes/workers.

Ah, now I understand.

Integration can take large amounts of memory - I have seen footprints over 4 GB for a single integral, and I doubt that that's the limit.

I'm no authority on the subject, but AFAIK such things happen when the integrand is "difficult", i.e. the algorithms in SymPy do not find the right solution quickly.

I think the best you can do is to impose a limit on how much resources a web request may take, and if the process exceeds them, kill it and serve a page with a message saying that the formula was too difficult (possibly with some tips how to make the formula easier, or a link to the appropriate pages in the SymPy documentation).

--
You received this message because you are subscribed to the Google Groups 
"sympy" 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/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/5501DE96.2030904%40durchholz.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to