grouper-users - Re: [grouper-users] cache does not respond for 20 seconds
Subject: Grouper Users - Open Discussion List
List archive
- From: Jim Fox <>
- To: "Hyzer, Chris" <>
- Cc: "" <>
- Subject: Re: [grouper-users] cache does not respond for 20 seconds
- Date: Wed, 29 Aug 2018 11:46:18 -0700 (PDT)
- Ironport-phdr: 9a23:/sjOqhYcUfCB0QzsY4tF6UL/LSx+4OfEezUN459isYplN5qZoMu9bnLW6fgltlLVR4KTs6sC17KJ9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCa/bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjA38G/ZlNF+g6BYrhKvqRNwzJLbbZqQNPZiZK7QZ88WSHBFU8tXSidPApm8b4wKD+cZOehYroz9rEYOoxu5CginGeTiyjFPhn75xqA73f4uERrG3AwhGdIOv2jUrNLzNKsIT++60bTIwCzFYvhL1zn9743IfQogofGKRb9xf9DeyVIvFwPEiFWQppDlPzST1ugXrWeU8vdgWOSygGAkswF8uiWjy8gwhoXTm44YxU7I+T9nzIs7KtC0UlN3bNykHZdIqi2WKYh7Ttk8T210uys20KEKtYS6cSUM1Z8p3QTQa+adfIiN+h/jVPieITN/hH99fbK+iBGy8VW8yuHiVsS4yk1KojBYktjCrHwCyQHc6tWfRvt8+EeuxyqP2hjO5uxLPUw4j7fXJpE/zrIqiJYev0vOEjXrlEj0jKKabkAk9fKp6+TjbLXmvJicN4pshwHwNaQvldeyAOoiPQgVX2ib+OK81LL//U3+RrVGlOM5nbTEsJzCP8QUura5AxNJ0oYk8xu/AC2m0NMFnXkfMl1FYguLj5XyO17QOvD4Fuyyg1CtkDdw2/DGJaPtDo/MLnjFjLfuY6x960hCxwov09xT/YxbBawcIKG7Zkik/vzJHBIjd0Sfw/zmE581goYVWXOdD7WxMbjZ90KQ6+QpZeSAedlGliz6Lq0H5vumo3gp0QsTermBwpIMaHG+EehhJQOUbWe60YRJKnsDogdrFL+is1aFSzMGP3s=
Have you analyzed your tables and rebuilt your indexes? Do you do this
automatically periodically? I think its not the cache that is taking a
long time, its the query to the group subject source
I don't think so. Database is analyzed regularly.
This is the sequence that seems to cause the trouble:
1) saveGroup
2) set some atttributes on the group
3) SourceFinder.findByIdentifier(some_id) [ in this case it is a dns name
(gws.cac.washington.edu)
Log for that shows: ( ... = SourcesXmlResolver$LogLabelCallable.call(174) )
2018-08-27 13:30:56,662: ... findByIdentifier on source: uwwi,
'gws.cac.washington.edu', time in millis: 1
2018-08-27 13:30:56,662: ... findByIdentifier on source: g:isa,
'gws.cac.washington.edu', time in millis: 0
2018-08-27 13:30:56,673: ... findByIdentifier on source: g:gsa,
'gws.cac.washington.edu', time in millis: 10
2018-08-27 13:30:56,674: ... findByIdentifier on source: uwpds,
'gws.cac.washington.edu', time in millis: 1
2018-08-27 13:31:16,612: ... findByIdentifier on source: grouperEntities,
'gws.cac.washington.edu', time in millis: 19937
2018-08-27 13:31:16,613: ... findByIdentifier on source: eppn,
'gws.cac.washington.edu', time in millis: 1
2018-08-27 13:31:16,616: ... findByIdentifier on source: grouperExternal,
'gws.cac.washington.edu', time in millis: 2
2018-08-27 13:31:16,618: ... findByIdentifier on source: dns,
'gws.cac.washington.edu', time in millis: 1
2018-08-27 13:31:16,618: ... SourcesXmlResolver: Using threads: false,
time in millis: 19956
The delay is always at the grouperEntities source. And it seems to happen
only after a saveGroup. And only on the first findByIdentifier after the
saveGroup. After that it works fine.
I can avoid the delay by doing findByIdentifierAndSource, specifying sources
where I expect to find something. Especially avoiding grouperEntities.
Jim
- [grouper-users] cache does not respond for 20 seconds, Jim Fox, 08/27/2018
- Re: [grouper-users] cache does not respond for 20 seconds, Hyzer, Chris, 08/29/2018
- Re: [grouper-users] cache does not respond for 20 seconds, Jim Fox, 08/29/2018
- Re: [grouper-users] cache does not respond for 20 seconds, Hyzer, Chris, 08/29/2018
Archive powered by MHonArc 2.6.19.