grouper-users - Re: [grouper-users] temp space keeps filling up
Subject: Grouper Users - Open Discussion List
List archive
- From: Ben Beecher <>
- To: James Babb <>
- Cc: "" <>
- Subject: Re: [grouper-users] temp space keeps filling up
- Date: Mon, 12 Feb 2018 10:45:42 -0500
- Ironport-phdr: 9a23:HUSjlxfWvJ3hFza7DS3SyeiulGMj4u6mDksu8pMizoh2WeGdxcS8YB7h7PlgxGXEQZ/co6odzbaO6ua4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahfL9+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v9LlgRgP2hygbNj456GDXhdJ2jKJHuxKquhhzz5fJbI2JKPZye6XQds4YS2VcRMZcTy5OAo28YYUBDOQPIPhWoJXmqlQUsRezHxOhCP/zxjJKgHL9wK000/4mEQHDxAEtAswBsHLJp9joKqgdT/y6zKnWwjXZcvhb3izy55bWfR89ofGDQ6hwfNHNxkkoEwPFk1CQppfkPzyPzOgCrXWU7/d5WO+plmUppQZxoj21ycctjInEnowUylHH9SV42IY6O8C3SE9hbtK+F5tQrS6aO5N5QsMjX2FouDs6xaYctZGneygKzZIqzAPcZfyfa4WE/wzvWeWLLTp4gH9pYrCyiwio/UWuzuDwTte43EpOoyZfkdTBtmoB2wLN5sWJUPdx40Os1DWJ2gvO8O9LO1o0mrDeK5M5wr4/iJ4TsUPbEy/xhUX2kLeWdl8j+ue17uToeLTmppuAO4NpkA3xLrghltajDuQ/NggOQm2b9v+91LL550H2XqhFjuAunqnYtpDVO9gbq7akDwNL0Ysv8RayAjO83Nkag3ULNlxIdRafg4jsIV7OIfT4Dfmlg1SrlTdm3/DGMab/DpjCNXXMjLDhfbJg605Z0wUzzMpQ64hKBb4cPfL/QlXxu8DADh8lLwy0xP7qCNpn1oMZRGKPGrGWMLnLvV+V/eIgPfOMZJQOtTb5Kvgl/OLujWQnlVMHfKmp24cXZ26iHvRgPUqZfWTgjs0fHmgXowptBNDt3X+LVDNIL1y7Vah0sjMyDY+9S43KTIqFn72a12G2EoAANU5cDVXZO3ruP6+JVvwMZTjadsVsnzcEWKKJQIglyBSktQa8xrZ6eLmHshYEvI7ugYAmr9bYkgs/oHktV5yQ
I saw the same problem after the upgrade to Grouper 2.3. Not sure what the difference was in caching between 2.2.2 and 2.3 that made enough of a difference. I ended up setting an additional jvm argument on start as a quick fix:
-Djava.io.tmpdir=/var/grouper/cache
I believe that java property is suppose to be the default used for anything temp directory related in grouper, but you can also change it in grouper.properties:
https://github.com/Internet2/
grouper/blob/master/grouper/ conf/grouper.base.properties# L60
Be sure to change that property for WS/UI too since more than just the daemon will make those cache folders/files. (Our tomcat install was already dumping temporary files elsewhere so we did not have that problem)
--
James Babb
Identity Management Lead
Division of Information Technology
University of Wisconsin-Madison
From: <> on behalf of Ben Beecher <>
Date: Friday, February 9, 2018 at 3:03 PM
To: "" <>
Subject: Re: [grouper-users] temp space keeps filling up
I tried setting the cache location in grouper.cache.properties (Thanks, Carey) but that didn't have the desired effect
grouper.cache.diskStorePath=/
var/grouper/cache
I tried setting the TMPDIR environment variable before running the grouper shell (Thanks, Carl) but the cache files are still being created in /tmp
$ du -sh /tmp/grouper_ehcache_auto_TNQ*
30M /tmp/grouper_ehcache_auto_
TNQK1FDP 386M /tmp/grouper_ehcache_auto_
TNQMVVEG
Any other thoughts? I'm sure some of you Grouper admins have seen this problem. I would really like to find a solution.
Ben
On Thu, Feb 8, 2018 at 1:54 PM, Waldbieser, Carl <> wrote:
On *NIX systems, you can usually set an environment variable for a given process to tell it to use a specific folder:
https://en.wikipedia.org/wiki/TMPDIR
Thanks,
Carl Waldbieser
ITS Identity Management
Lafayette College
----- Original Message -----
From: "Ben Beecher" <>
To: "grouper-users" <>
Sent: Thursday, February 8, 2018 12:57:33 PM
Subject: [grouper-users] temp space keeps filling upOur /tmp partition fills up on the Grouper server when there is a lot of
activity. When the temp space fills up everything stops so I have to shut
down the loader and all grouper shell sessions and remove the cache files
and then start everything up again, then the cache files grow again to 1.5
GB. Our /tmp filesystem has 2 GB and it can't easily be expanded. Can we
configure Grouper to put the cache files in some other location? Is there
any way to limit the space used by the cache files?
$ du -sh /tmp/grouper_ehcache*
4.0K /tmp/grouper_ehcache_auto_TNO0DGXH
1.5G /tmp/grouper_ehcache_auto_TNO0DGXI
Ben
- [grouper-users] temp space keeps filling up, Ben Beecher, 02/08/2018
- Re: [grouper-users] temp space keeps filling up, Waldbieser, Carl, 02/08/2018
- Re: [grouper-users] temp space keeps filling up, Ben Beecher, 02/09/2018
- Re: [grouper-users] temp space keeps filling up, James Babb, 02/11/2018
- Re: [grouper-users] temp space keeps filling up, Ben Beecher, 02/12/2018
- Re: [grouper-users] temp space keeps filling up, James Babb, 02/11/2018
- Re: [grouper-users] temp space keeps filling up, Ben Beecher, 02/09/2018
- Re: [grouper-users] temp space keeps filling up, Waldbieser, Carl, 02/08/2018
Archive powered by MHonArc 2.6.19.