Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Log delays for the coordinator thread channels | Christopher Baines | 2021-12-21 | |
| | ||||
* | Log delays for procedures involved in handling build results | Christopher Baines | 2021-12-20 | |
| | ||||
* | Log delays in fetch builds to allocate | Christopher Baines | 2021-12-20 | |
| | ||||
* | Log delays when worker thread calls occur inside worker threads | Christopher Baines | 2021-12-20 | |
| | ||||
* | Reduce the time in the transaction when replacing the allocation plan | Christopher Baines | 2021-12-20 | |
| | ||||
* | Log delay from select allocated builds | Christopher Baines | 2021-12-20 | |
| | ||||
* | Log delays for entering transactions | Christopher Baines | 2021-12-20 | |
| | ||||
* | Increase precision of delay logging | Christopher Baines | 2021-12-20 | |
| | ||||
* | Fix displaying the total bytes for uploads in progress | Christopher Baines | 2021-12-19 | |
| | ||||
* | Fix logging deleting temporary files | Christopher Baines | 2021-12-19 | |
| | ||||
* | Cleanup temporary files on startup | Christopher Baines | 2021-12-19 | |
| | ||||
* | Compress outputs in the thread for the build | Christopher Baines | 2021-12-19 | |
| | | | | | Since this can take a significant amount of CPU, and doing this upfront helps when there's lots of outputs to upload. | |||
* | Change the post build actions thread pool size | Christopher Baines | 2021-12-19 | |
| | | | | | To be that of the number of parallel uploads, since that is what this now controls. | |||
* | Report the total bytes when reporting upload progress | Christopher Baines | 2021-12-19 | |
| | ||||
* | Stop using with-upload-slot for queuing uploads | Christopher Baines | 2021-12-19 | |
| | | | | As that's handled by the thread pool instead. | |||
* | Increase the number of chunked request worker threads | Christopher Baines | 2021-12-19 | |
| | | | | | | | Since I think 8 might not be sufficient with lots of agents. Ideally the issue preventing the fibers threads from reading the requests would be resolved, this is just a workaround. | |||
* | Don't use an unlimited number of threads for post build actions | Christopher Baines | 2021-12-19 | |
| | | | | | | Otherwise, when there's a large queue of outputs to upload, there will be a large number of threads, which can cause issues like exhausting file descriptors. | |||
* | Don't try to exit when hook threads crash | Christopher Baines | 2021-11-29 | |
| | | | | | | | It doesn't seem to work, just wait a bit and try again. I've seen a few cases of "conversion to port encoding failed" around here, but I'm not sure exactly where they're coming from. | |||
* | Check before deleting files | Christopher Baines | 2021-11-26 | |
| | | | | As I've seen exceptions here. | |||
* | Remove redundant if in the controller | Christopher Baines | 2021-11-26 | |
| | ||||
* | Don't print backtraces in the controller when chunked inputs end | Christopher Baines | 2021-11-26 | |
| | ||||
* | Don't log backtraces for chunked input issues in worker threads | Christopher Baines | 2021-11-26 | |
| | | | | As it's something that can be expected. | |||
* | Use a specific exception type for chunked input issues | Christopher Baines | 2021-11-26 | |
| | | | | So that it can be handled specifically. | |||
* | Allow disabling the logging of exceptions in worker threads | Christopher Baines | 2021-11-26 | |
| | | | | | As some exceptions can be expected, like chunked responses being incomplete, so allow reducing the unnecessary output. | |||
* | Drop parallel uploads to 1 again | Christopher Baines | 2021-11-26 | |
| | | | | | | I've seen agents crashing with the "Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS" error, hopefully reducing the parallel uploads will help avoid this. | |||
* | Delete existing files when processing upload requests | Christopher Baines | 2021-11-22 | |
| | | | | I think this will help when handling new requests after failed ones. | |||
* | Unwind on some exceptions | Christopher Baines | 2021-11-22 | |
| | | | | The error handling here should be handling by unwinding. | |||
* | Improve some way numbers are displayed | Christopher Baines | 2021-11-22 | |
| | ||||
* | Only check the size of the file once when uploading | Christopher Baines | 2021-11-21 | |
| | ||||
* | Fix variable reference in submit-output | Christopher Baines | 2021-11-21 | |
| | ||||
* | Log delays with datastore-insert-build | Christopher Baines | 2021-11-20 | |
| | ||||
* | Improve delay logging in datastore-call-with-transaction | Christopher Baines | 2021-11-20 | |
| | | | | Make sure to log the delay in the calling thread. | |||
* | Log delays in insert-derivation-and-return-outputs | Christopher Baines | 2021-11-20 | |
| | | | | As I've seen this be quite slow. | |||
* | Use prepared statements when inserting derivations | Christopher Baines | 2021-11-20 | |
| | | | | As I hope this might be a little faster, plus it's also neater. | |||
* | Always reset the statement in db-output->output-id | Christopher Baines | 2021-11-20 | |
| | ||||
* | Compress outputs outside of the upload slot | Christopher Baines | 2021-11-20 | |
| | | | | | So that the only thing taking place in the upload slot, is the actual upload, which should improve throughput. | |||
* | Add an index on output_metadata | Christopher Baines | 2021-11-18 | |
| | | | | This should speed up fetching builds. | |||
* | Monitor a few more sqlite related procedures | Christopher Baines | 2021-11-18 | |
| | ||||
* | Improve the datastore-call-with-transaction delay logging | Christopher Baines | 2021-11-18 | |
| | | | | Associate the delay with the passed proc. | |||
* | Improve the call-with-delay-logging procedure | Christopher Baines | 2021-11-18 | |
| | | | | | Support arguments to the passed procedure, and report more of the things involved in the monitored time period. | |||
* | Improve delay logging seconds reporting | Christopher Baines | 2021-11-18 | |
| | ||||
* | Add delay logging to fetching builds | Christopher Baines | 2021-11-17 | |
| | | | | As this appears to be a bit too slow. | |||
* | Track delays for reporting metrics | Christopher Baines | 2021-11-16 | |
| | ||||
* | Track delays for a couple of sqlite datastore operations | Christopher Baines | 2021-11-16 | |
| | ||||
* | Add a tracing style delay logger | Christopher Baines | 2021-11-16 | |
| | | | | This tracks delays and can report a breakdown by procedure. | |||
* | Track worker thread task durations | Christopher Baines | 2021-11-16 | |
| | | | | So this can be logged. | |||
* | Remove TODO from the README about strings as foreign keys | Christopher Baines | 2021-11-16 | |
| | | | | This has pretty much been done. | |||
* | Check if an output has been uploaded before trying to upload it | Christopher Baines | 2021-11-16 | |
| | | | | | | | | | | This can help if the output has been uploaded, but the hash isn't present, since trying to submit the build result will prompt for the output to be sent again, but it doesn't need to be, the agent just needs to wait. This is a little inelegant, maybe there needs to be some way for the agent to explicitly check for the hash to be computed, but I'm hoping these changes will help with uploading large outputs. | |||
* | Move the timing of fetch-builds around more of the code | Christopher Baines | 2021-11-16 | |
| | | | | As it was just covering part of the action. | |||
* | Add error handling around computing output hashes | Christopher Baines | 2021-11-15 | |
| | | | | As I've seen decompression errors. |