Thank you for your response. I asked about socket-timeout, because yesterday I cahnged it to 170 and left request-timeout on 60 seconds. And it worked. There was no 504 error.
I tried simultaneously on different computers access calculator and it showed no drastic increase in memory usage. Same 200-250 MB level. I use packaged algorithm (efficient) with slight modifications. *"Have you tried extracting the integral algorithm into a standalone Python script separate from your web application and run it and watched how much memory it uses? "* I don't know this area of Python. How can I watch memory usage of piece of code? *"As to the log messages you gave me, it is a bit hard for me to relate this to what you saw as I don't know what the number of threads was you were running. It seems you had increased it beyond 5. And I didn't know what the request-timeout was set to either.*" you told me to set number of threads to 10. request-timeout was 300 (then I change it, but log was for 300 seconds). Thank you. -- 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.
