oom_adj on RHEL4
Hi,
I'm using a RHEL4U5 on many servers. (kernel 2.6.9-55)
I've 2 types of processes :
- 1 that is very important (Database)
- a multithreaded internal application that have a memory leak (in rare cases)
Sometimes, there were the condition for the memory leak, and it results in an OOM.
I know that the best solution is to debug the application (and developpers are working on it), but, for now, it isn't yet solved.
The oom killer choose to kill the database.
To prevent the database to be killed, i would like to adjust the oom score with /proc/PIT/oom_adj.
Does anyone know whether i can adjust oom on this kernel, or having an other solution?
|