Incident #4743

problems on nexus

Added by Claudio Atzori over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:Jul 18, 2016
Priority:UrgentDue date:
Assignee:Tommaso Piccioli% Done:

100%

Category:-
Infrastructure:Development
Milestones:
Duration:

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]

Screen Shot 2016-07-18 at 09.41.02.png (117 KB) Claudio Atzori, Jul 18, 2016 09:51 AM

Screen Shot 2016-07-18 at 09.44.37.png (108 KB) Claudio Atzori, Jul 18, 2016 09:51 AM

Screen Shot 2016-07-18 at 09.40.31.png (77.4 KB) Claudio Atzori, Jul 18, 2016 09:51 AM

566
567
568

History

#1 Updated by Roberto Cirillo over 3 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

#2 Updated by Roberto Cirillo over 3 years ago

For the moment I've restarted the nexus server.

Could you retry now, please?

#3 Updated by Claudio Atzori over 3 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!

#4 Updated by Pasquale Pagano over 3 years ago

  • % Done changed from 0 to 50

@tommaso.piccioli@isti.cnr.it please increase the number of descriptors and close the ticket. Thanks

#5 Updated by Tommaso Piccioli over 3 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.

#6 Updated by Tommaso Piccioli over 3 years ago

  • % Done changed from 50 to 100
  • Status changed from In Progress to Resolved

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.

#7 Updated by Pasquale Pagano over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF