Coda Hale
2006-Jul-03 20:28 UTC
[Mongrel] Strange local requests with Apache 2.2, mod_proxy_balancer, and Mongrel 0.3.13.2
Hello all, My Rails app is logging some rather strange requests: Processing StoreController#index (for ::1 at 2006-07-03 13:18:48) [GET] Session ID: ed5e2a0e5b4b9290835a969cdd749e6e Parameters: {"action"=>"index", "controller"=>"store"} Completed in 0.08174 (12 reqs/sec) | Rendering: 0.07951 (97%) | DB: 0.00000 (0%) | 200 OK [http://127.0.0.1/] These are only for the default route, and they don''t seem to be related to any actual requests. There''s about a 2:1 ratio between actual requests and these weird local requests. Has anyone seen anything like this before? -- Coda Hale http://blog.codahale.com
Zed Shaw
2006-Jul-03 23:19 UTC
[Mongrel] Strange local requests with Apache 2.2, mod_proxy_balancer, and Mongrel 0.3.13.2
Most likely you have something on that page which is a static resource and isn''t being referenced correctly. Turn on debugging: mongrel_rails start -B And run this request, then check the log/mongrel_debug/files.log and rails.log. It''ll tell you all you need to know. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need Mongrel support? On Mon, 2006-07-03 at 13:28 -0700, Coda Hale wrote:> Hello all, > > My Rails app is logging some rather strange requests: > > Processing StoreController#index (for ::1 at 2006-07-03 13:18:48) [GET] > Session ID: ed5e2a0e5b4b9290835a969cdd749e6e > Parameters: {"action"=>"index", "controller"=>"store"} > Completed in 0.08174 (12 reqs/sec) | Rendering: 0.07951 (97%) | DB: > 0.00000 (0%) | 200 OK [http://127.0.0.1/] > > These are only for the default route, and they don''t seem to be > related to any actual requests. There''s about a 2:1 ratio between > actual requests and these weird local requests. > > Has anyone seen anything like this before? >
Coda Hale
2006-Jul-04 03:18 UTC
[Mongrel] Strange local requests with Apache 2.2, mod_proxy_balancer, and Mongrel 0.3.13.2
On 7/3/06, Zed Shaw <zedshaw at zedshaw.com> wrote:> Most likely you have something on that page which is a static resource > and isn''t being referenced correctly. > > Turn on debugging: > > mongrel_rails start -B > > And run this request, then check the log/mongrel_debug/files.log and > rails.log. It''ll tell you all you need to know.Nailed it in one. Thanks for the help, Zed, and more importantly, thanks for sharing such an awesome piece of software with the rest of us. -- Coda Hale http://blog.codahale.com