Custom Query (299 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 299)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#345 invalid Readonly Protection moo Nirjonadda
Description

Hello

I have a Error under XCache Administration Page in Diagnosis, But we have Readonly Protection is Off, I think this one bug of XCache? Also how to enable Coverager? Please check the ScreenShot?.

Thanks

#344 invalid XCache is displaying var cache warning moo lalitkumar
Description

Hello!

First of all, thanks for this brilliant software. It seemed to have solved my long-standing problem of slow MediaWiki?. However, I am facing two problems:

1) Admin panel of XCache is very unstable. All the data keeps on going up and down unpredictably on refresh. Hit count, for example, keeps on going up and down. Also, Diagnosis tab is sometimes all green (meaning everything is good and OK) and then suddenly it begins to show errors.

2) I have set the following:

xcache.var_size = 100M (in php.ini) $wgMainCacheType = CACHE_ACCEL; (in LocalSettings?.php of MediaWiki?)

But still I am getting the following Warning message on all the pages of my wiki (well, in fact, appearance of this message is also unpredictable -on some pages it appears and on some it doesn't)

Warning: xcache_get() [function.xcache-get]: XCache var cache was not initialized properly. Check php log for actual reason in /home/lalit76/public_html/kk/includes/objectcache/XCacheBagOStuff.php on line 38

I have tried to find solution through Google and everywhere it is said that the xcache.var_size should be set to something like 100M; which I have already done. I also have told MW to use xcache and it is also working because cache gets hits.

Still the tens of warning messages appear on a lot of pages.

I am attaching screenshots of Admin Cacher and Diagnosis tabs.

Please help!

#335 invalid whitelist auth for admin functions moo godog
Description

Hi, thanks for xcache!

I was trying to get some stats out and was wondering if some of the admin functions could be whitelisted (say via config, via a list of functions) to not require auth, e.g. if you are trying to get statistics out (say towards a monitoring platform) then they are effectively read-only (xcache_count and xcache_info). Whitelist rationale being that calling these functions just gets data out.

thanks!

I've come up with sth like this:

$EXPORTED_STATS = array(
  "compiling", "disabled", "misses", "hits", "clogs",
  "ooms", "errors", "cached", "deleted", "size", "avail"
);

function xcache_type_stats($type) {
  global $EXPORTED_STATS;

  $total = array();
  $type_stats = array();

  for ($i = 0; $i < xcache_count($type); $i++) {
    $type_stats[] = xcache_info($type, $i);
  }

  foreach($type_stats as $unused => $type_stat) {
    foreach($type_stat as $k => $v) {
      if(!in_array($k, $EXPORTED_STATS)) {
        continue;
      }

      if(!isset($total[$k])) {
        $total[$k] = 0;
      }
      $total[$k] += $v;
    }
  }
  return $total;
}
1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.