We are at latest LTS Jenkins and plugins.

I turned out, the H2 db is corrupted (according to trace file).  We able to 
get the system back  with brand new DB file

-D

On Tuesday, October 23, 2018 at 8:37:21 PM UTC-7, Jan Monterrubio wrote:
>
> What version of workflow cps are you using? 
>
> On Tue, Oct 23, 2018 at 16:54 Dan Tran <[email protected] <javascript:>> 
> wrote:
>
>> Hi
>>
>> We are experiencing all build hangs at the end and the stack trace shows
>>
>>     Running 
>> CpsFlowExecution[Owner[ecdm/ecdm-projects/ecdm/future%2Fmiles/59:ecdm/ecdm-projects/ecdm/future%2Fmiles
>>  #59]]
>>       at 
>> org.h2.jdbcx.JdbcConnectionPool.getConnection()Ljava/sql/Connection; 
>> (JdbcConnectionPool.java:196)
>>       at 
>> org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginH2Dao.getOrCreateBuildPrimaryKey(Ljava/lang/String;I)J
>>  (PipelineMavenPluginH2Dao.java:369)
>>       at 
>> org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginH2Dao.recordParentProject(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
>>  (PipelineMavenPluginH2Dao.java:177)
>>       at 
>> org.jenkinsci.plugins.pipeline.maven.dao.PipelineMavenPluginMonitoringDao.recordParentProject(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
>>  (PipelineMavenPluginMonitoringDao.java:45)
>>       at 
>> org.jenkinsci.plugins.pipeline.maven.publishers.PipelineGraphPublisher.recordParentProject(Ljava/util/List;Ljava/util/List;Lhudson/model/Run;Lhudson/model/TaskListener;Lorg/jenkinsci/plugins/pipeline/maven/dao/PipelineMavenPluginDao;)V
>>  (PipelineGraphPublisher.java:133)
>>
>>
>> and teh embbeded H2 database size is abut 350M.  is it a sign of scaling 
>> issue since we have pipelines which host  main and PR builds for a large 
>> maven project with many modules
>>
>>
>> A restart jenkins every 2 hours is needed
>>
>>
>> Suggestion is greatly apprecicated
>>
>>
>> -D
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/30bb41c9-8dc5-4762-bdcb-82ef0a667496%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/30bb41c9-8dc5-4762-bdcb-82ef0a667496%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6a8a9f92-97bb-46b4-95ee-6bb9fb4188a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to