Start a new topic
Answered

Running key processes as separate threads

I noticed that when trend or cleanup runs during the night times, memory consumption is high. I'm wondering if we could allocate dedicated resources for key processes like cleanup.


Best Answer

It is possible to execute processes like cleanup, trend, threshold etc., seperately with dedicated memory. Parameters that control these are in egurkha\manager\config\eg_services.ini


Following parameters decide whether they run as separate process, or not. 

[EXEC]

ExecuteMailAsProcess=yes

ExecuteThresholdAsProcess=yes

ExecuteTrendAsProcess=yes


Memory available to each process are controlled using these parameters


Mail_java_options=-Xrs -Xmx256M

Thresh_java_options=-Xrs -Xmx384M -Xms256M

Trend_java_options=-Xrs -Xmx364M -Xms256M


All the numbers mentioned here are memory configurations in MB.

1 Comment

Answer

It is possible to execute processes like cleanup, trend, threshold etc., seperately with dedicated memory. Parameters that control these are in egurkha\manager\config\eg_services.ini


Following parameters decide whether they run as separate process, or not. 

[EXEC]

ExecuteMailAsProcess=yes

ExecuteThresholdAsProcess=yes

ExecuteTrendAsProcess=yes


Memory available to each process are controlled using these parameters


Mail_java_options=-Xrs -Xmx256M

Thresh_java_options=-Xrs -Xmx384M -Xms256M

Trend_java_options=-Xrs -Xmx364M -Xms256M


All the numbers mentioned here are memory configurations in MB.

Login to post a comment