Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Re: PSPNG and tier packaging

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Re: PSPNG and tier packaging


Chronological Thread 
  • From: "Gettes, Michael" <>
  • To: "Black, Carey M." <>
  • Cc: "" <>
  • Subject: [grouper-users] Re: PSPNG and tier packaging
  • Date: Wed, 23 May 2018 13:40:07 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:Ec5FdxH0OxWJ5D53RoOLj51GYnF86YWxBRYc798ds5kLTJ7zpcuwAkXT6L1XgUPTWs2DsrQY07GQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDSwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95RWSJfH428c4UBAekPPelaqIf9pkcBohSlCAa2GO/vzyVFhn/q0aA41ekqDAHI3BYnH9ILqHnYotT7O7kOUeCp0qbI1i3PZO5R1zf89IfIcgouru+IXb5+bMHczkYvGB3ZjlWMt4PlJCiY1vkDs2if9eZvS/+gi3M+pgx3vzOhxd8sh5HUio4LyV3I7zt1zJg3KNGiSkN2bsSoHIVQuiyVL4d6X98uT3tmtSs70LEKpJq2cSsQxJg6yRPTc/KHfJaL7x7/UeucJDR1iXZ5dL2jghu97VOvxff8W8SxzlpHrDFKnsfJu38QzBPf9MqKR/1g9Um7wzmPzRrc6uRcLEA0i6XbL5khz6YrlpoWrUTDBjX6mFj4jK+SbEkr5PWn6/n/brXnoJ+TKZN0hxnjPqgwmcGzG/o0PhYMUmSB++mx26fv8VP5TbhFlvE2l7PWsJHeJcQVvK65BApV354s6xmhEzemzMoXnWIcIVJYdhKHi5LlNE/TL/DlFfu/mUijkC93x/DaOb3sGprNLmLEkLf8ZbZy9VRcxBMuzdBE+Z1UEKoBLen3Wk/wr9zYEgQ5PxKuz+bmDtV9yp0RWXiJAqCHLKPer0WE6fwyLOmRN8cpv2O3Afws7P2qxVQwg1IMNYzvl9NDYnSxFfcgeh/CSX33n5EMHXpc7SQkS+m/wnKPTSJefDL6eqM35jg2DMjuWYjOWpygm5Sc0iP9E5FLMDMVQmuQGGvlIt3XE8wHbzifd4o4ymQJ

daemon_1    | /opt/grouper/grouper.apiBinary/bin/gsh: line 135:   114 Killed                  ${JAVA} -Xms$MEM_START -Xmx$MEM_MAX -Dgrouper.home="$GROUPER_HOME/" -Dfile.encoding=utf-8 $GSH_JVMARGS -classpath "${GROUPER_CP}" $GSH $*

From what I can tell, it is not running out of memory.  It was one of the things I was looking at… 

/mrg

On May 23, 2018, at 9:36 AM, Black, Carey M. <> wrote:

Michael,

Just a guess based on:  " By “killed” I mean the container generates an error message indicating “killed” and the entire docker container process disappears "

Maybe you are seeing a message like this? (not for mysqld, but for some docker process? Or the process in the container?)
"kernel: Killed process 9163, UID 27, (mysqld) total-vm:2457368kB, anon-rss:816780kB, file-rss:4kB"


It sounds like the OS is forcing the process( whole container?) down due to memory constraints/other resources. ( REF: "OOM Killer" )
Can you get the full error message? ( If my guess is correct you can find it in the OS that is hosting the container(s). )
/var/log/messages   ???

# or go fishing...
grep oom /var/log/*
grep total_vm /var/log/*


My general guess is that you need to give the hosting OS more ram.
Given that PSPNG, Loader, UI, (WS?), DB are all sharing that same RAM pool.... you might need to just not run some of that at the same time on your laptop. :^/


I have found that my loader can eat 4G of RAM for "large group jobs" ( 100k+ ). (I was actually seeing it die with "Heap size" errors until I expanded the ram for the process.) However, it may also be true that the RAM growth is due to not one job, but several "large" jobs running at the same time too.

HTH.

--
Carey Matthew


-----Original Message-----
From: <> On Behalf Of Gettes, Michael
Sent: Wednesday, May 23, 2018 9:05 AM
To:
Subject: [grouper-users] PSPNG and tier packaging

Good morning all,

Lately, I have been doing a lot of testing using the TIER Grouper package.  Part of the package includes a 389 directory server (great choice!) and I have configured the environment to publish groups to 389 using PSPNG.  I have getting more and more intense with the work as time goes on to be able to effectively demo Grouper on my laptop.  Over time, the “daemon” container is killed.  I haven’t been able to figure out what is going on or why.  I decided to remove the “provision_to” attributes from the folder hierarchy I was putting into 389 and noticed the daemon container wasn’t being killed any longer.  The daemon container essentially runs gsh -loader and that is all.  Turning PSPNG back on again, and the daemon container gets killed again.  By “killed” I mean the container generates an error message indicating “killed” and the entire docker container process disappears - the gsh -loader is no longer running.

I hope this helps point in the direction of a problem.  I would really like to be able to reliably run PSPNG.  I am including my PSPNG config below.  When PSPNG is running, it works great with this config.  If anyone is curious, givenName is being used because eduPerson is not yet part of the 389 config within the TIER Grouper package.

/mrg





Archive powered by MHonArc 2.6.19.

Top of Page