lanki567 commented on issue #1662: Mod_pagespeed deadlock? URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1662#issuecomment-537963143 Below is the stacktrace of 2 threads with the Release module compiled from latest stable build branch. We see 100's of threads with the below stacktrace `Thread 24 (Thread 0x7f3c425d6700 (LWP 12478)): #0 0x00007f3da8e984ed in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x00007f3da8e93dcb in _L_lock_883 () from /lib64/libpthread.so.0 #2 0x00007f3da8e93c98 in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x00007f3d98e11afb in net_instaweb::SharedMemCache<64ul>::Get(std::string const&, net_instaweb::CacheInterface::Callback*) () from /apache/config/modules/mod_pagespeed_ap24.so #4 0x00007f3d98e05977 in net_instaweb::CacheStats::Get(std::string const&, net_instaweb::CacheInterface::Callback*) () from /apache/config/modules/mod_pagespeed_ap24.so #5 0x00007f3d98e05977 in net_instaweb::CacheStats::Get(std::string const&, net_instaweb::CacheInterface::Callback*) () from /apache/config/modules/mod_pagespeed_ap24.so #6 0x00007f3d98bb1888 in net_instaweb::CachePropertyStore::Get(std::string const&, std::string const&, std::string const&, std::vector<net_instaweb::PropertyCache::Cohort const*, std::allocator<net_instaweb::PropertyCache::Cohort const*> > const&, net_instaweb::PropertyPage*, net_instaweb::Callback1<bool>*, net_instaweb::AbstractPropertyStoreGetCallback**) () from /apache/config/modules/mod_pagespeed_ap24.so #7 0x00007f3d98bb53b4 in net_instaweb::PropertyPage::Read(std::vector<net_instaweb::PropertyCache::Cohort const*, std::allocator<net_instaweb::PropertyCache::Cohort const*> > const&) () from /apache/config/modules/mod_pagespeed_ap24.so #8 0x00007f3d989e0606 in net_instaweb::InstawebContext::BlockingPropertyCacheLookup() () from /apache/config/modules/mod_pagespeed_ap24.so #9 0x00007f3d989e0eb5 in net_instaweb::InstawebContext::InstawebContext(request_rec*, net_instaweb::RequestHeaders*, net_instaweb::ContentType const&, net_instaweb::ApacheServerContext*, std::string const&, net_instaweb::RefCountedPtr<net_instaweb::RequestContext> const&, net_instaweb::QueryParams const&, net_instaweb::QueryParams const&, bool, net_instaweb::RewriteOptions const&) () from /apache/config/modules/mod_pagespeed_ap24.so #10 0x00007f3d989e8169 in net_instaweb::(anonymous namespace)::build_context_for_request(request_rec*) () from /apache/config/modules/mod_pagespeed_ap24.so #11 0x00007f3d989e8755 in net_instaweb::(anonymous namespace)::instaweb_out_filter(ap_filter_t*, apr_bucket_brigade*) () from /apache/config/modules/mod_pagespeed_ap24.so #12 0x00007f3da7e77194 in filter_harness (f=0x7f3bf8071fa0, bb=0x7f3bf80723a0) at mod_filter.c:323 #13 0x00000000004421f7 in default_handler (r=0x7f3bf8078020) at core.c:4836 #14 0x0000000000453960 in ap_run_handler (r=r@entry=0x7f3bf8078020) at config.c:170 #15 0x0000000000453ea9 in ap_invoke_handler (r=r@entry=0x7f3bf8078020) at config.c:444 #16 0x00000000004697ba in ap_process_async_request (r=0x7f3bf8078020) at http_request.c:453 #17 0x0000000000469a7e in ap_process_request (r=r@entry=0x7f3bf8078020) at http_request.c:488 #18 0x0000000000465c45 in ap_process_http_sync_connection (c=0x7f3c3005b2c8) at http_core.c:210 #19 ap_process_http_connection (c=0x7f3c3005b2c8) at http_core.c:251 #20 0x000000000045d480 in ap_run_process_connection (c=c@entry=0x7f3c3005b2c8) at connection.c:42 #21 0x000000000045d9a8 in ap_process_connection (c=c@entry=0x7f3c3005b2c8, csd=csd@entry=0x7f3c3005b0b0) at connection.c:219 #22 0x00000000004706f2 in process_socket (bucket_alloc=0x7f3bf806aa08, my_thread_num=44, my_child_num=3, sock=0x7f3c3005b0b0, p=0x7f3c3005b038, thd=0xc47928) at worker.c:479 #23 worker_thread (thd=0xc47928, dummy=<optimized out>) at worker.c:808 #24 0x00007f3da8e91dd5 in start_thread () from /lib64/libpthread.so.0 #25 0x00007f3da89b702d in clone () from /lib64/libc.so.6 Thread 25 (Thread 0x7f3c42fd7700 (LWP 12477)): #0 0x00007f3da8e984ed in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x00007f3da8e93dcb in _L_lock_883 () from /lib64/libpthread.so.0 #2 0x00007f3da8e93c98 in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x00007f3d98e11afb in net_instaweb::SharedMemCache<64ul>::Get(std::string const&, net_instaweb::CacheInterface::Callback*) () from /apache/config/modules/mod_pagespeed_ap24.so #4 0x00007f3d98e05977 in net_instaweb::CacheStats::Get(std::string const&, net_instaweb::CacheInterface::Callback*) () from /apache/config/modules/mod_pagespeed_ap24.so #5 0x00007f3d98e05977 in net_instaweb::CacheStats::Get(std::string const&, net_instaweb::CacheInterface::Callback*) () from /apache/config/modules/mod_pagespeed_ap24.so #6 0x00007f3d98bb1888 in net_instaweb::CachePropertyStore::Get(std::string const&, std::string const&, std::string const&, std::vector<net_instaweb::PropertyCache::Cohort const*, std::allocator<net_instaweb::PropertyCache::Cohort const*> > const&, net_instaweb::PropertyPage*, net_instaweb::Callback1<bool>*, net_instaweb::AbstractPropertyStoreGetCallback**) () from /apache/config/modules/mod_pagespeed_ap24.so #7 0x00007f3d98bb53b4 in net_instaweb::PropertyPage::Read(std::vector<net_instaweb::PropertyCache::Cohort const*, std::allocator<net_instaweb::PropertyCache::Cohort const*> > const&) () from /apache/config/modules/mod_pagespeed_ap24.so #8 0x00007f3d989e0606 in net_instaweb::InstawebContext::BlockingPropertyCacheLookup() () from /apache/config/modules/mod_pagespeed_ap24.so #9 0x00007f3d989e0eb5 in net_instaweb::InstawebContext::InstawebContext(request_rec*, net_instaweb::RequestHeaders*, net_instaweb::ContentType const&, net_instaweb::ApacheServerContext*, std::string const&, net_instaweb::RefCountedPtr<net_instaweb::RequestContext> const&, net_instaweb::QueryParams const&, net_instaweb::QueryParams const&, bool, net_instaweb::RewriteOptions const&) () from /apache/config/modules/mod_pagespeed_ap24.so #10 0x00007f3d989e8169 in net_instaweb::(anonymous namespace)::build_context_for_request(request_rec*) () from /apache/config/modules/mod_pagespeed_ap24.so #11 0x00007f3d989e8755 in net_instaweb::(anonymous namespace)::instaweb_out_filter(ap_filter_t*, apr_bucket_brigade*) () from /apache/config/modules/mod_pagespeed_ap24.so #12 0x00007f3da7e77194 in filter_harness (f=0x7f3bec071f88, bb=0x7f3bec072388) at mod_filter.c:323 #13 0x00000000004421f7 in default_handler (r=0x7f3bec078020) at core.c:4836 #14 0x0000000000453960 in ap_run_handler (r=r@entry=0x7f3bec078020) at config.c:170 #15 0x0000000000453ea9 in ap_invoke_handler (r=r@entry=0x7f3bec078020) at config.c:444 #16 0x00000000004697ba in ap_process_async_request (r=0x7f3bec078020) at http_request.c:453 #17 0x0000000000469a7e in ap_process_request (r=r@entry=0x7f3bec078020) at http_request.c:488 #18 0x0000000000465c45 in ap_process_http_sync_connection (c=0x7f3c300591e8) at http_core.c:210 #19 ap_process_http_connection (c=0x7f3c300591e8) at http_core.c:251 #20 0x000000000045d480 in ap_run_process_connection (c=c@entry=0x7f3c300591e8) at connection.c:42 #21 0x000000000045d9a8 in ap_process_connection (c=c@entry=0x7f3c300591e8, csd=csd@entry=0x7f3c30058fd0) at connection.c:219 #22 0x00000000004706f2 in process_socket (bucket_alloc=0x7f3bec06aa08, my_thread_num=43, my_child_num=3, sock=0x7f3c30058fd0, p=0x7f3c30058f58, thd=0xc478f8) at worker.c:479 #23 worker_thread (thd=0xc478f8, dummy=<optimized out>) at worker.c:808 #24 0x00007f3da8e91dd5 in start_thread () from /lib64/libpthread.so.0 #25 0x00007f3da89b702d in clone () from /lib64/libc.so.6`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services