The problem is gone.I found poweful server with 64G RAM. And set
sonar.ce.javaOpts=-Xmx64G
BUT faced with other problems:
Generate Quality profile events | time=2ms
2017.10.19 06:03:21 INFO [o.s.s.c.s.ComputationStepExecutor] Generate Quality gate events | time=2ms
2017.10.19 06:03:24 INFO [o.s.s.c.s.ComputationStepExecutor] Persist components | time=2669ms
2017.10.19 06:03:26 INFO [o.s.s.c.s.ComputationStepExecutor] Persist snapshots | time=1429ms
2017.10.19 06:03:57 WARN [o.a.i.e.BaseExecutor] Unexpected exception on closing transaction. Cause: org.h2.jdbc.JdbcSQLException: IO Exception: "java.io.IOException: Stream Closed"; "/home/esb99usr/SonarQubeHome/sonarqube-5.6.7/data/sonar.h2.db"; SQL statement:
ROLLBACK [90031-176]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.message.DbException.convertIOException(DbException.java:329)
at org.h2.store.FileStore.seek(FileStore.java:298)
May be I have to change type of the DataBase?? I use Embedded DB.
In SONAR_HOME/logs/sonar.log I found:
2017.10.19 06:11:17 INFO es[o.e.c.r.a.decider] [sonar-1508377991376] low disk watermark [85%] exceeded on [xvfOS5ePT_Ct5bkoEYRWoA][sonar-1508377991376] free: 543.2mb[13.9%], replicas will not be assigned to this node
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: org.h2.jdbc.JdbcSQLException: IO Exception: "java.io.IOException: Stream Closed"; "/home/esb99usr/SonarQubeHome/sonarqube-5.6.7/data/sonar.h2.db"; SQL statement:
select
I set other options like:
sonar.ce.javaOpts=-Xmx32G
sonar.web.javaOpts=-Xmx32G
sonar.search.javaOpts=-Xmx32G
and get:
2017.10.19 07:08:34 ERROR [o.s.s.c.t.CeWorkerCallableImpl] Failed to execute task AV8ylItTneC5kASvyPO6
org.sonar.server.computation.component.VisitException: Visit of Component {key=federal:appSrvUpdatePrivateTariff/ru/sbt/sbrf/esb/services/srvupdateprivatetariff/esql/ASFSVFL_to_mdo.esql,type=FILE} failed
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2017.10.19 07:08:34 ERROR ce[o.s.s.c.t.CeWorkerCallableImpl] Executed task | project=federal | type=REPORT | id=AV8ylItTneC5kASvyPO6 | submitter=admin | time=86461ms
2017.10.19 07:08:38 INFO es[o.e.c.r.a.decider] [sonar-1508385902758] low disk watermark [85%] exceeded on [i8rZxETxQuG2pa886VxqPA][sonar-1508385902758] free: 529.1mb[13.5%], replicas will not be assigned to this node
Full log file you can see in attachments
I tired to try put analyze report to sonar (((