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

centos5 release machines running out of memory #385

Closed
jbergstroem opened this issue Apr 13, 2016 · 5 comments
Closed

centos5 release machines running out of memory #385

jbergstroem opened this issue Apr 13, 2016 · 5 comments

Comments

@jbergstroem
Copy link
Member

Not sure why its only them, but it's happening. For now, I've added a 4g swap volume to each. This needs to be incorporated in our ansible setup.

@mhdawson
Copy link
Member

Do you have an example of the failures ?, PPC Be release machine seems to be running into what looks like memory issues as well. Different runs fail at a different points. One example:

Traceback (most recent call last):
File "../../tools/js2c.py", line 601, in
main()
File "../../tools/js2c.py", line 597, in main
options.js)
File "../../tools/js2c.py", line 558, in JS2C
metadata = BuildMetadata(prepared_sources, sources_output, native_type)
File "../../tools/js2c.py", line 497, in BuildMetadata
"sources_declaration": SOURCES_DECLARATION % ToCArray(source_bytes),
File "../../tools/js2c.py", line 51, in ToCArray
return textwrap.fill(joined, 80)
File "/usr/lib/python2.7/textwrap.py", line 366, in fill
return w.fill(text)
File "/usr/lib/python2.7/textwrap.py", line 338, in fill
return "\n".join(self.wrap(text))
File "/usr/lib/python2.7/textwrap.py", line 326, in wrap
chunks = self._split(text)
File "/usr/lib/python2.7/textwrap.py", line 189, in _split
chunks = filter(None, chunks) # remove empty chunks
MemoryError

@jbergstroem
Copy link
Member Author

I just saw the kernel OOM going wild; not necessarily jenkins output.

@jbergstroem
Copy link
Member Author

Just adding a point made by @jasnell thats known but perhaps not considered if someone is thinking about this: the main difference between test and release jobs is that release jobs also builds against a full ICU.

@jbergstroem
Copy link
Member Author

While chatting with @mhdawson wrt the ppc be machine that saw similar issues we found out that the release job config in jenkins invokes make -j $JOBS. Since $JOBS is unset for the majority of the machines it will run in unlimited parallelism. This is likely the reason we get OOM's. We've set it to -j 2 for now until we have a more robust $JOBS solution in place.

@jbergstroem
Copy link
Member Author

Closing, haven't seen the issue since we limited parallelism.

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