Jenkins isn't accessible due to several errors

344 views
Skip to first unread message

Mehdi Hayani

unread,
Jul 12, 2013, 6:40:23 AM7/12/13
to jenkins...@googlegroups.com
Hi Team, 

For the last two days, each time I came, I found that jenkins was down (Error 503) Tomcat status was "running" but the application couldn't be accessible , I had to restart the service in order to make it work

The problem is that when checking the log files, I found many errors that doesn't allow me to know  what really made Jenkins inaccessible:

####################
######## 1 ##########
####################
Jul 12, 2013 11:01:12 AM org.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork backupNow
SEVERE: Cannot perform a backup. Please be sure jenkins/hudson has write privileges in the configured backup path '/cip/home/jenkins-V1/thinBackup'.
java.io.FileNotFoundException: Source '/cip/home/jenkins-V1/jenkins_home/jobs/orha-trunk/builds/lastSuccessfulBuild' does not exist
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:866)
at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:814)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backupBuildFiles(HudsonBackup.java:280)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backupBuildsFor(HudsonBackup.java:263)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backupJob(HudsonBackup.java:202)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backupJobsDirectory(HudsonBackup.java:190)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backupJobs(HudsonBackup.java:169)
at org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup.backup(HudsonBackup.java:136)
at org.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork.backupNow(ThinBackupPeriodicWork.java:87)
at org.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork.execute(ThinBackupPeriodicWork.java:68)
at org.jvnet.hudson.plugins.thinbackup.hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:54)
at java.lang.Thread.run(Thread.java:662)


####################
######## 2 ##########
####################
Jul 12, 2013 12:29:10 AM org.jvnet.hudson.plugins.thinbackup.hudson.model.AsyncPeriodicWork doRun
SEVERE: ThinBackup Worker Thread thread failed with error
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:640)
at org.jvnet.hudson.plugins.thinbackup.hudson.model.AsyncPeriodicWork.doRun(AsyncPeriodicWork.java:66)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Jul 12, 2013 12:29:36 AM hudson.model.Run execute


####################
######## 3 ##########
####################
Jul 12, 2013 12:30:04 AM hudson.triggers.Trigger checkTriggers
WARNING: hudson.triggers.SCMTrigger.run() failed for lcon-auth-V1
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:640)
at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:727)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78)
at hudson.util.SequentialExecutionQueue$QueueEntry.submit(SequentialExecutionQueue.java:108)
at hudson.util.SequentialExecutionQueue$QueueEntry.access$100(SequentialExecutionQueue.java:95)
at hudson.util.SequentialExecutionQueue.execute(SequentialExecutionQueue.java:66)
at hudson.triggers.SCMTrigger.run(SCMTrigger.java:109)
at hudson.triggers.SCMTrigger.run(SCMTrigger.java:83)
at hudson.triggers.Trigger.checkTriggers(Trigger.java:259)
at hudson.triggers.Trigger$Cron.doRun(Trigger.java:207)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Jul 12, 2013 12:30:04 AM hudson.triggers.Trigger checkTriggers


####################
######## 4 ##########
####################
WARNING: Failed to monitor ASLAVE-1 for Free Swap Space
java.io.InvalidClassException: hudson.node_monitors.SwapSpaceMonitor$MonitorTask; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 1184166703664094906
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:617)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1620)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at hudson.remoting.UserRequest.deserialize(UserRequest.java:182)
at hudson.remoting.UserRequest.perform(UserRequest.java:98)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Jul 12, 2013 10:15:48 AM hudson.triggers.SCMTrigger$Runner run


####################
######## 5 ##########
####################
WARNING: Node monitoring ASLAVE-1 for Free Swap Space aborted.
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at hudson.remoting.Request.call(Request.java:146)
at hudson.remoting.Channel.call(Channel.java:664)
at hudson.node_monitors.SwapSpaceMonitor$1.monitor(SwapSpaceMonitor.java:83)
at hudson.node_monitors.SwapSpaceMonitor$1.monitor(SwapSpaceMonitor.java:81)
at hudson.node_monitors.AbstractNodeMonitorDescriptor$Record.run(AbstractNodeMonitorDescriptor.java:202)
Jul 12, 2013 8:39:57 AM hudson.node_monitors.AbstractNodeMonitorDescriptor$Record run



I'm really afraid that this problem appears again, that's why I would be very grateful If you can help me solving it :) 
Thanks in advance.

PS: I'm using Jenkins 1.480.2 running under Tomcat 7 

Regards,
Mehdi

Kevin Fleming (BLOOMBERG/ 731 LEXIN)

unread,
Jul 12, 2013, 9:48:15 AM7/12/13
to jenkins...@googlegroups.com
You have multiple Out Of Memory errors in there; you need to investigate why your Jenkins process is out of memory. It could be that the system itself is low on available RAM, or that you need to configure your JVM to have a larger heap available.
--
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 jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Mehdi Hayani

unread,
Jul 12, 2013, 10:18:21 AM7/12/13
to jenkins...@googlegroups.com
Okk thanks, I'll check.

meanwhile, you have any idea why I Get this warning ?? 

Christoph Kutzinski

unread,
Jul 12, 2013, 10:26:35 AM7/12/13
to jenkins...@googlegroups.com
Which JVMs are you using for Master and Slave? The error is a serialisation incompatibility between these two.
 
Gesendet: Freitag, 12. Juli 2013 um 16:18 Uhr
Von: "Mehdi Hayani" <hayani....@gmail.com>
An: jenkins...@googlegroups.com
Betreff: Re: Jenkins isn't accessible due to several errors
--
Reply all
Reply to author
Forward
0 new messages