Announcement

Collapse
No announcement yet.

slow and sluggish

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

  • slow and sluggish

    My Specs:
    CPANEL, VB5 Connect (5.2.3)


    Hello, my version of VB5 is pretty slow on things like making a new post and logging in (which I think translates into database interaction?)... is there any standard operating procedures as far as troubleshooting this kind of thing?

    Thanks!

    Donovan

  • #2
    Just added a path and filename for error log and handling for "Log Database Errors to a File"... in the meantime.

    Here are some errors that I am seeing quite often for PHP.. not sure if they are a problem (error_log):

    Code:
    PHP Warning:  Invalid argument supplied for foreach() in /home/cessnaowner/subdomains/forums/core/vb/library/node.php on line 2481
    and
    Code:
    PHP Fatal error:  Uncaught exception 'vB5_Exception' with message 'Incorrect HTTP Method. Please use a POST request.' in /home/cessnaowner/subdomains/forums/includes/vb5/frontend/applicationlight.php:217
    Stack trace:
    #0 /home/cessnaowner/subdomains/forums/index.php(51): vB5_Frontend_ApplicationLight->execute()
    #1 {main}
      thrown in /home/cessnaowner/subdomains/forums/includes/vb5/frontend/applicationlight.php on line 217



    Comment


    • #3
      cPanel isn't really a spec... What version of PHP and MySQL are you using? What is slow? How many seconds does it take to perform these operations?

      For the errors, the warning isn't a problem. Just a warning. Annoying but not a problem.

      What was being done when the Fatal Error occurred? Do you have any third-party addons installed? They may need to be updated to use POST instead of GET. Should have resulted in a white screen on your site.
      Last edited by Wayne Luke; Thu 29th Sep '16, 8:43am.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud customization and demonstration site.
      vBulletin 5 Documentation - Updated every Friday. Report issues here.
      vBulletin 5 API - Full / Mobile
      I am not currently available for vB Messenger Chats.

      Comment


      • #4
        PHP Code:
        WarningInvalid argument supplied for foreach() in .../vb/library/node.php on line 2481 
        I have the same problem . but it appears only to registered user group
        https://www.vbulletin.com/forum/foru...re-waiting-for

        Comment


        • #5
          Originally posted by saiff View Post
          PHP Code:
          WarningInvalid argument supplied for foreach() in .../vb/library/node.php on line 2481 
          I have the same problem . but it appears only to registered user group
          Please start your own thread, and in it please provide the information requested here:
          http://www.vbulletin.com/forum/node/4005558
          MARK.B | vBULLETIN SUPPORT

          TalkNewsUK - My vBulletin 5.5.4 Demo
          AdminAmmo - My Cloud Demo

          Comment


          • #6
            Hi Wayne:
            Thanks for responding.

            CPANEL: CENTOS 6.7 i686, WHM v.54
            Apache: 2.4.23
            MySQL: 5.5.48-cll
            PHP: 5.6.24 (cli)

            No third-party plugin's, but I did look at my php.ini.. I have these directives set:
            Environment:
            REQUEST_METHOD = GET

            PHP Variables:
            _SERVER["REQUEST_METHOD"] = GET
            _ENV["REQUEST_METHOD"] = GET


            Should all those be set to POST to get rid of that "Uncaught exception" Fatal Error?

            I'll send a message to the Moderator to see exactly how long and what the delays are exactly.. but I believe they are when creating Topics and sending replies mostly.. literally 30 seconds sometimes. I'll get more info on that.

            Thanks!
            Donovan


            Comment


            • #7
              You shouldn't have to change any PHP variables. Both GET and POST should be available to the server. We shouldn't call GET. That is why I need to know what was being attempted so we can fix the code.

              When you look at your database in phpMyAdmin, does it say MYISAM or INNODB for the tables?
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud customization and demonstration site.
              vBulletin 5 Documentation - Updated every Friday. Report issues here.
              vBulletin 5 API - Full / Mobile
              I am not currently available for vB Messenger Chats.

              Comment


              • #8
                Innodb.

                Comment


                • #9
                  What are the sizes of your cache and cacheevents tables? If you empty them in the AdminCP under Maintenance, does the system speed up?
                  Translations provided by Google.

                  Wayne Luke
                  The Rabid Badger - a vBulletin Cloud customization and demonstration site.
                  vBulletin 5 Documentation - Updated every Friday. Report issues here.
                  vBulletin 5 API - Full / Mobile
                  I am not currently available for vB Messenger Chats.

                  Comment


                  • #10
                    Hi Wayne,
                    Not sure where cache is located in order to decipher size... /core/cache shows very little in there. I went ahead and reset the cache in the admincp.

                    The reports I'm getting from the moderator so far are 34 seconds to post.

                    Sorry if my responses are delayed.. in the middle of another website build.. but I will always follow up.. need to get that forum running good!

                    Thanks,
                    Donovan

                    Comment


                    • #11
                      I did some quick tests on posting *topics*... they do indeed take 34 seconds to complete.

                      FYI, I received my email notice right away however... it looks like it makes the post right away... I'm guessing there is a 30 second timeout on some kind of function... which is why it is taking 30 seconds to complete???

                      Any ideas?

                      Donovan

                      Comment


                      • #12
                        cache and cacheevent are tables in your database...we need to know the size of these.
                        MARK.B | vBULLETIN SUPPORT

                        TalkNewsUK - My vBulletin 5.5.4 Demo
                        AdminAmmo - My Cloud Demo

                        Comment


                        • #13
                          Ahh... this is the info box for the cache table: Information
                          5.5 MiB
                          16 KiB
                          5.5 MiB
                          Compact
                          latin1_swedish_ci
                          Sep 20, 2016 at 05:40 AM

                          Comment


                          • #14
                            One more note.. I have verified also that by opening two different browsers, the posts DO actually post instantly.. it's just the completion part of the browser that does the posting that takes 34 seconds.

                            Sincerely,
                            Donovan

                            Comment


                            • #15
                              Originally posted by dbrooke View Post
                              I did some quick tests on posting *topics*... they do indeed take 34 seconds to complete.

                              FYI, I received my email notice right away however... it looks like it makes the post right away... I'm guessing there is a 30 second timeout on some kind of function... which is why it is taking 30 seconds to complete???

                              Any ideas?

                              Donovan
                              When you look at the network traffic dialog in your browser's developer tools and the console output in the same tools, where is the delay?

                              Same thing for your server access and error logs anything suspicious in them? What about your MySQL Slow Query log?
                              Translations provided by Google.

                              Wayne Luke
                              The Rabid Badger - a vBulletin Cloud customization and demonstration site.
                              vBulletin 5 Documentation - Updated every Friday. Report issues here.
                              vBulletin 5 API - Full / Mobile
                              I am not currently available for vB Messenger Chats.

                              Comment

                              Related Topics

                              Collapse

                              • mittac
                                Error log
                                by mittac
                                [20-Oct-2017 00:42:08 Europe/Minsk] PHP Warning: Illegal string offset 'starter' in public_html/includes/vb5/template.php(318) : eval()'d code on line 167
                                [20-Oct-2017 00:42:08 Europe/Minsk] PHP...
                                Fri 20th Oct '17, 12:49am
                              • saiff
                                warnind: illegal string offest
                                by saiff
                                Hi,

                                please help .

                                Warning: Illegal string offset 'moderatorperms' in /home/user/public_html/vb/includes/vb5/template.php(329) : eval()'d code on line 738 Warning: Illegal string...
                                Thu 15th Sep '16, 11:29am
                              • saiff
                                Warning: Illegal string offset
                                by saiff
                                hi,
                                when viewing some members blog, get this error

                                [16-Apr-2017 10:10:15 Asia/Riyadh] Warning: Illegal string offset 'moderatorperms' in /home/usre/public_html/vb/includes/vb5/template.php(318)...
                                Sun 16th Apr '17, 1:48am
                              • Oleg Leonchenko
                                update to 5.4.1
                                by Oleg Leonchenko
                                Hi! After update to last version a have this error message. Admincp works fine but forum none.
                                Code:
                                 
                                 Error :API Error Controller: site Method: loadHeaderNavbar Error(s):  array (   0 =>
                                ...
                                Tue 8th May '18, 10:41am
                              • Trendri
                                VB5 Website HTTP ERROR 500
                                by Trendri
                                I mistakenly deleted category or channel, and then most post and thread under the channel were gone. I requested my Host Namecheap to restore server (cpanel) backup.

                                The backup was restored...
                                Wed 23rd May '18, 3:35am
                              Working...
                              X