Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do we have a memory leak ? #42

Open
OlivierBondu opened this issue Jun 26, 2015 · 4 comments
Open

Do we have a memory leak ? #42

OlivierBondu opened this issue Jun 26, 2015 · 4 comments

Comments

@OlivierBondu
Copy link
Member

I was trying to play with the GridIn repository out-of-the-box, and I currently have > 40 % of jobs failing (with the default TTBar sample) with exit code 50660: Application terminated by wrapper because using too much RAM (RSS)

@blinkseb
Copy link
Member

Is the upper limit still 2 GB? We may have an issue here indeed as python + pyroot tends to use a lot more memory than plain ROOT.

I don't think there's a leak somewhere (at least not in the python code) and C++ code is pretty trivial (only getter). I'll try to investigate a bit but I'm not sure there's more miracle solution here.

I cc @swertz and @BrieucF as they also have issues with pyroot and memory 😅

@OlivierBondu
Copy link
Member Author

yep, it seems it's still 2GB by default (well, 2000MB) according to https://twiki.cern.ch/twiki/bin/view/CMSPublic/CRAB3ConfigurationFile

ok, so we have to work around by splitting into more jobs ?

@blinkseb
Copy link
Member

I guess yes. We can also ask for more RAM during job creating. It may restrict the number of available site, but it's still better than having hundreds of jobs per tasks...

@OlivierBondu
Copy link
Member Author

Good to know: the max RAM available seems to be 2.5GB [1]

The failure rate seems lower if we launch one file per job instead of 5 files per job
but this is quite non optimal...

It still does look like a memory leak :(

[1] Warning: task requests 3000 memory but only 2500 is guaranteed to be available. Jobs may not find a site where to run and stay idle forever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants