Announcement

Collapse
No announcement yet.

4.5.3 Vbulletin gets 500 error when i enable memcached

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

  • 4.5.3 Vbulletin gets 500 error when i enable memcached

    Moved to a new server to gain first byte speed and one main thing was to use memcached. Server has it runnning (siteground cloud), when I uncomment the config file for memcached all pages aere 500 errors yet not seeing anything in the error logs?

    Any ideas are welcome.

  • #2
    There is no vBulletin 4.5.3. The last version of vBulletin 4.X is vBulletin 4.2.5.

    To troubleshoot the problem, you have to verify that the memcached (note the d at the end) library exists within PHP. To do this you first need to edit your /includes/config.php so the memcache section is commented out.

    Code:
    /* #### MEMCACHE SETTINGS #### */
    /*$config['Misc']['memcacheServers'] = array(
        array(
            'server' => '127.0.0.1',
            'port' => 11211
        ),
    ); */
    //$config['Misc']['memcacheRetry'] = 15; // Retry time in seconds.
    //$config['Misc']['memcacheTimeout'] = 1; // Connect timeout in seconds.
    //$config['Misc']['memcachePersistent'] = true; // Persistent connections.
    Next, log into your AdminCP and scroll to Maintenance. Off the Maintenance section menu select "View PHP Info". Make sure memcached (note the D) is listed as a section here.

    If it is not listed the instructions to install are here:
    https://www.php.net/manual/en/memcac...stallation.php

    The server daemon memcached also needs to be installed but you said it might already be available.
    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


    • #3
      Sorry yes 4.5.2

      and when i uncomment out the memcached settins is when i get the error, port is correct


      memcached
      Version 2.2.0
      libmemcached version 1.0.18
      SASL support yes
      Session support yes
      igbinary support no
      json support no
      msgpack support no
      memcached.compression_factor 1.3 1.3
      memcached.compression_threshold 2000 2000
      memcached.compression_type fastlz fastlz
      memcached.serializer php php
      memcached.sess_binary 0 0
      memcached.sess_connect_timeout 1000 1000
      memcached.sess_consistent_hash 0 0
      memcached.sess_lock_expire 0 0
      memcached.sess_lock_max_wait 0 0
      memcached.sess_lock_wait 150000 150000
      memcached.sess_locking 1 1
      memcached.sess_number_of_replicas 0 0
      memcached.sess_prefix memc.sess.key. memc.sess.key.
      memcached.sess_randomize_replica_read 0 0
      memcached.sess_remove_failed 0 0
      memcached.sess_sasl_password no value no value
      memcached.sess_sasl_username no value no value
      memcached.store_retry_count 2 2
      memcached.use_sasl 0 0

      Comment


      • #4
        here aere my config settings (commented out)

        /*
        $config['Datastore']['class'] = 'vB_Datastore_Memcached';
        $i = 0;
        // First Server
        $i++;
        $config['Misc']['memcacheserver'][$i] = '127.0.0.1';
        $config['Misc']['memcacheport'][$i] = 11211;
        $config['Misc']['memcachepersistent'][$i] = true;
        $config['Misc']['memcacheweight'][$i] = 1;
        $config['Misc']['memcachetimeout'][$i] = 1;
        $config['Misc']['memcacheretry_interval'][$i] = 15;
        */

        Comment


        • #5
          I see my seetings are older from config, i used your memcached settings and no errors, is this all that is needed to have memcached enabled

          Comment


          • #6
            For vBulletin 4.X, yes. It doesn't actually cache much information so the benefits are limited.
            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


            • #7
              OK ty, chasing trying to lower the first byte times but appears vbulleting is pretty bloated on loading

              Comment

              Related Topics

              Collapse

              Working...
              X