Support » Fixing WordPress » Slow site – delay caused by poll()

  • Hi

    My site has been running very slow and my webhost identified that the index page is running the following two processes, one is taking a rather long time 4.7 seconds.

    09:28:18.007859 recvfrom(5, 0x5d3ef88, 5, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000009>
    09:28:18.007895 poll([{fd=5, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=5, revents=POLLIN}]) <4.749779>
    09:28:22.757759 recvfrom(5, “”, 5, 0, NULL, NULL) = 0 <0.000031>

    Understanding this code is beyond my skills so do not know how to go about addressing this.

    Any help/guidance will be much appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Do you have polls or forms on your site? If so, I would deactivate these (assuming they are plugins of course) and then see if that speeds up the site.

    Another tool that I find for testing the speed of a site is YSlow Firefox add one – https://addons.mozilla.org/en-US/firefox/addon/yslow/

    This can also be due to some malware attack in your site , you can verify it by doing a Site Inspector which verifies whether your website is malware free or not.

    Thread Starter trusto

    (@trusto)

    Vayola – thank you for the suggestion and I ran the test and am pleased to say it is not a Malware issue.

    Christine – I have gone through the plugins deactivating with no notable difference in speed.

    A possibility may be my theme which I will test by selecting the Twenty Ten theme to see if the site is quicker.

    One thing I was wondering is maybe its purely a server issue and that I should consider upgrading my hosting to VPS?

    The site has over a 1000 posts and is on shared hosting. I have always assumed that would be fine for now.

    Thread Starter trusto

    (@trusto)

    Thought I’d pop back and share how I resolved this issue as it may help someone else.

    I came across this plugin P3 (Plugin Performance Profile). The P3 plugin will scan your installation and measure each plugin’s impact on your site’s overall performance time. It creates easy-to-read charts and profiles to help you narrow down the issue.

    This showed me the biggest cause of the slowdown was a twitter plugin.

    Then by going through the results I removed some other offenders and made the 40% faster in less than 20 minutes

    Worth a try

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Slow site – delay caused by poll()’ is closed to new replies.