Error messages in CE Logs- DirectoryNotEmptyException and Device or resource busy

Im looking to obtain a deeper understanding of the messages in our ce log, so they can be resolved.

  • SonarQube Version 7.4 running on Linux using Oracle as the DB
    Scanning 156 projects totaling 20,405,430 lines of code.

So far we have implemented the recycling of the sonarqube server weekly to clear the temp files and avoid performance issues.

Sample of messages:
Message 1
2022.06.22 00:35:47 ERROR ce[AYGJsVxo_LyfrLql2QRH][o.s.a.u.i.DefaultTempFolder] Failed to delete temp folder
java.nio.file.FileSystemException: /opt/pipeline/sonarqube-7.4/temp/ce/3760398821888294280/1374400953027385830/.nfs000000000038468c00033eb6: Device or resource busy

Message 2
2022.06.22 00:59:56 ERROR ce[AYGJx5l3_LyfrLql2QRI][o.s.a.u.i.DefaultTempFolder] Failed to delete temp folder
java.nio.file.DirectoryNotEmptyException: /opt/pipeline/sonarqube-7.4/temp/ce/8081984568331119125/6816326345264462805

I have attached the ce logs for more information.
sonarqube_ce_062222.log (136.3 KB)

There are hundreds of files in these temp directories, and the extensions are .pb and .txt. Here is a sample of those files:
Test-189.pb
testGenerateSinglePOSForm
testInvalidGenerateForms+
'testInvalidGenerateFormNullJurisdiction
testInvalidGenerateForm

Others contain Java code.

I want to add we a using the Community version of SonarQube.

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.4 → 7.9.6 → 8.9.8 → 9.5 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.