This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients DamianMyerscough, pitrou, rbcollins, vstinner
Date 2016-03-15.11:31:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458041486.77.0.537188112278.issue26562@psf.upfronthosting.co.za>
In-reply-to
Content
> 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 ;-)
History
Date User Action Args
2016-03-15 11:31:26vstinnersetrecipients: + vstinner, pitrou, rbcollins, DamianMyerscough
2016-03-15 11:31:26vstinnersetmessageid: <1458041486.77.0.537188112278.issue26562@psf.upfronthosting.co.za>
2016-03-15 11:31:26vstinnerlinkissue26562 messages
2016-03-15 11:31:26vstinnercreate