AEM:如何監視復寫佇列
在Adobe Experience Manager中,如果發佈程式停止,復寫佇列可能會卡住。 建議您定期存取具有 cURL 的URL以解決此問題。
說明 description
環境
- Adobe Experience Manager 6.5
- Experience Manager
問題/症狀
當發佈程式未按預期繼續時,復寫佇列可能會卡住。
注意:在大部分情況下,當發佈程式未如預期繼續時,復寫佇列可能會卡住。 監視復寫佇列可協助您有效注意到其安靜狀態。
解決方法 resolution
您可以存取下列URL 來取得復寫佇列中的內容清單 (連結只有在本機使用AEM時才能存取。)
結果:
{
metaData: {
root: "queue",
queueStatus: {
agentName: "Default Agent",
agentId: "publish",
isBlocked: false,
isPaused: false,
time: 1683837270303,
processingSince: 1683837270301,
lastProcessTime: 1683837270270,
nextRetryPeriod: -1683837270304
},
fields: [
"id",
"path",
"time",
"userid",
"type",
"size",
"lastProcessed",
"numProcessed"
]
},
queue: [
{
id: "2023/5/12/5/34/c80e9a48-1b7e-4e12-8775-5f733016e13e_3646",
path: "/content/we-retail/us/en/products/equipment/running/faba-running-pants",
time: 1683837231021,
userid: "admin",
type: "Deactivate",
size: 0,
lastProcessed: 0,
numProcessed: 0
},
{
id: "2023/5/12/5/34/c80e9a48-1b7e-4e12-8775-5f733016e13e_3695",
path: "/content/we-retail/ca/en/products/equipment/hiking/expedition-tech-long-sleeved-shirt",
time: 1683837231021,
userid: "admin",
type: "Deactivate",
size: 0,
lastProcessed: 0,
numProcessed: 0
}
]
}
建議您定期使用cURL存取URL。 路徑 值是內容的路徑。 您可以從結果中計算路徑值,以檢查復寫佇列中的內容數目。
範例:
curl -u <使用者> :<密碼> "http://localhost:4502/etc/replication/agents.author/publish/jcr:content.queue.json"
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f