AEM Author is going down - Asset migration | Community
Skip to main content
Level 2
October 16, 2015
Solved

AEM Author is going down - Asset migration

  • October 16, 2015
  • 5 replies
  • 1269 views

Hi Guys,

We are in between a asset migration where we are using webdav tool(bitkinnex) to migrate assets to AEM author server(AEM 5.6.1). 
We have migrated around 11 Gigs of assets until now and as obvious there are lot of workflows are being trigged in background.

But the issue we are facing over here is although we have stopped the migration before 1 day but still the back-end workflows are running and some times the AEM is going down. 

Below is my AEM start up configuration.

CQ_JVM_OPTS='-server -Xmx2048M -XX:PermSize=256M -XX:MaxPermSize=1024M -Djava.awt.headless=true  -XX:+HeapDumpOnOutOfMemoryError 

Server details :- quad core processor, 10GB RAM

So need yours valuable input on this.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ogill

http://docs.adobe.com/docs/en/aem/6-0/deploy/configuring/offloading.html

Offloading is an alternative, but depends on your requirements. Is this amount of assets being uploaded a one off for a migration or a regular occurrence?

5 replies

Level 9
October 16, 2015

Hi Satya,

- Are you seeing any Out of memory errors?

- Are the workflows going stale?

- Any suspicious message getting logged ,what do thread dumps point to?

Adobe Employee
October 16, 2015

Hi Satya,

I am presuming this is a test upload? Can you reassess your approach?

The memory you have allocated seems low. Review the documentation on DAM performance: https://docs.adobe.com/docs/en/cq/5-6-1/dam/dam_performance_sizing.html

Adobe Managed Services documented some tests they ran for asset ingestion: http://cq-ops.tumblr.com/post/56244733735/ams-minions-dam-asset-ingestion-performance

You want to either throttle the upload of assets to allow the DAM asset upload workflows to complete, or disable these workflows, upload the assets and then write a script to cycle through the assets to initiate the workflows: https://edivad.wordpress.com/2013/01/07/installing-big-packages-in-cq5crx/

Level 8
October 16, 2015

Offloading is your best bet.

On another note, with doing such a large migration i would increase the amount of RAM you're allowing the instance to use.  I would set 4096 and 512 respectively in your startup parameters.

francisco_ribei
Level 6
October 16, 2015

One possible solution would be offloading:

http://docs.adobe.com/docs/en/aem/6-0/deploy/configuring/offloading.html#Offloading the Processing of DAM Assets

ogillAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

http://docs.adobe.com/docs/en/aem/6-0/deploy/configuring/offloading.html

Offloading is an alternative, but depends on your requirements. Is this amount of assets being uploaded a one off for a migration or a regular occurrence?