High CPU usage observed when running REST API multiple times an hour.
searchcancel
High CPU usage observed when running REST API multiple times an hour.
book
Article ID: 392726
calendar_today
Updated On: 04-01-2025
Products
Data Loss Prevention Core Package
Issue/Introduction
High CPU usage observed when running REST API multiple times an hour.
Environment
DLP 16.1
REST API Client (Custom)
Cause
Rest API client is not using/re-using jsessionID.
Resolution
Consider the following recommendations when you access the API service with your client:
Use a dedicated API user with specific privileges for auditing changes. See "Creating a User and Role for an Incident API Client" in the Symantec Data Loss Prevention Help Center.
Provide valid credentials via HTTP authentication headers for initial requests.
You can use the values for the content-type header based on the API. JSON - application/json File - application/octet-stream Image - image/jpeg Zip file - application/zip Text - text/csv
Reuse the JSESSIONID cookie for subsequent calls during an active session (default session timeout is 15 minutes).