1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Fatal error with Batch Update Threads and XCache

Discussion in 'Troubleshooting and Problems' started by smimosmile, Mar 23, 2014.

  1. smimosmile

    smimosmile Member

    I got this sever error when trying to delete 97 threads from one forum using the "Batch Update Threads" option

    ErrorException: Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 333082 bytes) - library/Zend/Cache/Backend/Xcache.php:95
    Generated By: *****, 15 minutes ago
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    Request State
    array(3) {
      ["url"] => string(57) "http://*****.com/community/admin.php?threads/batch-update"
      ["_GET"] => array(1) {
        ["threads/batch-update"] => string(0) ""
      ["_POST"] => array(6) {
        ["actions"] => array(1) {
          ["delete"] => string(1) "1"
        ["_xfConfirm"] => string(1) "1"
        ["confirmUpdate"] => string(1) "1"
        ["criteria"] => string(2) "[]"
        ["thread_ids"] => string(737) "["20958","30600","28971","29063","24782","19864","27095","27088","27087","26017","26903","26870","26218","26045","25830","25635","25552","23169","25131","25006","24355","24802","24540","24204","24099","23145","23632","23569","23302","23232","22943","22756","22299","22157","22077","21674","21592","21307","21185","2188","20621","19366","1558","18581","18965","17501","17925","16878","17245","16793","16743","15344","12736","13951","13638","1371","1234","1024","1048","2158","13073","11495","11026","10937","10660","10473","1557","8030","8833","8247","6467","6567","6421","1633","5693","5299","5372","2495","4415","3954","3304","2974","2843","2779","2674","2524","2369","640","1702","1472","1584","1446","1321","1148","1254","1013","745"]"
        ["_xfToken"] => string(8) "********"
    Here is my XCache info:
    Please advice.
  2. Liam W

    Liam W Well-Known Member

    97 threads is quite alot, how many replies did they have?
  3. smimosmile

    smimosmile Member

    A total of 1,812 replies.
  4. Mike

    Mike XenForo Developer Staff Member

    Unfortunately, that error message doesn't really help, though I'm surprised it's trying to read from Xcache at all (presumably towards the end of the request). If you login to the control panel, does it mention anything about manual deferred processes?

    There shouldn't be a particular reason to use a ton of memory here. Do you have debug mode enabled perhaps? That could be related, as when queries are logged memory usage goes up.

    You could try disabling Xcache in config.php temporarily, though I don't think that will really help.
  5. smimosmile

    smimosmile Member

    I don't have debug mode enabled. I got that error even when trying to revert one phrase (a blank page + a server error log).
    In the control panel home page i have this message: "There are manual rebuild processes that have been stopped before completion. Click here to complete them.", but clicking on the link doesn't really help, a blank page + the same server error.
    After disabling Xcache and clicking on the link, i didn't get any server error.
    Thanks for the help.

Share This Page