• Resolved gorrillamcd

    (@gorrillamcd)


    I’ve been racking my brain for the past couple of days trying to figure out a performance issue on my wordpress install. When a request is made that’s not fresh in the cache (so that it has to hit the whole wordpress stack), it hangs for about 30s before loading any part of the page.

    I initially thought it was a plugin, but I disabled all plugins and still nothing.

    I enabled NewRelic on my site and got the Pro trial version that does transaction tracing. It shows that WP_HTTP_STREAMS is the function thats causing the problem. I’ve found one other occurrence of this problem on google, but it was for version 2.8 of wordpress and in the admin area (my admin area is unaffected by the problem.

    What can I do to fix this. I don’t think it’s a theme issue since this function is part of the wordpress core files so it hits that before rendering any part of the theme files, right?

    Any ideas of what might be causing this?

Viewing 1 replies (of 1 total)
  • Thread Starter gorrillamcd

    (@gorrillamcd)

    Ok, belay that request for help 😉

    I found the problem. It was a part of the theme after all. A social widget that the theme includes that make a call to wp_http_streams, though I’m not sure why. I just found the page in NewRelic that shows the trace of that specific function call.

    Just for posterity, why would that function take so long to complete?

Viewing 1 replies (of 1 total)
  • The topic ‘WP_HTTP_STREAMS Blocking requests: takes 30s to load site’ is closed to new replies.