I've had Jenkins hanging. My current best guess is that scripttrigger doesn't close some files explicitly and the GC doing it isn't run often enough to take care of it.
- Running lsof on the process shows several times the same files opened, files named scriptTrigger-polling.log in job directory for jobs having a script triggers. The number of files opened increase apparently by one each time the trigger is run.
- If I load http://myserver/gc, the additional opened files disappear.
I'm running version 1.440.
If you need more information, don't hesitate to ask.
— Edit —
I think my guess is confirmed. I've just had Jenkins hanging again and
% lsof -p <jenkinspid> | grep "scriptTrigger-polling.log" | wc -l
Trying to load http://myserver/gc has no effect (the server doesn't answer)