Hi Paul, In a normal configuration apache keeps ~7 instances alive. When there are more concurrent users than this number, apache forks more processes. The number of concurrent users will be limited when apache fails to fork a new process i.e. no more memory is left. mod_wsgi and SymPy has nothing to do with it.
I would suggest you to use HAProxy and distribute your app over multiple instances or you can use a really high end server. Regards Sudhanshu Mishra On Mar 13, 2015 2:37 AM, "Paul Royik" <[email protected]> wrote: > Thank you will look. > > On Thursday, March 12, 2015 at 10:50:28 PM UTC+2, Joachim Durchholz wrote: >> >> Am 12.03.2015 um 21:48 schrieb Paul Royik: >> > That's what I asked. >> > How to configure sympy? >> >> SymPy does not manage multiple processes at all, it's a single-threaded >> application. >> You'd have to look in mod_wsgi if you want to allow multiple instances >> of SymPy to run in parallel. >> >> > On Thursday, March 12, 2015 at 10:30:56 PM UTC+2, Joachim Durchholz >> wrote: >> >> >> >> Am 12.03.2015 um 21:14 schrieb Paul Royik: >> >>> But if integral is "easy" (take not much memory) is number of people >> is >> >>> restricted only by available memory? Can Sympy serve as much as >> memory >> >>> allows? >> >> >> >> 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. >> >> >> > >> >> -- > 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/b827770b-698e-479d-8439-5ac46ac68771%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/b827770b-698e-479d-8439-5ac46ac68771%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAFW_KCR9pZZw5u_PrfHHJJhH6z9Y0mrmV2sKbPG19BRryk86EQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
