Hi there,
I have two channel in my forum, channel A has 100 post, channel B has 50,000 posts, when I move topic from A to B, the ajax call "moveTopics" hanging there over 1min and return timeout error, however the post got moved successfully. I have track down the slowest operation in here /core/vb/library/node line 88
where the $childrenArray return around 50,000 result becasue the $nodeids contain my moved topic nodeid and channel B nodeid, then the script just un-response at vB_Cache::allCacheEvent($events);
Also I'm using memcache, when I switch to db cache, there is no error.
I have two channel in my forum, channel A has 100 post, channel B has 50,000 posts, when I move topic from A to B, the ajax call "moveTopics" hanging there over 1min and return timeout error, however the post got moved successfully. I have track down the slowest operation in here /core/vb/library/node line 88
PHP Code:
public function clearChildCache($nodeids)
{
$childrenArray = $this->fetchClosurechildren($nodeids);
$events = array();
foreach ($childrenArray as $children)
{
foreach ($children as $child)
$events[] = 'nodeChg_' . $child['child'];
}
vB_Cache::allCacheEvent($events);
}
Also I'm using memcache, when I switch to db cache, there is no error.
Comment