Incident #4743
closedproblems on nexus
100%
Description
The nexus server on maven.research-infrastructure.eu seems to be misbehaving, see attached screenshots.
Although some of the maven artifacts seems to be available (I can browse, for instance http://maven.research-infrastructures.eu/nexus/content/repositories/dnet4-snapshots/eu/dnetlib/cnr-resultset-service/), the compilation fails due to the unavailability of some artifacts, and the unmet dependency changes from time to time:
claudio@dlib15 % mvn clean compile -U [...] [ERROR] Failed to execute goal on project cnr-modular-mdstore-service: Could not resolve dependencies for project eu.dnetlib:cnr-modular-mdstore-service:jar:5.0.2-SNAPSHOT: Failed to collect dependencies for [junit:junit:jar:4.8.2 (test), org.springframework:spring-test:jar:[4.0.0.RELEASE,4.0.0.RELEASE] (test), org.mockito:mockito-core:jar:1.6 (test), eu.dnetlib:cnr-test-utils:jar:[1.0.0,2.0.0) (test), eu.dnetlib:cnr-rmi-api:jar:[2.4.1,3.0.0) (compile), eu.dnetlib:cnr-blackboard-common:jar:[2.2.0,3.0.0) (compile), eu.dnetlib:cnr-misc-utils:jar:[1.0.0,2.0.0) (compile), eu.dnetlib:cnr-resultset-service:jar:[2.0.0,3.0.0) (compile), eu.dnetlib:cnr-resultset-client:jar:[2.0.0,3.0.0) (compile), log4j:log4j:jar:[1.2.17,1.2.17] (compile)]: No versions available for eu.dnetlib:cnr-blackboard-common:jar:[2.2.0,3.0.0) within specified range -> [Help 1] claudio@dlib15 % claudio@dlib15 % mvn clean compile -U [...] [INFO] [ERROR] Failed to execute goal on project cnr-modular-mdstore-service: Could not resolve dependencies for project eu.dnetlib:cnr-modular-mdstore-service:jar:5.0.2: Failed to collect dependencies for [junit:junit:jar:4.8.2 (test), org.springframework:spring-test:jar:[4.0.0.RELEASE,4.0.0.RELEASE] (test), org.mockito:mockito-core:jar:1.6 (test), eu.dnetlib:cnr-test-utils:jar:[1.0.0,2.0.0) (test), eu.dnetlib:cnr-rmi-api:jar:[2.4.1,3.0.0) (compile), eu.dnetlib:cnr-blackboard-common:jar:[2.2.0,3.0.0) (compile), eu.dnetlib:cnr-misc-utils:jar:[1.0.0,2.0.0) (compile), eu.dnetlib:cnr-resultset-service:jar:[2.0.0,3.0.0) (compile), eu.dnetlib:cnr-resultset-client:jar:[2.0.0,3.0.0) (compile), log4j:log4j:jar:[1.2.17,1.2.17] (compile)]: No versions available for eu.dnetlib:cnr-test-utils:jar:[1.0.0,2.0.0) within specified range -> [Help 1]
Files
Updated by Roberto Cirillo almost 10 years ago
The maximum number of open files has been reached.
From shell I see that the nexus process has 1024 files opened.
ulimit -n show 16000 but the nexus process has the limit set to 1024:
less /proc/976/limits
This limit should be increased to 16000
Updated by Roberto Cirillo almost 10 years ago
For the moment I've restarted the nexus server.
Could you retry now, please?
Updated by Claudio Atzori almost 10 years ago
- Status changed from New to In Progress
I could resolve all the artifacts to compile and release a module. For the moment nexus seems to be back to work. Thanks!
Updated by Pasquale Pagano almost 10 years ago
- % Done changed from 0 to 50
@tommaso.piccioli@isti.cnr.it please increase the number of descriptors and close the ticket. Thanks
Updated by Tommaso Piccioli almost 10 years ago
The limit for the open files was already setted to 16000/32000 years ago and nexus restarted after that for sure.
I would like to reboot the host to check if nexus is started at boot with the right parameters.
Updated by Tommaso Piccioli almost 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 50 to 100
OK, problem founded in the pam configuration, at boot processes started with "su" didn't set ulimit correctly.
Fixed now, I will check at next host reboot.
Updated by Pasquale Pagano almost 10 years ago
- Status changed from Resolved to Closed