Open bom-d-van opened 1 year ago
The files are mostly from the tmp folder:
java 50073 200 *866w REG 0,917 721 226090353 /nexus-data/tmp/.nfs000000000d79dd710000f1a3
lsof: no pwd entry for UID 200
java 50073 200 *867w REG 0,917 837 226090354 /nexus-data/tmp/.nfs000000000d79dd720000f1a2
lsof: no pwd entry for UID 200
java 50073 200 *868w REG 0,917 245453 226090370 /nexus-data/tmp/.nfs000000000d79dd820000f1a7
lsof: no pwd entry for UID 200
java 50073 200 *869w REG 0,917 188166 226090371 /nexus-data/tmp/.nfs000000000d79dd830000f1a6
lsof: no pwd entry for UID 200
java 50073 200 *870r REG 0,917 14328 231871778 /nexus-data/elasticsearch/nexus/nodes/0/indices/87ee0e1541af7dd4f6acd31436f9bb3d72176671/0/index/_e.cfs
lsof: no pwd entry for UID 200
java 50073 200 *871w REG 0,917 558 226090355 /nexus-data/tmp/6874685871877237425
lsof: no pwd entry for UID 200
java 50073 200 *872w REG 0,917 1657749 226090362 /nexus-data/tmp/.nfs000000000d79dd7a0000f1b1
lsof: no pwd entry for UID 200
java 50073 200 *873w REG 0,917 371 226090356 /nexus-data/tmp/.nfs000000000d79dd740000f1a1
lsof: no pwd entry for UID 200
java 50073 200 *874w REG 0,917 405 226090357 /nexus-data/tmp/.nfs000000000d79dd750000f1a0
lsof: no pwd entry for UID 200
java 50073 200 *875w REG 0,917 1269598 226090380 /nexus-data/tmp/.nfs000000000d79dd8c0000f1b0
lsof: no pwd entry for UID 200
java 50073 200 *876w REG 0,917 822282 226090372 /nexus-data/tmp/74981174112778502
lsof: no pwd entry for UID 200
java 50073 200 *877w REG 0,917 234540 226090373 /nexus-data/tmp/.nfs000000000d79dd850000f1ad
lsof: no pwd entry for UID 200
java 50073 200 *878w REG 0,917 488 226090358 /nexus-data/tmp/6537272694809463009
lsof: no pwd entry for UID 200
java 50073 200 *879w REG 0,917 328 226090359 /nexus-data/tmp/.nfs000000000d79dd770000f19f
lsof: no pwd entry for UID 200
java 50073 200 *880w REG 0,917 362 226090361 /nexus-data/tmp/.nfs000000000d79dd790000f19e
lsof: no pwd entry for UID 200
java 50073 200 *881w REG 0,917 165123 226090374 /nexus-data/tmp/.nfs000000000d79dd860000f1ac
lsof: no pwd entry for UID 200
java 50073 200 *882w REG 0,917 1127757 226090408 /nexus-data/tmp/.nfs000000000d79dda80000f1cf
lsof: no pwd entry for UID 200
java 50073 200 *883w REG 0,917 6496158 226091169 /nexus-data/tmp/102739330735246238
lsof: no pwd entry for UID 200
java 50073 200 *884w REG 0,917 769336 226091547 /nexus-data/tmp/.nfs000000000d79e21b0000f373
lsof: no pwd entry for UID 200
java 50073 200 *885w REG 0,917 488 226090375 /nexus-data/tmp/117278840800635037
lsof: no pwd entry for UID 200
Thanks for filing this. Is there anything particular about your workload or environment you could share? Which format(s) are you primarily using?
hi @mrprescott, our workload is quite simple. The issued seems could be easily reproduced by uploading apt artifacts (deb packages) using the official docker image: https://github.com/sonatype/docker-nexus3.
Hey @mrprescott , I can replicate this error simply by uploading apt packages as well. This can be an annoying issue when using file systems with limits on how many files can be open at once time, like AWS EFS. The files can be closed by restarting Nexus, but this bug practically guarantees that a restart is needed every week.
This issue is stale because it has been open for 60 days with no activity.
this issue needs some love from our maintainers. (thanks for the open sourcing effort nonetheless, I'm not a java guy, otherwise it's an rather interesting problem to fix.) :(
This issue is stale because it has been open for 60 days with no activity.
Do you have a workaround you are using at present? Restarting the service.
What feature or behavior is this required for? Keeping memory usage normal.
How could we solve this issue? (Not knowing is okay!) Makes sure that files are closed properly.
Tell us about your Nexus Repository deployment: what version, operating system, and database are you using? Nexus: 3.34.1 and 3.54.1. OS: Linux nexus-76b79c7554-9df6c 4.15.0-151-generic #157-Ubuntu SMP Fri Jul 9 23:07:57 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux Database: An embedded OrientDB database
Anything else?