drools engine freezes when idle

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

drools engine freezes when idle

arcee123
Greetings,

I am a new drools developer.  This is my first installation.
I have followed the instructions for installation, and was able to bring up Govnor and my my repositories.

It appears to work great.

The problem is that if the service sits idle, meaning no requests of the Govnor repository, the resources on the machine tie up, and the service freezes.

I am attempting to find the culprit, but I was hoping that someone here might have seen this before, and is able to help me on the start point to figuring out what's wrong.

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] drools engine freezes when idle

salaboy
Can you please elaborate a little bit about what is going one? 
What do you mean with freeze? the web app is dead? does it shows something in the logs?


On Mon, Aug 26, 2013 at 2:18 PM, arcee123 <[hidden email]> wrote:
Greetings,

I am a new drools developer.  This is my first installation.
I have followed the instructions for installation, and was able to bring up
Govnor and my my repositories.

It appears to work great.

The problem is that if the service sits idle, meaning no requests of the
Govnor repository, the resources on the machine tie up, and the service
freezes.

I am attempting to find the culprit, but I was hoping that someone here
might have seen this before, and is able to help me on the start point to
figuring out what's wrong.

Thank you.



--
View this message in context: http://drools.46999.n3.nabble.com/drools-engine-freezes-when-idle-tp4025677.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users



--
 - MyJourney @ http://salaboy.com
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -

_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] drools engine freezes when idle

arcee123
HI, thank you very much.

In order, we perform a series of processes
1. A webservice receives an input xml document.
2. The webservice places the document in memory.
3. The webservice engages drools
4. drools loads the rules
5. drools loads reference data
6. drools executes the rules against the incoming document using the reference data as a lookup
7. drools derives the output
8. the webservice returns the output to the calling source

Normally this works great.
but, we found out that if drools is not being used for more than several hours,
it will do one of two things:
1. hang for 10-15 minutes during steps 4 and 5 and execute on it's own, in spite that teh webservice has timed out.
2. lockout in a java exception.

Once this happens, the following webservice calls work normally.

What can I do to find out what's happening and how to repair it?

Thanks.


On Mon, Aug 26, 2013 at 12:29 PM, Mauricio Salatino <[hidden email]> wrote:
Can you please elaborate a little bit about what is going one? 
What do you mean with freeze? the web app is dead? does it shows something in the logs?


On Mon, Aug 26, 2013 at 2:18 PM, arcee123 <[hidden email]> wrote:
Greetings,

I am a new drools developer.  This is my first installation.
I have followed the instructions for installation, and was able to bring up
Govnor and my my repositories.

It appears to work great.

The problem is that if the service sits idle, meaning no requests of the
Govnor repository, the resources on the machine tie up, and the service
freezes.

I am attempting to find the culprit, but I was hoping that someone here
might have seen this before, and is able to help me on the start point to
figuring out what's wrong.

Thank you.



--
View this message in context: http://drools.46999.n3.nabble.com/drools-engine-freezes-when-idle-tp4025677.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users



--
 - MyJourney @ http://salaboy.com
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -

_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users



--
Thanks
Evan

_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] drools engine freezes when idle

arcee123
In reply to this post by salaboy
HI, thank you very much.

In order, we perform a series of processes
1. A webservice receives an input xml document.
2. The webservice places the document in memory.
3. The webservice engages drools
4. drools loads the rules
5. drools loads reference data
6. drools executes the rules against the incoming document using the reference data as a lookup
7. drools derives the output
8. the webservice returns the output to the calling source

Normally this works great.
but, we found out that if drools is not being used for more than several hours,
it will do one of two things:
1. hang for 10-15 minutes during steps 4 and 5 and execute on it's own, in spite that teh webservice has timed out.
2. lockout in a java exception.

Once this happens, the following webservice calls work normally.

What can I do to find out what's happening and how to repair it?

Thanks.