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

limit memory for travis builds #429

Closed
stephengroat opened this issue May 2, 2017 · 6 comments
Closed

limit memory for travis builds #429

stephengroat opened this issue May 2, 2017 · 6 comments

Comments

@stephengroat
Copy link
Contributor

stephengroat commented May 2, 2017

I'm trying to check quite a few external links (around 1700) on travis. I'm getting error 137, which i think is out of memory.

other than limiting concurrency with hydra, are there any other ways to limit memory usage?

@stephengroat
Copy link
Contributor Author

just bumping to see if i can get any advice, have no idea what's going on.

@gjtorikian
Copy link
Owner

Out of curiosity, how did you settle on 12 for Hydra's max concurrency?

The best advice I can give is to set it to an absurdly low number, like, 5, and see how high you can go before it crashes. ☹️

@stephengroat
Copy link
Contributor Author

I just went with my favorite number (the truth doesn't sound very scientific of me)

I started trying to reconfigure, got it to finish with 1, started stepping it up and added typhoeus: { ssl_verifypeer: false, ssl_verifyhost: 0 } and now get a segfault https://travis-ci.org/stephengroat/twofactorauth/jobs/232602544

@gjtorikian
Copy link
Owner

Haha, amazing. I can't do anything about the sefaults I'm afraid, that's either a Travis problem (something on the box?) or a Typhoeus problem (something in the C library that's busted?).

@stephengroat
Copy link
Contributor Author

opened something with typhoeus to see if someone can figure something out. someone also reported a memory leak in typhoeus when using hydra, might be related

typhoeus/typhoeus/issues/567

@stephengroat
Copy link
Contributor Author

i'm closing this with the other typhoeus issues that have been found

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