Hello all,

I have a project that has a lot of models and database relationship is little 
complex. I run my code with apache2 and mod_python. My problem is that there 
is a lot of apache processes and these eat too much memory.

Yesterday, 10 minutes after I announced the site's new design, the server was 
overloaded and I wasn't able to login into it via ssh for 6 hours. When I 
logged, I realized that there was ~19 apache processes and the consume of 
memory was %99! I rebooted the machine and everything looked well, but still 
there were lots of apaches. I checked logs, there wasn't DDOS attack or 
something else, it was just regular visiting of users.

Is it normal? I don't think so. Now I'm thinking of using lighttpd and cgi. I 
hope, this will reduce CPU and MEM usage but I don't know if it will work.

Using cache mechanism can be suggested but I don't think it's related with 
apache's mem/cpu usage.

Has someone faced this problem before? Any ideas? 

Regards,
Eren

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to