You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 24-h NFT Transfer test, file-descriptor leak was identified:
2196 /opt/hgcapp/services-hedera/HapiApp2.0/data/saved/com.hedera.services.ServicesMain/7/123
The dir opened 2196 times and keeps open - that will cause error: too many open files.
In context of previously fixed issues, the ticket #5533 is closest to describe the issue and to suggest the fix
Found 3 suspects:
./platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/state/snapshot/SignedStateFilePath.java:197: final List dirs = Files.list(dir).filter(Files::isDirectory).toList();
./platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/gui/internal/StateHierarchy.java:52: final List appFiles = rethrowIO(() -> Files.list(appsDirPath)
./platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/gui/internal/StateHierarchy.java:59: final List toDelete = rethrowIO(() -> Files.list(appsDirPath)
Steps to reproduce
Run NFT transfer for sufficiently long time and watch for number:
ls -l /proc/<JAVA_PID>/fd/* | grep 'data/saved/com.hedera.services.ServicesMain' | wc -l
This number must be small (single-digit) and should not grow over time.
Additional context
No response
Hedera network
No response
Version
v0.54
Operating system
Linux
The text was updated successfully, but these errors were encountered:
Description
In 24-h NFT Transfer test, file-descriptor leak was identified:
2196 /opt/hgcapp/services-hedera/HapiApp2.0/data/saved/com.hedera.services.ServicesMain/7/123
The dir opened 2196 times and keeps open - that will cause error: too many open files.
In context of previously fixed issues, the ticket
#5533 is closest to describe the issue and to suggest the fix
Found 3 suspects:
./platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/state/snapshot/SignedStateFilePath.java:197: final List dirs = Files.list(dir).filter(Files::isDirectory).toList();
./platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/gui/internal/StateHierarchy.java:52: final List appFiles = rethrowIO(() -> Files.list(appsDirPath)
./platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/gui/internal/StateHierarchy.java:59: final List toDelete = rethrowIO(() -> Files.list(appsDirPath)
Steps to reproduce
Run NFT transfer for sufficiently long time and watch for number:
ls -l /proc/<JAVA_PID>/fd/* | grep 'data/saved/com.hedera.services.ServicesMain' | wc -l
This number must be small (single-digit) and should not grow over time.
Additional context
No response
Hedera network
No response
Version
v0.54
Operating system
Linux
The text was updated successfully, but these errors were encountered: