Project

General

Profile

Actions

Incident #4743

closed

problems on nexus

Added by Claudio Atzori almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Urgent
Category:
-
Target version:
Start date:
Jul 18, 2016
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Development

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

Actions #1

Updated by Roberto Cirillo almost 9 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

Actions #2

Updated by Roberto Cirillo almost 9 years ago

For the moment I've restarted the nexus server.

Could you retry now, please?

Actions #3

Updated by Claudio Atzori almost 9 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!

Actions #4

Updated by Pasquale Pagano almost 9 years ago

  • % Done changed from 0 to 50

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

Actions #5

Updated by Tommaso Piccioli almost 9 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.

Actions #6

Updated by Tommaso Piccioli almost 9 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.

Actions #7

Updated by Pasquale Pagano almost 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)