On 10/16/06, Mike <[EMAIL PROTECTED]> wrote: > I just svn update my django directory. Doesn't the latest django > version reflect all the bug fixes? Do I have to check out > 0.91-bugfixes?
The "bugfixes" branches are only for the older (0.90 and 0.91) versions of Django, and I only mentioned them because there are people still using those versions, and there was a problem in 0.90 and 0.91 which could leak DB connections under mod_python. If you're on 0.95 or current trunk, you don't have to worry about that. > Pressing 'c' on top clears everything a little bit. One thing I think I > forgot to mention is 90% of the time the server load is moderate. It is > 3 times a week around early in the morning that my django and postgres > start dancing to death for me. Given that my server hardware handles > the peak time with no problem, I don't think I need to upgrade the > server. As someone else suggested, that really sounds like a cron job or some other form of maintenance taking you down. What sort of cron stuff do you have set up? Another possibility, and one we live with daily at World Online, is that "early in the morning" is prime time for search indexers; it's not unusual for us to get concentrated bursts of traffic where Yahoo, MSN and Google are crawling every page of every one of our sites at the same time, way late into the night/early in the morning, and that can generate significant load even though it doesn't seem like "real" site traffic. > My guess is that somehow those aggregate builders are not cleaning up > afterwords that cause the server to start overloading and die after 5 > to 6 hours. That's another possibility, especially if those processes leave connections hanging open. In top, look for zombie processes, or postgres processes which say "idle in transaction" to get a feel for where those are (but keep in mind that it's normal for a postgres process to spend some time in the "idle in transaction" state -- it's only if a particular process gets into an idle state and stays there a long time that you need to investigate). -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---