Trying to delete multiple devices from CAPM using the REST API but system is responding with Error:
413 errors: Request entity is larger than limits defined by server
How can the server be configured to allow the reset command:
http://<DA_HOST>:8581/rest/devices
to complete.
DX NetOps CAPM all releases
The limit can be increased by using the following procedure.
com.ca.im.item.ws.impl.AutomaticWebServiceManagerImpl.cfg
in the DA's <DA_INSTALL_HOME>/apache-karaf-<VERSION>/etc/
directory. maxReturnItemCount=500001
<DA_INSTALL_HOME>/apache-karaf-<VERSION>/data/log/
karaf.log
, with the caveat that setting this to a high number can result in OutOfMemory errors such as:java.lang.OutOfMemoryError: Java heap space
Dumping heap to java_pid1784.hprof ...
Heap dump file created [4042764155 bytes in 38.328 secs]