Pentaho

 View Only

 PDI jobs using kitchen.sh karaf cache time increased infinety

  • Pentaho
  • Pentaho
  • Pentaho Data Integration PDI
Ben Alsalk's profile image
Ben Alsalk posted 08-25-2021 06:37

PDI jobs executed via kitchen.sh, on each execution the time waiting for karaf cache increased. 

After certain days the time it delays grows up to e.g. 15min or more. Can this be somehow configured to not use karaf or to clean the cache after this job is executed?

 

In the log snippet you can see it is almost 17min waiting time. The only way to get this reset is to reboot the server again. I wonder if there is no easier solution. I have tried every using since 8.0, 8.1, 9.0 9.1 and now 9.2

 

[2021-08-21 07:33:26,335] {subprocess.py:79} INFO - 05:33:26,335 INFO [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled

[2021-08-21 07:50:52,468] {subprocess.py:79} INFO - 05:50:52,467 INFO [KarafInstance]

[2021-08-21 07:50:52,468] {subprocess.py:79} INFO - *******************************************************************************

[2021-08-21 07:50:52,468] {subprocess.py:79} INFO - *** Karaf Instance Number: 9 at /opt/data-integration/system/karaf/caches/k ***

[2021-08-21 07:50:52,468] {subprocess.py:79} INFO - ***  itchen/data-1                             ***

[2021-08-21 07:50:52,468] {subprocess.py:79} INFO - *** Karaf Port:9810                             ***

[2021-08-21 07:50:52,468] {subprocess.py:79} INFO - *** OSGI Service Port:10059                         ***

[2021-08-21 07:50:52,468] {subprocess.py:79} INFO - 

qingan li's profile image
qingan li
modify it to this in the spoon.sh , PENTAHO_DI_JAVA_OPTIONS="-Xms1024m -Xmx2048m -XX:MaxPermSize=256m -Dpentaho.karaf.root.transient=true"
Carlos Lopez's profile image
Carlos Lopez
Ben
Are you running only one job at the time or running multiple jobs concurrently? Can you give me an idea how are you running these to do some testing?