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

Event broadcast for log updates causing JOB_TOO_BIG error #262

Closed
REBELinBLUE opened this issue Sep 2, 2016 · 3 comments
Closed

Event broadcast for log updates causing JOB_TOO_BIG error #262

REBELinBLUE opened this issue Sep 2, 2016 · 3 comments

Comments

@REBELinBLUE
Copy link
Owner

Reported by @alasdairw

The changes for the ServerLog so that each log line update is broadcast can quickly fill the Beanstalkd queue faster than the events are consumed so it starts results in JOB_TOO_BIG errors

@cgi-cgi
Copy link

cgi-cgi commented Sep 3, 2016

Run beanstalkd with key -z 134217728 (or another, greater than default) solved this problem for me.

@alasdairw
Copy link

Thanks, but at one point we were testing with a 512MB threshold, and still hitting the error, and that wasn't even deploying our largest repo. Upping the limit is certainly an option, but for large repos, there's a threshold on just how far it's safe to just keep upping it. :)

@REBELinBLUE
Copy link
Owner Author

Note to self, can also happen when broadcasting models with large amounts of data, i.e the log is very big

REBELinBLUE added a commit that referenced this issue Mar 6, 2017
Merge branch 'bug/327'

* bug/327:
  Removing output from ServerOutputChanged and changing to make an AJAX request to get the change if needed
@REBELinBLUE REBELinBLUE changed the title Event broadcast for log updates can quickly fill the beanstalkd queue Event broadcast for log updates causing JOB_TOO_BIG error Mar 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants