Child pages
  • Nexus Repair Index
Skip to end of metadata
Go to start of metadata

Adott egy Nexus, benne kb. 3.5G különféle bináris... gondoltam, hogy kicsit karbantartom, ezért elkezdtem minden egyes repository soron végrehajtani az 'Expire Cache', a 'Rebuild Metadata', a 'Repair Index' és az 'Update Index' műveleteket... de a Nexus egyszerűen elzabálja a szabad helyet:

# du -s /home/nexus/
3499612 /home/nexus/
# df -m
Fájlrendszer          1M-blokk   Foglalt    Szabad Fo.% Csatl. pont
/dev/xvda1               29570     25191      3779  87% /
tmpfs                     3935         0      3935   0% /dev/shm

A nexus.log fájlba az alábbi kerül:

2012-11-29 20:34:27 INFO  [ool-1-thread-13] - org.sonatype.nexus.tasks.UpdateIndexTask - Scheduled task (UpdateIndexTask) started :: Updating repository index "Public Repositories" from path / and below.
2012-11-29 20:34:27 INFO  [ool-1-thread-13] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository releases
2012-11-29 20:34:27 INFO  [ool-1-thread-13] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository snapshots
2012-11-29 20:34:28 INFO  [ool-1-thread-13] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository thirdparty
2012-11-29 20:34:29 INFO  [ool-1-thread-13] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository central
2012-11-29 20:34:29 INFO  [ool-1-thread-13] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "Atlassian repository" [id=atlassian]

2012-11-29 20:43:29 INFO  [ool-1-thread-13] - org.sonatype.nexus.apachehttpclient.Hc4ProviderImpl$1 - I/O exception (org.apache.http.NoHttpResponseException) caught when processing request: The target server failed to respond
2012-11-29 20:43:29 INFO  [ool-1-thread-13] - org.sonatype.nexus.apachehttpclient.Hc4ProviderImpl$1 - Retrying request
2012-11-29 20:43:30 ERROR [ool-1-thread-13] - org.apache.maven.index.updater.DefaultIndexUpdater - Fallback to *.zip also failed: java.io.FileNotFoundException: nexus-maven-repository-index.zip (remote item not found)
2012-11-29 20:43:30 WARN  [ool-1-thread-13] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Atlassian repository" [id=atlassian] due to IO problem.
java.io.IOException: No space left on device
        at java.io.RandomAccessFile.writeBytes(Native Method) ~[na:1.6.0_24]
        at java.io.RandomAccessFile.write(RandomAccessFile.java:499) ~[na:1.6.0_24]

Nekem nem tűnik üzemszerű működésnek, hogy a Nexus egy index karbantartás során több tárhelyet zabál fel, mint amennyi helyet amúgy foglal... vagy ez üzemszerű?

      
      
Page viewed times
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels