OCSInventory-NG / OCSInventory-ocsreports

Webconsole for OCS Inventory NG
https://www.ocsinventory-ng.org
GNU General Public License v2.0
231 stars 151 forks source link

API not releasing memory after requests #1472

Open jgaret opened 1 year ago

jgaret commented 1 year ago

Hi,

I've set up an OCS NG server, version 2.9.2 several months ago on Debian 11, apache 2.4.54 and perl 5.32.

I've been starting using Rest API since yesterday but I've noticed that when doing api calls, Apache is not releasing memory after the request. Before using it I was around 1GB mem used. After making several api calls for testing, I ended up with a memory issue, all 4GB full. I am looping on this api call /ocsapi/v1/computers?start=XX&limit=YY for all my 1500 hosts per 100 hosts.

Is there a specific configuration for releasing memory without restarting apache ?

iamfauzi16 commented 1 year ago

Hi, can you help me. i want call api from my ocs server. how to setup api