On Mon, Dec 20, 2010 at 4:52 PM, bax...@gretschpages.com
<mail.bax...@gmail.com> wrote:
> Foolishly posted this late last week, which is a tough time to get
> help. Please forgive me for reposting, but I'm at my wit's end here.
>
> What I've got is a very localized, yet apparently completely random
> sort of IO error, or something else causing the server to drop out.
> You can see an example here:
> http://gretschpages.com/forum/your-tunes/five-min-love-affair/36446/page1/
>
> On initial load, you'll probably see one or two static elements fail
> to load.
> If you hit reload or follow any link from that page, you'll either get
> ALL static media fail to load, or the page will not load at all,
> giving some sort of "server busy" message.
>
> That topic will do it every time. Pretty much every place else on the
> site will not. The server is not busy, it's something about that
> topic, and the handful of others this thing has hit.
>
> I can't find any commonality among the problem topics/posts. All other
> posts/topics are fine.
> If I copy all the info from the problem topic into a new one, it posts
> fine.
> If that user posts another topic, it works fine.
>
> Server config is Nginx is handling static media and passing django
> stuff over to Apache.
>
> I don't see anything in the nginx or apache error logs, and nothing
> looks off in the database, either.
>
> Any suggestions on where to look or how to debug this?
>

If I load the page in chrome with its resource tracking debug tab
open, I can see that several files that are requested receive zero
sized responses. When I loaded the page, this was for (what looks
like) static files, which you say are being served by nginx.

I don't see how django gets involved in this, which is probably part
of the reason why you aren't getting any responses on this list. Try
asking on a nginx list.

As a wild stab in the dark, does it still happen when you turn
sendfile off in nginx [1]? If so, that points to an OS/nginx bug.


Cheers

Tom


[1] http://wiki.nginx.org/HttpCoreModule#sendfile

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

Reply via email to