[rules-users] Restrict size/resource usage of drools session

Wolfgang Laun wolfgang.laun at gmail.com
Thu May 8 10:52:21 EDT 2014


There are options to restrict the size of the JVM memory allocation pool.

Loops can go over two or more rules, so take care. Catching such loops
is possible, up to a limit.

-W

On 08/05/2014, kurrent93 <kurrent93 at gmail.com> wrote:
> Hi
>
> We have an application where users write their own rules via a UI, and
> these
> are then translated into drl, and run in a dedicated drools session. Each
> user can have one or more sessions.
>
> However, there are times when something goes wrong - say a rule starts
> looping - and it consumes all the resources - the server is running at 100%
> cpu, and it then effects all users.
>
> I realize we can optimize the the generated rules to prevent such issues,
> and we are working on this - however am interested to know if there are any
> ways - such as somehow sandboxing / restricting the resources that a drools
> session can use, so that should a rule cause problems, it will not effect
> the other running drools sessions.
>
> Thanks for any advice on this problem.
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Restrict-size-resource-usage-of-drools-session-tp4029486.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list