Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] temp space keeps filling up

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] temp space keeps filling up


Chronological Thread 
  • From: James Babb <>
  • To: Ben Beecher <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] temp space keeps filling up
  • Date: Sun, 11 Feb 2018 03:53:52 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:F4S6nBEkI6Jfm/CLDFmeip1GYnF86YWxBRYc798ds5kLTJ7yp8ywAkXT6L1XgUPTWs2DsrQY07OQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmCexbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95RWSJfH428c4UBAekPPelaronyu1QBoACkCgWwAePi0CNEimP00KA8zu8vERvG3AslH98WtHrbttD1O7kJUeuo0aTH1y7MYOhL0jr66ojHaBUhru+XXb5qasXe01IgGBjeg1SeqIzlJC+a2v4TvGeG8uptTOSigHMppQF2pzig3MYsio/Ri4Mby1DE9iR5wJ4rKtKlSU50e8SoEJxKtyGVL4d2TcIiQ31ouCYn0bIKo4K0fC8PyJkh2hXRaOSHfpCV7h/sW+udOzN1iGx/dL6igxu/81KsxvDzW8WpyFpHrCpInsPRunwRyxDf8MuKR/ln8ku/xTqC1Bjf5v9ZLU01j6bWJYAtzqQtmpcQrUjPBDL6lUXwgaSLbEsr4PKo5P7iYrj+pp+TKYt0igbmP6Q1n8y/Hfw4PRITX2iH+eSwyafv/EP4QLVRkvI2l7PWsJHeJcgBqK+5AhRV3Zo55xmhEjimzcwUnXgBLF1bZBKKl5XlNl7BLfziCfqznU6gnCpvyv3EJLHtH5rAImXbnLfkZ7l96kpcyAQpzdBY4pJZErMBL+j2WkDvr9zUFAQ2PBavzOn8E9h82IIeWXmTDaODLqzdrEKI6vo1I+aQfI8VpCr9K/896v7hl385nkIdfbG30psNcXy4A+9mLFuDYXr3mdoBFWYKvhEiTOzxllGOSz9TZ3CuX60i/DE7DpypDZvdSoy3nrOOwTq7TdVqYTVsB1bEO3rlfIWJQb9YYi+fKc9siBQPUry8ToUg3FejuBKsmJR9Ke+B2CQduImr/tF/7aWHlxg3+CcyBc2X2UmSTnp/2G4EWmllj+hEvUVhxwLbguBDiPtCGIkWvqsRXw==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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 up

Our /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

 




Archive powered by MHonArc 2.6.19.

Top of Page