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
Local development: Uploading large number of input cases times out web ui for some time #177
Comments
After the bot finished update cases, the error messages stop and the web ui becomes functional again. |
How big was testcase archive ? what is average size for testcase. Note that local development scenario is not recommended for large scale tests. Recommended to do production setup for these. |
all test cases are less than 30 bytes. |
The zip file is about 4mb. |
How long was the web ui inaccessible for ? > 1min ? this shouldn't happen again as this step was more about unpacking testcases quickly and storing them in db. we can add a throttle, but unsure if it is worth it in unpack_task. can you try a time.sleep there and maybe try a PR. |
the web ui is inaccessible for more than 5 minutes. In other words, I feel uploading lots of cases is unusual and thus this issue is not important (given it's local only). So you are free to close this issue. |
anyone can use it to upload thousands of crashes for analysis. so, we can see and make a simple throttle in unpack_task. |
yes throttling is not a good idea, considering this works perfectly in prod environment and has been tried multiple times by other Googlers. For local environment, i dont see a usecase to upload thousands, maybe someone need 1 or <10-50. |
How to reproduce
run a server and some bots locally
add a job, activate the fuzzing job. So bots started to fuzz.
Upload a zip file as input testcases. The zip file contains thousands cases.
Then one bot picked up the zip and working on those cases.
According to its bot.log, the bot happily updates testcases continuously (about 5 per second).
So far it looks good. But something went wrong:
I don't know this is harmless or not. The said bot still update testcases continously according its bot.log.
Any access to http://localhost:9000/ shows
503 - This request has timed out.
After I accessed the above link, the server console started to output below message continuously (several per second) --- but I only access above link once.
So, the current situation is:
If I restart the server, it will keep silence for a while and then repeat above issue again (output error message....).
The text was updated successfully, but these errors were encountered: