grouper-users - Re: [grouper-users] exhausting hibernate JDBC connection pool
Subject: Grouper Users - Open Discussion List
List archive
- From: "Michael R. Gettes" <>
- To: Scott Koranda <>
- Cc: grouper-users <>
- Subject: Re: [grouper-users] exhausting hibernate JDBC connection pool
- Date: Tue, 1 Nov 2016 19:35:26 -0400
- Ironport-phdr: 9a23:SwtRbBV+cta7RgrTnPFV/wG4g5nV8LGtZVwlr6E/grcLSJyIuqrYZhKOt8tkgFKBZ4jH8fUM07OQ6PG6Hzxaqs/a+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLshrr0q8eYOl4ArQH+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6LoJvvRNWqTifqk+UacQTHF/azh0t4XXskz4RgyT+jM/VX8flBZBS1ze7xbgV5H9uwP1s+N83G+ROsigHp4uXjH3pYJqQx/hhSNPDXhx32zLlsFrxuoPpQiu/ERX25XJJoyZKawtLevmYdoGSD8ZDY5qXCtbD9b5NtNXAg==
Scott, while I can’t answer the why questions you ask I can share my recipe
after spending some time with Shilen at TechX and pushed me to really figure
this out. Here is what we use to manage about 64K course groups for last,
current and next semester. I run 2 loader jobs every morning and processing
takes about 1 hour on a 2 CPU VM with 12G (we run loader jobs on 2 instances
of Grouper against an Oracle DB on SSD disk). I hope this helps.
hibernate.c3p0.max_size = 40
hibernate.c3p0.min_size = 5
hibernate.c3p0.idle_test_period = 300
hibernate.c3p0.timeout = 1800
hibernate.c3p0.max_statements = 50
hibernate.c3p0.acquireIncrement = 1
hibernate.c3p0.checkoutTimeout=60000
/mrg
> On Nov 1, 2016, at 17:33, Scott Koranda
> <>
> wrote:
>
> Hi,
>
> I am helping manage a large Grouper deployment that manages a
> number of groups for a campus, including groups that represent
> course offerings ("course groups").
>
> November 1 marks a "transition" from one set of course groups
> to another. The result is a large amount of work for 3 loader
> jobs that manage the course groups.
>
> In the past earlier versions of Grouper, all running on the
> same VM (no changes in the available resources have happened),
> have ridden out this transition without issue.
>
> Today, however, using Grouper version 2.3 was different. We
> saw that the loader consumed all of the available JDBC
> connections. The default was set in
> grouper.hibernate.base.properties:
>
> hibernate.c3p0.max_size = 16
>
> This caused a number of loader jobs, including maintenance
> jobs like CHANGE_LOG_changeLogTempToChangeLog, to be starved.
>
> Stopping the loader and changing to
>
> hibernate.c3p0.max_size = 32
>
> made the issue go away.
>
> My question is what might be different in Grouper version 2.3
> that caused all of the JDBC connections to be consumed where
> previously they were not?
>
> I am wondering if code has changed that causes the Grouper
> loader to be more "aggressive" in how it processes "a lot of
> work"?
>
> I also note that we did not see this issue on the dev system.
> That VM, however, has less CPU cores and memory available to
> it, so I am wondering if that constrained the loader in some
> way and prevented it from scaling up and exhausting the JDBC
> connections?
>
> I appreciate any input the Grouper team has.
>
> Thanks,
>
> Scott K
- [grouper-users] exhausting hibernate JDBC connection pool, Scott Koranda, 11/01/2016
- Re: [grouper-users] exhausting hibernate JDBC connection pool, Michael R. Gettes, 11/01/2016
- RE: [grouper-users] exhausting hibernate JDBC connection pool, Hyzer, Chris, 11/02/2016
- Re: [grouper-users] exhausting hibernate JDBC connection pool, Michael R Gettes, 11/02/2016
- Re: [grouper-users] exhausting hibernate JDBC connection pool, Scott Koranda, 11/02/2016
- RE: [grouper-users] exhausting hibernate JDBC connection pool, Hyzer, Chris, 11/02/2016
- RE: [grouper-users] exhausting hibernate JDBC connection pool, Hyzer, Chris, 11/02/2016
- Re: [grouper-users] exhausting hibernate JDBC connection pool, Michael R Gettes, 11/02/2016
- RE: [grouper-users] exhausting hibernate JDBC connection pool, Hyzer, Chris, 11/02/2016
- Re: [grouper-users] exhausting hibernate JDBC connection pool, Michael R Gettes, 11/02/2016
- Re: [grouper-users] exhausting hibernate JDBC connection pool, Scott Koranda, 11/02/2016
- Re: [grouper-users] exhausting hibernate JDBC connection pool, Michael R Gettes, 11/02/2016
- RE: [grouper-users] exhausting hibernate JDBC connection pool, Hyzer, Chris, 11/02/2016
- Re: [grouper-users] exhausting hibernate JDBC connection pool, Michael R. Gettes, 11/01/2016
Archive powered by MHonArc 2.6.19.