Welcome! Log In Create A New Profile

Advanced

Re: nginix not servic static content as part of page

Igor Sysoev
February 05, 2010 04:10PM
On Fri, Feb 05, 2010 at 03:04:07PM -0500, JohnSchulze wrote:

> Maxim Dounin Wrote:
> -------------------------------------------------------
> > Could you please provide nginx -V output, full
> > config and debug
> > log for faulty request(s)? See here for
> > instructions how to
> > obtain debug log:
> >
> > http://nginx.org/en/docs/debugging_log.html
> >
> > Note well: using try_files and not using dynamic
> > hostname
> > resolution as suggested in previous reply is
> > anyway preffered.
> > But config as shown in your post should work
> > without problems, and
> > it would be good to investigate problem roots.
> >
> > Maxim Dounin
>
> Many thanks for your suggestions, I have changed to use the try_files method instead (is this a new directive?). Unfortunately the behaviour is exactly the same. I've run off a debug log for a page request but it's 99kb(!) so I can't really post it all here. In it I can see there are double requests for some files and for some of these I can't see the 200. Here is a part of the debug log where you can see two requests for "main.css" (there should only be one request) and it looks to me as if only one of them is finished with proper response headers:

> 2010/02/05 19:42:53 38652#171748: *4 http filename: "c:\nginx/../rails/MySite/public/main.css"
> 2010/02/05 19:42:53 38652#171748: *4 add cleanup: 007C1ECC
> 2010/02/05 19:42:55 160580#180468: master WaitForMultipleObjects: 4
> 2010/02/05 19:42:55 160580#180468: reap worker
> 2010/02/05 19:42:55 160580#180468: worker process 38652 exited with code C0000005

The worker exited abnormaly. I do not know how to troubleshoot such bugs
on Windows without coredumps. Probably you may look the DrWatson log file
for stack dump to estimate the point of failure.


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginix not servic static content as part of page

JohnSchulze February 05, 2010 06:08AM

Re: nginix not servic static content as part of page

Reinis Rozitis February 05, 2010 06:36AM

Re: nginix not servic static content as part of page

Maxim Dounin February 05, 2010 07:24AM

Re: nginix not servic static content as part of page

JohnSchulze February 05, 2010 03:04PM

Re: nginix not servic static content as part of page

Igor Sysoev February 05, 2010 04:10PM

Re: nginix not servic static content as part of page

JohnSchulze February 05, 2010 05:21PM

Re: nginix not servic static content as part of page

Igor Sysoev February 08, 2010 06:38AM

Re: nginix not servic static content as part of page

JohnSchulze February 05, 2010 03:26PM

Re: nginix not servic static content as part of page

JohnSchulze February 11, 2010 10:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 265
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready