unspecified fetch permissions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cocko
    New Member
    • Oct 2006
    • 5
    • 3.7.x

    unspecified fetch permissions

    Hi all,

    while searching what causes high serverloads in debug mode i found under
    the forums debug box 130 lines the following messages, changing numbers

    Example line:
    Code:
    (unspecified) fetch_permissions(62,1,6,"; -> cached fperms for forum 62
    First question:
    Could this be a reason for serverloads up to 40 with only 10 concurrent
    users and 30 guests? (dedicated server)

    Second question:
    How can I fix this issue? I am not sure if this is an issue.

    Running vB 3.7.2 PL 2

    Thanx in advance for your answer
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    How many forums and usergroups do you have? The forum permission cache can get pretty big on forums with excessive numbers of forums and usergroups. In that case one of the advanced datastore storage options can help your performance. Those options are in the includes/config.php file:

    Code:
    	// ****** DATASTORE CACHE CONFIGURATION *****
    	// Here you can configure different methods for caching datastore items.
    	// vB_Datastore_Filecache  - to use includes/datastore/datastore_cache.php
    	// vB_Datastore_APC - to use APC
    	// vB_Datastore_XCache - to use XCache
    	// vB_Datastore_Memcached - to use a Memcache server, more configuration below
    // $config['Datastore']['class'] = 'vB_Datastore_Filecache';
    
    	// ******** DATASTORE PREFIX ******
    	// If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
    	// than one set of forums installed on your host, you *may* need to use a prefix
    	// so that they do not try to use the same variable within the cache.
    	// This works in a similar manner to the database table prefix.
    // $config['Datastore']['prefix'] = '';
    
    	// 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;
    */

    Comment

    • Cocko
      New Member
      • Oct 2006
      • 5
      • 3.7.x

      #3
      There are nearly 100 forums and 10 usergroups.

      For better performance, I just changed the server with better CPU
      and 4 GB RAM. XCache installed. The serverload is quite low.

      The unspecified fetch permisstions are still not fixed. I should add
      that this only is shown on portal index of vbadvanced. So it's not
      an issue of vbulletin.

      Thanx.

      Comment

      • cerberuz
        Senior Member
        • May 2009
        • 147
        • 3.8.x

        #4
        I've just found a few of these unspecified fetch permissions in debug mode, my Includes>config.php was set up to use memcache and we dont have memecache installed (according vbseo), so I take it that all I need to do to change this over to XCache is replace $config['Datastore']['class'] = 'vB_Datastore_memcache';
        $i = 0;
        // First Server

        with

        $config['Datastore']['class'] = 'vB_Datastore_xcache';
        $i = 0;
        // First Server

        and do I need to // these so they are not used?

        $config['Misc']['memcacheserver'][$i] = '0.0.0.0';
        $config['Misc']['memcacheport'][$i] = 00000;
        $config['Misc']['memcachepersistent'][$i] = true;
        $config['Misc']['memcacheweight'][$i] = 1;
        $config['Misc']['memcachetimeout'][$i] = 1;
        $config['Misc']['memcacheretry_interval'][$i] = 15;
        Last edited by cerberuz; Thu 1 Oct '09, 7:24am.

        Comment

        Related Topics

        Collapse

        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎