On Tuesday, March 31, 2015 at 10:36:55 PM UTC-5, Keith Marchen wrote:
>
> We use TFS commands to get our source files for builds. But when we run
> them from Jenkins, they take around 40 seconds to execute. What could be
> the issue with our TFS configuration on Jenkins that is affecting execution
> of TFS commands?
>
> Thanks,
> Keith
>
Here is tread dump when I run a TF command. Looks like it might be locking
on the FilePath...?
*FilePath.localPool [#414]*
"FilePath.localPool [#414]" Id=9933 Group=main RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:446)
at hudson.Functions.getThreadInfos(Functions.java:1155)
at
hudson.util.RemotingDiagnostics$GetThreadDump.call(RemotingDiagnostics.java:95)
at
hudson.util.RemotingDiagnostics$GetThreadDump.call(RemotingDiagnostics.java:92)
at hudson.remoting.LocalChannel$1.call(LocalChannel.java:52)
at
jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Number of locked synchronizers = 1
- java.util.concurrent.ThreadPoolExecutor$Worker@3b6ee141
*Handling GET /threadDump : RequestHandlerThread[#232]
Jenkins/threadDump.jelly*
"Handling GET /threadDump : RequestHandlerThread[#232]
Jenkins/threadDump.jelly" Id=9923 Group=main TIMED_WAITING on
java.util.concurrent.FutureTask@43a7032c
*Handling POST /script : RequestHandlerThread[#229]*
"Handling POST /script : RequestHandlerThread[#229]" Id=9903 Group=main
RUNNABLE (in native)
at java.lang.ProcessImpl.waitForInterruptibly(Native Method)
at java.lang.ProcessImpl.waitFor(ProcessImpl.java:449)
at sun.reflect.GeneratedMethodAccessor342.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
*jenkins.util.Timer [#10] **(there are 10 timers in the dump -all the same )*
"jenkins.util.Timer [#10]" Id=43 Group=main WAITING on
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@1a6b2970
at sun.misc.Unsafe.park(Native Method)
- waiting on
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@1a6b2970
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088)
at
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
at
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
--
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/da0ab01e-0b32-4543-b932-3b381eb3f064%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.