跳转到主内容

由于原因,选择控制器不会旋转具有保留的备份快照 可用内存不足

Views:
28
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

适用于

  • SnapCenter 服务器 4.1.1
  • 适用于 VMware vSphere ( SCV ) 4.1.1 的 SnapCenter 插件
     

问题

  • 保留不会删除 SCV 备份快照。
  • SMCore_<JOB_ID>.log 显示 RegisterBackups gets Internal Server Error (500) in the task Registering Backup and Applying Retention

INFO  SMCore_<JOB_ID> PID=[<PID>] TID=[<TID>] Activity - Registering Backup and Applying Retention,  Starting
DEBUG SMCore_<JOB_ID> PID=[<PID>] TID=[<TID>] RegisterMetadataActivity Started
..
DEBUG SMCore_<JOB_ID> PID=[<PID>] TID=[<TID>] RemoteUrl: https://<SNAPCENTER_SERVER_URI>:8146/BackupMetadataService.svc/RegisterBackups
INFO  SMCore_<JOB_ID> PID=[<PID>] TID=[<TID>] SmWebClient : webRequest.ServicePoint.ConnectionLimit set to 1500
ERROR SMCore_<JOB_ID> PID=[<PID>] TID=[<TID>] WebException in method: Invoke.
System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
  at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
  at System.Net.WebClient.UploadString(Uri address, String method, String data)
  at SnapMgrHelper.RestAdapter.Invoke[TReq,TRes](TReq request, String methodType, String remoteUrl, Boolean dataContractSerializer, Boolean isAuthorized, Boolean logRequest, Boolean logResponse)
Additional information:

DEBUG SMCore_<JOB_ID> PID=[<PID>] TID=[<TID>] Invoked service successfully
ERROR SMCore_<JOB_ID> PID=[<PID>] TID=[<TID>] Exception in method: Execute.
System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
  at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
  at System.Net.WebClient.UploadString(Uri address, String method, String data)
  at SnapMgrHelper.RestAdapter.Invoke[TReq,TRes](TReq request, String methodType, String remoteUrl, Boolean dataContractSerializer, Boolean isAuthorized, Boolean logRequest, Boolean logResponse)
  at SnapMgrHelper.SmsRestHelper.Invoke[TReq,TRes](String methodType, TReq request, String serviceName, String method, Boolean xmlContentType)
  at SnapMgrCoreService.Workflows.Common.Backup.RegisterMetadataActivity.Execute(SmWorkflowContext workflowContext, SmRequest request) : Detailed Exception The remote server returned an error: (500) Internal Server Error. : BaseException System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
  at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
  at System.Net.WebClient.UploadString(Uri address, String method, String data)
  at SnapMgrHelper.RestAdapter.Invoke[TReq,TRes](TReq request, String methodType, String remoteUrl, Boolean dataContractSerializer, Boolean isAuthorized, Boolean logRequest, Boolean logResponse)
  at SnapMgrHelper.SmsRestHelper.Invoke[TReq,TRes](String methodType, TReq request, String serviceName, String method, Boolean xmlContentType)
  at SnapMgrCoreService.Workflows.Common.Backup.RegisterMetadataActivity.Execute(SmWorkflowContext workflowContext, SmRequest request)
ERROR SMCore_<JOB_ID> PID=[<PID>] TID=[<TID>] ErrorCode (-1), ErrorMessage (The remote server returned an error: (500) Internal Server Error.)
DEBUG SMCore_<JOB_ID> PID=[<PID>] TID=[<TID>] RegisterMetadataActivity Done

 

  • SnapManagerWeb_<JOB_ID>.log 显示任务 Registering Backup and Applying Retention 失败。

DEBUG SnapManagerWeb_<JOB_ID> PID=[<PID>] TID=[<TID>] Updating the job (<JOB_ID>) task (Registering Backup and Applying Retention) status as Failed
 

  • Application event log 指示以下错误消息。无法/BackupMetadataService.svc激活此服务 "" ,原因是 System.InsufficientMemoryException

WebHost failed to process a request.
 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/10501549
 Exception: System.ServiceModel.ServiceActivationException: The service '/BackupMetadataService.svc' cannot be activated due to an exception during compilation. 
 The exception message is: Memory gates checking failed because the free memory (XXXXXXXXX bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. 
 To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element..
 ---> System.InsufficientMemoryException: Memory gates checking failed because the free memory (XXXXXXXXX bytes) is less than 5% of total memory.  As a result, the service will not be available for incoming requests. 
 To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.
  at System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64& availableMemoryBytes)
  at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity)
  at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
  --- End of inner exception stack trace ---
  at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
  at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)
 Process Name: w3wp
 Process ID: <PID>

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.