Dear Orbeon team,
It is possible to set a timeout in PipelineEngine.executePipeline()? I would like to have a timeout if some pipeline hungs forever and clean its execution. If the number of pipelines that hungs forever are big they can crash the server. Thanks, Jordi |
Administrator
|
Jordi,
Currently there is no notion of timeout there. How/why do your pipelines hang? Do they just have lots to process, or is there another reason? -Erik On Sep 22, 2008, at 5:07 AM, joac wrote: > > Dear Orbeon team, > > It is possible to set a timeout in PipelineEngine.executePipeline()? > I would > like to have a timeout if some pipeline hungs forever and clean its > execution. If the number of pipelines that hungs forever are big > they can > crash the server. > > Thanks, > Jordi > -- > View this message in context: http://www.nabble.com/PipelineEngine.executePipeline%28%29-timeout-tp19606674p19606674.html > Sent from the ObjectWeb OPS - Users mailing list archive at > Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Thanks Erik for your answer. My problem is mainly with url-generator when the url that I access doesn't return the thread hangs forever.
If the process is executed many times it creates many threads in the server and finally crashes. I have created another thread and after a timeout I've tried to Thread.interrupt() the pipeline thread but it doesn't interrupt. I am using quartz job scheduler for executing pipeline tasks.
|
Administrator
|
Maybe what is needed is the possibility of setting a timeout on
oxf:url-generator. This is not implemented at the moment, but if you are tempted, the source code is out there ;-) -Erik On Sep 22, 2008, at 5:14 PM, joac wrote: > > Thanks Erik for your answer. My problem is mainly with url-generator > when the > url that I access doesn't return the thread hangs forever. > If the process is executed many times it creates many threads in the > server > and finally crashes. I have created another thread and after a > timeout I've > tried to Thread.interrupt() the pipeline thread but it doesn't > interrupt. > I am using quartz job scheduler for executing pipeline tasks. > > > Erik Bruchez wrote: >> >> Jordi, >> >> Currently there is no notion of timeout there. How/why do your >> pipelines hang? Do they just have lots to process, or is there >> another >> reason? >> >> -Erik >> >> On Sep 22, 2008, at 5:07 AM, joac wrote: >> >>> >>> Dear Orbeon team, >>> >>> It is possible to set a timeout in PipelineEngine.executePipeline()? >>> I would >>> like to have a timeout if some pipeline hungs forever and clean its >>> execution. If the number of pipelines that hungs forever are big >>> they can >>> crash the server. >>> >>> Thanks, >>> Jordi >>> -- >>> View this message in context: >>> http://www.nabble.com/PipelineEngine.executePipeline%28%29-timeout-tp19606674p19606674.html >>> Sent from the ObjectWeb OPS - Users mailing list archive at >>> Nabble.com. >>> >>> >>> -- >>> You receive this message as a subscriber of the [hidden email] >>> mailing list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> -- >> Orbeon Forms - Web Forms for the Enterprise Done the Right Way >> http://www.orbeon.com/ >> >> >> >> -- >> You receive this message as a subscriber of the [hidden email] >> mailing >> list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> > > -- > View this message in context: http://www.nabble.com/PipelineEngine.executePipeline%28%29-timeout-tp19606674p19617590.html > Sent from the ObjectWeb OPS - Users mailing list archive at > Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |