Announcement

Collapse
No announcement yet.

Notifications Lag

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Notifications Lag

    When I click on the notifications icon there is a 14 second lag until it brings you to the message center notifications area.

    Is there anyway to speed that process up?
    Last edited by NumNum; Fri 20th Sep '19, 8:40am.
    vB Mods That Rock!

  • #2
    There are a number of things that can cause lag on this page. One of these are counting the number of outstanding items for your left column. If you have a lot of different notification types (pending posts, flag reports, unread private messages, etc...) then it can take a while. I don't think it should take 6 seconds though.

    How many Private Messages does the user have?

    If you put your site into debug mode, what is the MySQL time for the page? It will be listed at the bottom of the page in the debug information.

    Using your browser's developer tools and an empty browser cache, can you post an image from the top of the network waterfall after loading the page?
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • NumNum
      NumNum commented
      Editing a comment
      I’ll review these and report back.

    • NumNum
      NumNum commented
      Editing a comment
      Working on this now. I noticed the image links are broken in the debug link.

  • #3
    This is what I get in debug mode;

    Click image for larger version  Name:	screenshot.JPG Views:	0 Size:	40.6 KB ID:	4424432
    279 Queries Run : Total SQL time was 0.071732 seconds , Total PHP time was 0.137530 seconds , Overall time was 0.209262 seconds. I saved the entire page results and can send via ticket if you would like.

    This is the network waterfall;

    Click image for larger version  Name:	1.JPG Views:	0 Size:	119.4 KB ID:	4424433

    It should be noted, when in debug mode the site seemed a lot faster.
    Last edited by NumNum; Sun 13th Oct '19, 2:55pm.
    vB Mods That Rock!

    Comment


    • #4
      Are both of these for the Home page of the site? Need to see the data from the Message Center / Notifications since that is where the lag is happening.

      The data provided says the page was created in .25 seconds and fully rendered by your computer in 1.37 seconds. This is within fully expected parameters of displaying a page. In the opening post, you were stating 14 seconds.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API - Full / Mobile
      Vote for your favorite feature requests and the bugs you want to see fixed.

      Comment


      • #5
        Hows this;

        Click image for larger version

Name:	Capture.PNG
Views:	100
Size:	97.2 KB
ID:	4424493
        vB Mods That Rock!

        Comment


        • #6
          When opening the message;

          Click image for larger version

Name:	open.PNG
Views:	102
Size:	69.7 KB
ID:	4424497
          vB Mods That Rock!

          Comment


          • #7
            this might be better;

            Click image for larger version

Name:	better.PNG
Views:	103
Size:	88.7 KB
ID:	4424503
            vB Mods That Rock!

            Comment


            • #8
              Again... How many private messages does this use have? How many notifications in addition to this?

              It seems the majority of the time (95% of it) is spent waiting for the server to respond.
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API - Full / Mobile
              Vote for your favorite feature requests and the bugs you want to see fixed.

              Comment


              • #9
                That is my profile, I have 6 private messages, and 4 subscriptions. But its not just me, other users are having same issue.

                What on the server side should I look for?
                vB Mods That Rock!

                Comment


                • #10
                  What is your web server configuration? Server type, version, PHP version, MySQL version, etc...
                  Translations provided by Google.

                  Wayne Luke
                  The Rabid Badger - a vBulletin Cloud demonstration site.
                  vBulletin 5 API - Full / Mobile
                  Vote for your favorite feature requests and the bugs you want to see fixed.

                  Comment


                  • #11
                    Originally posted by Wayne Luke View Post
                    What is your web server configuration? Server type, version, PHP version, MySQL version, etc...
                    Server Type Linux
                    Web Server Apache v2.4.41
                    PHP 7.2.23
                    PHP Max Post Size 8.00 MB
                    PHP Maximum Upload Size 2.00 MB
                    PHP Memory Limit 256.00 MB
                    MySQL Version 10.2.27-MariaDB
                    MySQL Packet Size 256.00 MB
                    vB Mods That Rock!

                    Comment


                    • #12
                      That should be sufficient. MySQL Packet Size is abnormally large. Are you storing large files in BLOB fields?

                      Might try increasing the PHP Max Post Size to 16 MB.

                      Also if you turn on Debug Logging in the /core/includes/config.php file, are any log files generated when viewing the Message Center?
                      Translations provided by Google.

                      Wayne Luke
                      The Rabid Badger - a vBulletin Cloud demonstration site.
                      vBulletin 5 API - Full / Mobile
                      Vote for your favorite feature requests and the bugs you want to see fixed.

                      Comment


                      • #13
                        What are BLOB fields?

                        I'll work on the php max post size and I'll look at the logs.
                        vB Mods That Rock!

                        Comment


                        • #14
                          BLOB is a type of MySQL field. https://dev.mysql.com/doc/refman/8.0/en/blob.html
                          Translations provided by Google.

                          Wayne Luke
                          The Rabid Badger - a vBulletin Cloud demonstration site.
                          vBulletin 5 API - Full / Mobile
                          Vote for your favorite feature requests and the bugs you want to see fixed.

                          Comment


                          • #15
                            Originally posted by Wayne Luke View Post
                            Also if you turn on Debug Logging in the /core/includes/config.php file, are any log files generated when viewing the Message Center?
                            I adjusted the max php post size.

                            How can I access these debug logs?

                            vB Mods That Rock!

                            Comment

                            Related Topics

                            Collapse

                            Working...
                            X