Try accessing /threadDump in another browser tab while it's saving, and search 
for '/configSubmit' -- it'll give you an idea why it takes so long.

I was experiencing a similar issue a few days ago. Are you using Job Config 
History plugin, maybe Copy Artifact plugin as well? There's a bug in Copy 
Artifact's current release that was fixed in 
https://github.com/jenkinsci/copyartifact-plugin/commit/f149daaaf26d83c4126f13b41e4965997ed3c45a
 which caused all projects to be saved whenever one was renamed.

Job Config History's implementation of 'Do not save duplicate history' is 
rather inefficient, as it checks every existing history entry of the item 
you're saving. If your instance has a few thousand history entries for the 
global config.xml, that'll cause saving that to take quite long. And if you 
rename jobs, with Copy Artifact causing all jobs to be saved... well...

If it's indeed the save listener in Job Config History, consider one or more of 
the following:

- Limit history to fewer entries than you have now (check the folders on disk 
for the number of saved states)
- Update Copy Artifact to a snapshot with the linked fix
- Disable 'Do not save duplicate history'

On 23.07.2013, at 14:22, Steffen Breitbach <steffen.breitb...@1und1.de> wrote:

> Hi everyone!
> 
> We're running 1.509.2 LTS inside a Tomcat 6.0.36 with Java 7u25-b15
> (altough we also had this problem with 1.509.1 and 7u09) on a Linux
> machine.
> 
> Operations that change jobs like changing the configuration or renaming
> take ages to finish. Eventually the action will terminate, but it takes
> 10 minutes or more to finish.
> 
> There is no evidence in the Jenkins logs, System load is reasonalby low
> and I can't detect any deadlocked threads.
> 
> I already tried to get a full heap dump but this will crash the VM after
> only a few megabytes.
> 
> Do you have any idea what might be happening?
> 
> Regards
>  Steffen
> 
> -- 
> 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-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
> 

-- 
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-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to