• Resolved Bj?rn

    (@ahrndt)


    Since I activated the jetpack toolbar I have massive speed problems when I am logged in. Sometimes I get error warnings that the sql server has gone away // error reading result set’s header in… //cannot modify header information …

    I already deactivated the toolbar – same problems.

    When I am logged of or deactivate jetpack, there are no speed problems…

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I’m sorry to hear you’ve run into issues.

    Could you try to open your browser’s dev tools, go to the network tab, and then reload the dashboard page? It will give you a list of resources that get loaded on the page, and you will see what resources take a significant amount of time to load on your site.

    Let me know what you find!

    Thread Starter Bj?rn

    (@ahrndt)

    it shows the admin.php with a latency of 12.58s; admin-ajax.php latency 11.61s, check latency 6.18s, site latency 3.5s

    Do you need other informations?

    By the way: early this morning, speed was OK…

    Thread Starter Bj?rn

    (@ahrndt)

    Timline reports several times (layout & rendering):
    devicepx-jetpack.js > invalid layout/styles invalid/recalculate/forced layout

    also javascript:
    devicepx-jetpack.js > timer 1, 2, 4, 58, 60 ….

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Timline reports several times (layout & rendering):
    devicepx-jetpack.js

    That is to be expected. The devicepx script is part of Jetpack, and is used to update your image URLs to render images that match your browser and device’s property. For example if you use a Retina or HiDPi device we add a zoom parameter to fetch bigger, higher quality images. You can consequently expect that script to run for each one of the images on your site.

    admin.php with a latency of 12.58s; admin-ajax.php latency 11.61s

    This, however, is a problem. admin.php is called to display the Jetpack stats graph in your admin bar; it should never take 12 seconds to load though. admin-ajax.php is used by themes and plugins to implement Ajax features on your site. Jetpack, for example, calls that file when someone submits a contact form on your site, or when someone submits a comment using the comment form in the Carousel view of your images. Since the call happens on your home page, it is most likely created by another plugin or your theme.

    None of those scripts should take more than 10 seconds to load though.

    Could you try to deactivate all plugins on your site, one at a time, and let me know if the response times for both scripts go back to normal after deactivating a specific plugin?

    Thank you.

    Thread Starter Bj?rn

    (@ahrndt)

    Actually there ist no delay when I load the Dashboard.
    Also the Jetpack Debugger reports no connection problems (as he did before).

    This are the Debugger Details from yesterday, when it happens first:

    Debug-Info
    jQuery version: 1.12.4
    CLIENT_ID: 90673803
    BLOG_TOKEN: Cu7)Jf@YwI51ufHKDM2&[email protected]%9dimW5cJqJxbL1VhEOaajE#k9EyE&c
    MASTER_USER: 1
    CERT: 0
    TIME_DIFF: 0
    VERSION: 5.8:1518623126
    OLD_VERSION: 5.7.1:1516172809
    PUBLIC: 1
    USER_ID: 1
    USER_TOKEN: O7#juylY7MGVlvuF0n6kp*InzV!ff84t.MSiyGWnG6g4&Mdo6Rmv4Kb7g5d&%(&45.1
    PHP_VERSION: 7.0.27
    WORDPRESS_VERSION: 4.9.4
    JETPACK__VERSION: 5.8
    JETPACK__PLUGIN_DIR: /homepages/11/d83397093/htdocs/clickandbuilds/BergtourenundBiketourenimAllgu/wp-content/plugins/jetpack/
    SITE_URL: https://bergtouren-im-allgaeu.de
    HOME_URL: https://bergtouren-im-allgaeu.de
    PLAN: JetpackPlanfree

    Vollst?ndiger Status der Jetpack-Synchronisierung: `Array
    (
    [started] => Sat, 03 Mar 2018 12:01:31 +0000
    [queue_finished] => Thu, 01 Jan 1970 00:00:00 +0000
    [send_started] => Sat, 03 Mar 2018 12:01:54 +0000
    [finished] => Thu, 01 Jan 1970 00:00:00 +0000
    [sent] => Array
    (
    [constants] => 1
    [functions] => 1
    [options] => 1
    [terms] => 8
    [themes] => 1
    [users] => 1
    [posts] => 1
    )

    [queue] => Array
    (
    [constants] => 1
    [functions] => 1
    [options] => 1
    [terms] => 8
    [themes] => 1
    [users] => 1
    [posts] => 187
    )

    [config] =>
    [total] => Array
    (
    [constants] => 1
    [functions] => 1
    [options] => 1
    [terms] => 8
    [themes] => 1
    [users] => 1
    [posts] => 550
    [comments] => 1914
    [updates] => 1
    )

    )
    `
    Gr??e der Warteschlange für die Synchronisation: 0
    Verz?gerung der Warteschlange für die Synchronisation: 0 seconds
    Gr??e der Warteschlange für die vollst?ndige Synchronisation: 186
    Verz?gerung der Warteschlange für die vollst?ndige Synchronisation: 23 seconds
    Sync IDC URLs: {“home”:”https:\/\/bergtouren-im-allgaeu.de”,”siteurl”:”https:\/\/bergtouren-im-allgaeu.de”,”WP_HOME”:””,”WP_SITEURL”:””}
    Sync error IDC option: false
    Sync IDC Optin: 1

    HTTP_HOST: bergtouren-im-allgaeu.de
    SERVER_PORT: 443
    HTTPS: on
    REMOTE_ADDR: 95.91.248.102
    PROTECT_TRUSTED_HEADER: false

    TEST RESULTS:

    HTTP: PASS
    HTTPS: PASS
    IDENTITY_CRISIS: PASS
    SELF: FAIL

    RAW TEST RESULTS:

    HTTP
    Array
    (
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [server] => nginx
    [date] => Sat, 03 Mar 2018 12:01:54 GMT
    [content-type] => text/plain;charset=utf-8
    [vary] => Array
    (
    [0] => Accept-Encoding
    [1] => Cookie
    )

    [expires] => Wed, 11 Jan 1984 05:00:00 GMT
    [cache-control] => no-cache, must-revalidate, max-age=60
    [x-hacker] => Jetpack Test
    [content-encoding] => gzip
    [x-ac] => 3.fra _dca
    )

    )

    [body] => OK
    [response] => Array
    (
    [code] => 200
    [message] => OK
    )

    [cookies] => Array
    (
    )

    [filename] =>
    [http_response] => WP_HTTP_Requests_Response Object
    (
    [response:protected] => Requests_Response Object
    (
    [body] => OK
    [raw] => HTTP/1.1 200 OK
    Server: nginx
    Date: Sat, 03 Mar 2018 12:01:54 GMT
    Content-Type: text/plain;charset=utf-8
    Transfer-Encoding: chunked
    Connection: close
    Vary: Accept-Encoding
    Vary: Cookie
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control: no-cache, must-revalidate, max-age=60
    X-hacker: Jetpack Test
    Content-Encoding: gzip
    X-ac: 3.fra _dca

    OK
    [headers] => Requests_Response_Headers Object
    (
    [data:protected] => Array
    (
    [server] => Array
    (
    [0] => nginx
    )

    [date] => Array
    (
    [0] => Sat, 03 Mar 2018 12:01:54 GMT
    )

    [content-type] => Array
    (
    [0] => text/plain;charset=utf-8
    )

    [vary] => Array
    (
    [0] => Accept-Encoding
    [1] => Cookie
    )

    [expires] => Array
    (
    [0] => Wed, 11 Jan 1984 05:00:00 GMT
    )

    [cache-control] => Array
    (
    [0] => no-cache, must-revalidate, max-age=60
    )

    [x-hacker] => Array
    (
    [0] => Jetpack Test
    )

    [content-encoding] => Array
    (
    [0] => gzip
    )

    [x-ac] => Array
    (
    [0] => 3.fra _dca
    )

    )

    )

    [status_code] => 200
    [protocol_version] => 1.1
    [success] => 1
    [redirects] => 0
    [url] => https://jetpack.wordpress.com/jetpack.test/1/
    [history] => Array
    (
    )

    [cookies] => Requests_Cookie_Jar Object
    (
    [cookies:protected] => Array
    (
    )

    )

    )

    [filename:protected] =>
    [data] =>
    [headers] =>
    [status] =>
    )

    )

    HTTPS
    Array
    (
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [server] => nginx
    [date] => Sat, 03 Mar 2018 12:01:55 GMT
    [content-type] => text/plain;charset=utf-8
    [vary] => Array
    (
    [0] => Accept-Encoding
    [1] => Cookie
    )

    [expires] => Wed, 11 Jan 1984 05:00:00 GMT
    [cache-control] => no-cache, must-revalidate, max-age=60
    [x-hacker] => Jetpack Test
    [content-encoding] => gzip
    [x-ac] => 3.fra _dca
    [strict-transport-security] => max-age=15552000
    )

    )

    [body] => OK
    [response] => Array
    (
    [code] => 200
    [message] => OK
    )

    [cookies] => Array
    (
    )

    [filename] =>
    [http_response] => WP_HTTP_Requests_Response Object
    (
    [response:protected] => Requests_Response Object
    (
    [body] => OK
    [raw] => HTTP/1.1 200 OK
    Server: nginx
    Date: Sat, 03 Mar 2018 12:01:55 GMT
    Content-Type: text/plain;charset=utf-8
    Transfer-Encoding: chunked
    Connection: close
    Vary: Accept-Encoding
    Vary: Cookie
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control: no-cache, must-revalidate, max-age=60
    X-hacker: Jetpack Test
    Content-Encoding: gzip
    X-ac: 3.fra _dca
    Strict-Transport-Security: max-age=15552000

    OK
    [headers] => Requests_Response_Headers Object
    (
    [data:protected] => Array
    (
    [server] => Array
    (
    [0] => nginx
    )

    [date] => Array
    (
    [0] => Sat, 03 Mar 2018 12:01:55 GMT
    )

    [content-type] => Array
    (
    [0] => text/plain;charset=utf-8
    )

    [vary] => Array
    (
    [0] => Accept-Encoding
    [1] => Cookie
    )

    [expires] => Array
    (
    [0] => Wed, 11 Jan 1984 05:00:00 GMT
    )

    [cache-control] => Array
    (
    [0] => no-cache, must-revalidate, max-age=60
    )

    [x-hacker] => Array
    (
    [0] => Jetpack Test
    )

    [content-encoding] => Array
    (
    [0] => gzip
    )

    [x-ac] => Array
    (
    [0] => 3.fra _dca
    )

    [strict-transport-security] => Array
    (
    [0] => max-age=15552000
    )

    )

    )

    [status_code] => 200
    [protocol_version] => 1.1
    [success] => 1
    [redirects] => 0
    [url] => https://jetpack.wordpress.com/jetpack.test/1/
    [history] => Array
    (
    )

    [cookies] => Requests_Cookie_Jar Object
    (
    [cookies:protected] => Array
    (
    )

    )

    )

    [filename:protected] =>
    [data] =>
    [headers] =>
    [status] =>
    )

    )

    IDENTITY_CRISIS
    PASS

    SELF
    cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Excellent! Does this mean the problem is not happening on your site anymore? If it starts happening again, let me know!

    Could you please disconnect your site from WordPress.com and reconnect it as soon as possible, as you’ve posted private details about your connection here on public forums?

    Thank you!

    Thread Starter Bj?rn

    (@ahrndt)

    How to disconnect?
    Don‘t think that the problem is solved. Perhaps load problems? Problem appears temporarly. As I wrote. Early in the morning no problems. Later problems. At the afternoon not. Without changes.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    How to disconnect?

    Here is how to disconnect and reconnect your site to WordPress.com:

    1. Go to the Jetpack menu in your dashboard
    2. Scroll down to find the Connections area.
    3. Click the “Manage site connection” link where your site is listed.
    4. Click the red Disconnect button.
    5. Click on the “Set Up Jetpack” button to connect your site to WordPress.com again.

    Perhaps load problems? Problem appears temporarly. As I wrote. Early in the morning no problems. Later problems. At the afternoon not. Without changes.

    It does indeed seem like load issues. Next time things start getting slow, could you try to access your dashboard using a different network provider (like from your mobile phone if your phone provider is different from your home internet provider), and see if things load faster there? If they do, you could contact them and ask them if they can improve that situation and make sure traffic does not get throttled at specific times of the day. If they don’t, the load issues are most likely happening on your server, and you will need to contact your hosting provider about this.

    Thread Starter Bj?rn

    (@ahrndt)

    OK. I disconnected and connected again. I will try to activate another provider next time. Greets and thanks for your help!

    Thread Starter Bj?rn

    (@ahrndt)

    Actual it appears again. What I did: I activated the notification for comments (etc.). Latency went rapidly bad (33s up to 72s for admin.php >>logged in and logged off poor speed) > the contact form at the website was unavailable – when I deactivate, the form appears but when I am logged in, the speed is still very bad

    Some errors shown in the dev console:
    WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data’ failed: WebSocket is closed due to suspension.

    [Error] XMLHttpRequest cannot load xxx/wp-admin/admin-ajax.php due to access control checks.
    send (load-scripts.php:4:26582)
    ajax (load-scripts.php:4:22185)
    j (load-scripts.php:245:2691)
    (anonyme Funktion) (load-scripts.php:245:3429)

    • This reply was modified 6 years, 8 months ago by Bj?rn.
    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    33s up to 72s for admin.php

    33s is already a big issue.

    What happens when you load your site from a different network?

    Thread Starter Bj?rn

    (@ahrndt)

    This was another network – in my office.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    In this case, I would recommend that you get in touch with your hosting provider about this, and give them some examples of times during the day when loading speeds on your site are really slow.

    They should be able to help with that, or move you to a more recent server, or al least upgrade you to a more recent version of PHP.

    • This reply was modified 6 years, 8 months ago by Jeremy Herve.
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Toolbar slows down’ is closed to new replies.