Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Native fetcher crashes #463

Closed
oschaaf opened this issue Jul 31, 2013 · 1 comment · Fixed by #465
Closed

Native fetcher crashes #463

oschaaf opened this issue Jul 31, 2013 · 1 comment · Fixed by #465
Assignees

Comments

@oschaaf
Copy link
Member

oschaaf commented Jul 31, 2013

Looks like this happens when running out of file descriptors.
I noticed this will stress testing the single fd patch.

Backtrace:

#0  net_instaweb::NgxFetch::Connect (this=0x7fffe808cc80) at /home/oschaaf/code/google/ngx_pagespeed/src/ngx_fetch.cc:417
#1  0x0000000000473354 in net_instaweb::NgxFetch::InitRequest (this=0x7fffe808cc80) at /home/oschaaf/code/google/ngx_pagespeed/src/ngx_fetch.cc:391
#2  0x000000000047386d in net_instaweb::NgxFetch::Init (this=0x7fffe808cc80) at /home/oschaaf/code/google/ngx_pagespeed/src/ngx_fetch.cc:177
#3  0x0000000000473924 in net_instaweb::NgxFetch::Start (this=<optimized out>, fetcher=<optimized out>) at /home/oschaaf/code/google/ngx_pagespeed/src/ngx_fetch.cc:92
#4  0x000000000048027a in net_instaweb::NgxUrlAsyncFetcher::StartFetch (this=0xe7a650, fetch=0x7fffe808cc80)
    at /home/oschaaf/code/google/ngx_pagespeed/src/ngx_url_async_fetcher.cc:298
#5  0x000000000048070a in net_instaweb::NgxUrlAsyncFetcher::CommandHandler (cmdev=0xee3780) at /home/oschaaf/code/google/ngx_pagespeed/src/ngx_url_async_fetcher.cc:256
#6  0x000000000042b4d9 in ngx_epoll_process_events (cycle=<optimized out>, timer=<optimized out>, flags=<optimized out>) at src/event/modules/ngx_epoll_module.c:683
#7  0x0000000000423fd7 in ngx_process_events_and_timers (cycle=0xe64490) at src/event/ngx_event.c:249
#8  0x000000000042ae36 in ngx_single_process_cycle (cycle=0xe64490) at src/os/unix/ngx_process_cycle.c:315
#9  0x000000000040f179 in main (argc=<optimized out>, argv=<optimized out>) at src/core/nginx.c:409
@oschaaf
Copy link
Member Author

oschaaf commented Aug 3, 2013

Fixed in #465

@oschaaf oschaaf closed this as completed Aug 3, 2013
morlovich pushed a commit to morlovich/ngx_pagespeed that referenced this issue Nov 25, 2013
Handle the case where ngx_event_connect_peer didn't return NGX_OK.
Also replace a TODO for adding a timer with actually adding the
timer.

Fixes apache#463
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant