Bazel creates a lot of write IO for sandboxed action #2921
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Local-Exec
Issues and PRs for the Execution (Local) team
type: bug
Description of the problem / feature request / question:
We have a rule related to packaging. That rule depends on > 25.000 files. Trying to build that rule it stays in Running for over 10 minutes without the action executable even being started. Since the system is mainly busy with writing, I guess Bazel is setting up the sandbox environment/files?
Question is whether there is anything that could be improved here or the general advise is to disable Sandboxing for that action.
Also is there a rule of thumb when Sandboxing is slowing down builds too much?
Environment info
bazel info release
): 0.4.5Anything else, information or logs or outputs that would be helpful?
The disk is a HDD - which makes this problem probably even more visible.
The text was updated successfully, but these errors were encountered: