<< Back to previous view |
[QB-3501] Frequently gets "too many files open" error and new builds won't start
|
|
Status: | Closed |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 9.0.38 |
Fix Version/s: | 9.0.39 |
Type: | Bug | Priority: | Critical |
Reporter: | Robin Shen | Assigned To: | Robin Shen |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Comments |
Comment by Rafael Pallares [ 11/Aug/20 04:07 PM ] |
Hi,
I observe this issue to a very small QuickBuild 10.0.3 server (test) Is the fix have been correctly integrated into QuickBuild 10.+ versions ? I note this other issue |
Comment by Robin Shen [ 12/Aug/20 12:23 AM ] |
The fix was included in 10.0.3. But normally for QB server ulimit should be increased, as it can open a lot of handles considering it needs to talk to build agents and orchestrate each build job |
Comment by Rafael Pallares [ 12/Aug/20 08:47 AM ] |
Ok, thanks for your response.
We have another exception that may cause this one finally. 2020-08-11 16:48:26,209 [MeasurementPollingTask] ERROR oshi.software.os.linux.LinuxFileSystem - Failed to get file counts from statvfs. {} java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native Need to investigate further, but we may miss some permissions, may be with Java temp dir. To stay on the initial topic, do you have a suggested ulimit number for a QuickBuild server? |
Comment by Robin Shen [ 12/Aug/20 09:48 PM ] |
It highly depends on your build agent number and build request volume. For a medium sized installation, I suggest to increase it to 100000 at least. |