[OPENIG-4775] Growing /tmp folder full of empty folders at each startup of IG Created: 10/Jul/20  Updated: 26/Aug/20  Resolved: 20/Jul/20

Status: Closed
Project: Identity Gateway
Component/s: Core
Affects Version/s: 6.5.0, 6.5.1, 6.5.2, 7.0.0, 7.0.0-micsvc-1.0.3
Fix Version/s: 6.5.3, 7.0.0, 7.0.0-micsvc-1.0.3

Type: Bug Priority: Trivial
Reporter: Violette Roche Montane Assignee: Mark de Reeper
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


Issue Links:
is related to OPENIG-4760 Cannot mount local instance directory... Closed
Story Points: 2


The tmp folder in IG instance dir is growing at each startup, fulfill of a lot of empty folders named groovy-script-cache-<number>. This is not really a bug as the size won't have any impact but could(I know, sounds impossible but?) impact folder size limit in very specific deployments.
The system temporary folder is usually deleted after reboot but this require to modify the tmp folder in the admin.json (https://ea.forgerock.com/docs/ig/reference/index.html#AdminHttpApplication)

  • Open question is, should it be the responsability of IG to delete those temporary folder when closing it?

Comment by Mark de Reeper [ 12/Jul/20 ]

I had started to see this recently on a frequently restarted config used when testing SAML changes, seems like a good thing to resolve as it is likely something that end users will notice too.

Comment by Mark de Reeper [ 20/Jul/20 ]

Just to note that this only impacts scriptable filters that use in-line scripts, it is part of the process of transferring the in-line script source to a file before it can be compiled by the groovy subsystem.

Comment by Jean-Charles Deville [ 19/Aug/20 ]

Closing issue after Release 7.0.0

Generated at Mon Mar 08 12:53:45 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.