Message261809
> When oom-killer is trigger
IMHO this is your root problem.
> When oom-killer is trigger I see a large number of involuntary context switches ...
The principle of *involuntarty* context switches is that the application is not responsible for them.
> I tried the same test using NodeJS/C++ and I could see a lot less involuntary context switches and major page faults which indicates this could be a Python issue.
Your rationale cannot be good.
It is not a Python bug.
OOM Killer is not a bug but a feature to limit abuse of resources on Linux.
But yeah, in my experience, Linux becomes crazy when it reachs OOM Killer. You can try to tune your kernel, but it's much better to always avoid using all memory ;-) |
|
Date |
User |
Action |
Args |
2016-03-15 11:31:26 | vstinner | set | recipients:
+ vstinner, pitrou, rbcollins, DamianMyerscough |
2016-03-15 11:31:26 | vstinner | set | messageid: <1458041486.77.0.537188112278.issue26562@psf.upfronthosting.co.za> |
2016-03-15 11:31:26 | vstinner | link | issue26562 messages |
2016-03-15 11:31:26 | vstinner | create | |
|