continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-1871) Continuum does not execute builds when last BUILDRESULT.END_TIME=0
Date Sun, 07 Sep 2008 14:20:48 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=147263#action_147263
] 

Olivier Lamy commented on CONTINUUM-1871:
-----------------------------------------

The explanation seems to be the following :
Continuum has certainly been stopped abrutly (killed) when project was building.
In this case the oldBuildResult of this project is 0.
During the next build, continuum try to load all scmChange since the last buildResult.
If the oldBuildResult has an endTime of 0 : all scmResult since the project has been added
in Continuum will be loaed.
This cause a very huge memory (due to a lof of String concat in ChangeSet.toString() method)
when the project has a big history in the database.



> Continuum does not execute builds when last BUILDRESULT.END_TIME=0
> ------------------------------------------------------------------
>
>                 Key: CONTINUUM-1871
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1871
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: RHEL 5, Continuum 1.2 (SVN 691325), Java 1.6.0_03, MySQL 5.0.45,
Maven 2.0.9
>            Reporter: Peter Janes
>             Fix For: 1.2.1
>
>         Attachments: thread-dump.txt, thread-dump.txt
>
>
> After adding a set of projects to a Continuum 1.2 instance, the server stopped performing
any builds on any projects.  CPU usage shoots up to 100%, projects are queued up and are apparently
started, but no build processes are invoked.  Even the simplest pom-only job times out.
> Looking at the database I noticed that the last entry for the top-queued project in the
BUILDRESULT table had an END_TIME of 0.  When I changed that field to a current time and restarted
the server Continuum started to perform builds again.
> I was able to duplicate the problem by setting the END_TIME of the last BUILDRESULT of
a project to 0, starting the server, and waiting for that project to be queued.  The problem
was resolved again when I reset END_TIME to its original value.
> I've attached a thread dump as suggested on users@continuum.  It seems to show that Continuum
is in the SCM module's ChangeSet.toString(), which doesn't seem right, but perhaps it will
help point to the root cause.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message