Migrating from 5.6.3 to 6.7.5

sonarqube

(Kay) #1

I am trying to upgrade from Sonarqube 5.6.3 to LTS 6.7.5, when doing so I encounter this below error in web.log. I have followed this system requirement - https://docs.sonarqube.org/display/SONAR/Requirements
and set ulimit but I keep getting the same error

I am using 16GB RAM with 4 cores. DB is MySQL version 5.6.29

2018.10.21 10:59:31 INFO web[][DbMigrations] #1207 ‘Drop unused columns on PROJECT_MEASURES’…

2018.10.21 11:28:03 WARN web[][o.s.p.ProcessEntryPoint] Fail to start web

java.lang.IllegalArgumentException: Unable to create shared memory :

at org.sonar.process.sharedmemoryfile.AllProcessesCommands.<init>(AllProcessesCommands.java:100)

at org.sonar.process.sharedmemoryfile.DefaultProcessCommands.<init>(DefaultProcessCommands.java:34)

at org.sonar.process.sharedmemoryfile.DefaultProcessCommands.secondary(DefaultProcessCommands.java:52)

at org.sonar.server.app.WebServer.isOperational(WebServer.java:68)

at org.sonar.server.app.WebServer.getStatus(WebServer.java:60)

at org.sonar.process.ProcessEntryPoint.waitForOperational(ProcessEntryPoint.java:145)

at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:120)

at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:100)

at org.sonar.server.app.WebServer.main(WebServer.java:91)

Caused by: java.io.FileNotFoundException: /opt/sonarqube-6.7.5/temp/sharedmemory (Too many open files in system)

at java.io.RandomAccessFile.open0(Native Method)

at java.io.RandomAccessFile.open(RandomAccessFile.java:316)

at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)

at org.sonar.process.sharedmemoryfile.AllProcessesCommands.<init>(AllProcessesCommands.java:97)

… 8 common frames omitted


(Kay) #2

any suggestions will be helpful.


(Naresh) #4

Kay,

Are all Unix parameters set correctly as specified in the requirements specifications ?


(Kay) #5

yes, everything is set as expected.