Announcement

Collapse
No announcement yet.

Performance tuning?

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

  • #16
    It's recommended to be outside the vB root folder. The path should be the full path and not relative path. Make sure it has 777 permissions.

    GIPHY for vB5 AutoLinker Auto-Create Flag Report Topic Social Icons in Postbit Clear Cache Cron DragDrop Upload Topic AJAX AutoUpdate Custom Avatars Selector Stop Links in Posts...and more!

    Comment


    • #17
      Originally posted by lottidah View Post
      I created a folder in my root folder (so: /forums/attachments)
      This probably isn't your root folder. It would be more like /var/www/html/forums/attachments.

      Unzip the attached file in the attachments directory. Run it from the command line or load it in your browser and it will tell you what the full directory path is.
      Attached Files
      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


      • #18
        Originally posted by Glenn Vergara View Post
        It's recommended to be outside the vB root folder. The path should be the full path and not relative path. Make sure it has 777 permissions.
        Thanks for the reminder, I moved it out of the root.

        Originally posted by Wayne Luke View Post

        This probably isn't your root folder. It would be more like /var/www/html/forums/attachments.

        Unzip the attached file in the attachments directory. Run it from the command line or load it in your browser and it will tell you what the full directory path is.
        Thanks, this helped. I've moved these items out of the database.

        With all of the updates I've completed (PHP upgrade, INNODB changes, vB minor version update, moving attachments out of the database, setting server cache to empty hourly), performance during our last game was quite good. I'm hesitant to pursue the crontab, memcached, and Sphinx items without more information (what will the crontab item suggested actually do?) or a decent tutorial to follow (for memcached and Sphinx).

        Comment


        • #19
          Memcached
          1. Install Memcached
          2. Uncomment the configuration in the core/includes/config.php file.
          3. Edit the configuration to point to your memcached.
          4. Set the prefix in the config.php file.
          5. Set Cache Class 0 to use Memcached

          The configuration code is:
          Code:
          // It is also necessary to specify the hostname or IP address and the port the server is listening on
          /*
          $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;
          */
          //If you are using Memcache you should can set a prefix. This is needed only if the memcache server is shared. If dedicated you don't need it.
          $config['Cache']['memcacheprefix'] = '';
          There is more information in the /core/includes/config.php.




          Sphinx
          1. Install Sphinx on the server.
          2. Follow the instructions in the Sphinx_install_unix.txt file in your do_not_upload folder.
            • Use sphinx_install_windows.txt for Windows servers.
          3. Edit the Sphinx configuration in the /core/includes/config.php.
          4. Set your search to "Sphinx Server" in the AdminCP under Settings -> Search Type

          Configuration Code:
          Code:
          // ******** SPHINX SEARCH CONFIGURATION ******
          //Please refer to the documentation in do_not_upload/sphinx_install_unix.txt or do_not_upload/sphinx_install_windows.txt
          //for how to configure sphinx to work with vBulletin
          //$config['Misc']['sphinx_host']        = '127.0.0.1';
          //$config['Misc']['sphinx_port']        = '9306';
          //$config['Misc']['sphinx_path']        = '<sphinx_root>'; //no trailing slash
          //$config['Misc']['sphinx_config']  = $config['Misc']['sphinx_path'] . '/etc/vbulletin_sphinx.conf';
          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

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X