AppSync 掛接複製階段失敗,VMAX 作業失敗,由 GenericJDBCException 造成錯誤

Summary: 掛接階段失敗,因為 Postgres 的記憶體不足問題,並在伺服器記錄中顯示錯誤「錯誤:記憶體不足詳細資料:「Failed on request」

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

服務計畫在掛接階段失敗,同時執行內部查詢以取得 VMAX 裝置詳細資料,並複製詳細資料以供連結。針對本文所解決的特定問題,在問題之前的伺服器記錄中會看到下列查詢:

Query string is:SELECT n FROM VMAXDeviceEntity n left JOIN FETCH n.snapVxCopyDevice WHERE n.storageArrayId = :storageArrayId AND  n.inUseForReplication = 'false' AND n.enabledForReplication = 'true' AND n.capacity = :capacity

AppSync 事件記錄錯誤顯示:

<DATE>, Mount copy, VMAX_000002,<appsync-server>,VMAX operation failed. Error: Exception thrown while linking the copy org.hibernate.exception.GenericJDBCException: could not extract ResultSet.

AppSync 伺服器記錄錯誤顯示:

<DATE>INFO [EJB default - 10] [com.emc.archway.commands.storage.vmax.GetStorageForSnapVXCommandBean] [appsync-server] [] b8c58a7f-f1c4-493a-8ca2-e0354b9b44b3->>> Unlinking the previous relationship of device(if any) :000E5
<DATE> INFO [EJB default - 10] [com.emc.archway.service.vmax.VmaxServiceBean] [appsync-server] [] b8c58a7f-f1c4-493a-8ca2-e0354b9b44b3->>> The device 000E5 is not used as target in the array <Array S/N>
<DATE> ERROR [EJB default - 10] [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] [appsync-server] [] ERROR: out of memory Detail: Failed on request of size 17.
<DATE> INFO [EJB default - 10] [org.hibernate.event.internal.DefaultLoadEventListener] [appsync-server] [] HHH000327: Error performing load command : org.hibernate.exception.GenericJDBCException: could not extract ResultSet

 

Cause

當 PostgreSQL 無法分配運行查詢或任何其他內部操作完成所需的記憶體時,會發生錯誤。

 

Resolution

  1. 以系統管理員身分開啟 DOS 視窗,建立 AppSync postgres 資料庫的備份,cd 至 C:\EMC\AppSync\backup-assistant,然後執行appsync-backup.bat

  2. 確定已製作 C:\EMC\AppSync\jboss\datastore\data\data\postgresql.conf 的複本,並儲存在安全的位置。

  3. 編輯 C:\EMC\AppSync\jboss\datastore\data\postgresql.conf,並將work_mem設為 128MB (如有必要,取消註解)。

  4. 重新啟動三個 AppSync 服務。啟動它們的最佳順序是:

    1. EMC AppSync Datastore Service
    2. AppSync Security Service
    3. AppSync Server Service

 

Additional Information

許多其他 AppSync 功能可能會產生類似的錯誤,而可以使用相同的解決方案:
類似的錯誤包括:

事件錯誤包含:

could not extract ResultSet

連同 AppSync 伺服器記錄中的下列項目:c:\EMC\AppSync\jboss\logs\server.log

ERROR: out of memory Detail: Failed on request of size

 

Affected Products

AppSync

Products

AppSync
Article Properties
Article Number: 000174090
Article Type: Solution
Last Modified: 05 مايو 2026
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.