Search code examples
aem

Error moving large amounts of content


Whenever I move large amounts of content (roughly 300 pages) via CQ within the siteadmin interface I consistently get an error message that pops up after roughly 10-15 minutes. It seems to happen like clockwork but the pages still move successfully and the references get updated. All the error says is "An Error Occurred" and I check the logs and there are no error messages that I can find. Any ideas why this error pops up in CQ and if this is a larger problem with my instance?


Solution

  • From my experience this is just a timeout error from the javascript. The move is triggered by an ajax call which waits for a response. But if a few hundred pages are moved at once the response takes really long and after a few minutes the javascript gives up waiting for a response and throws this error. The more CPU and memory your server has, the faster the move will take place which reduces the chance for this error to pop up.