Hi Sebastian,

If your 1 process and 1 thread takes 1 second to serve a page, then you
could serve 86,400 per day.

However users are not so evenly distributed, so you have more users one
second and less another.

It sounds like you have some deeper issues with a server not being able to
run 5 threads.  Where is the memory going?  What are you doing in your
python code to use memory?

Other issues could be misconfigured webserver etc...

1. Try to figure out what is consuming ram.
2. Benchmark site using ab tool with apache.

Google should help you with these.  Once you have those figured out, and
you still have a problem, post back with a lot of detail.
On Sep 24, 2013 7:20 AM, "Sebastian Clemens" <[email protected]> wrote:

> Hello,
>
> I'm using mod wsgi for some simple websites with only one process and one
> thread. But now I'm going to host a big page with 1000 users/day.
> Last time I hosted it i tried with 5 processes and 10 threads and the
> server crashed cause of full RAM.
>
> Can anyone give an approach how many users one process and one thread can
> handle? And how can I calculate the amound of processes and threads?
>
>
> Thanks very much,
> Sebastian
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.

Reply via email to