Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Temporary files not automatically deleted

79 views
Skip to first unread message

Keith

unread,
Nov 2, 2023, 1:47:16 AM11/2/23
to
DSAP shows a large amount of temp files on a disk. On closer investigation I found out that there are lots of temp files but are not opened by any processes. This should not happened as closing a temp file should have it automatically deleted. Attempt to manually purge them returns an error 12. Has anyone encountered this and how to fix this?

JShepherd

unread,
Nov 2, 2023, 9:59:24 AM11/2/23
to
In article <e5b77d43-34c1-4cd5...@googlegroups.com>,
kga...@gmail.com says...
>
>DSAP shows a large amount of temp files on a disk. On closer investigation =
>I found out that there are lots of temp files but are not opened by any pro=
>cesses. This should not happened as closing a temp file should have it auto=
>matically deleted. Attempt to manually purge them returns an error 12. Has =
>anyone encountered this and how to fix this?



A bigger problem, on systems with a lot of SQL/MX create/drop happening,
is the mass of .ddl files in /usr/tandem/sqlmx/ddl .

A single QA test cycle on MX here can create/drop a thousand MX tables.

The first time /usr became full it took a while to find the culprit,
which was was over 300,000 .ddl files in /usr/tandem/sqlmx/ddl

Now, we have a program we run occasionally to clean them out

From this morning on one system
mxscan has deleted 14068 .ddl files

Randall

unread,
Nov 2, 2023, 6:03:56 PM11/2/23
to
You might want to look at how swap space is configured on your system. Some of these files (particularly the ones you cannot purge) might be associated with those.

Keith

unread,
Nov 5, 2023, 7:59:15 PM11/5/23
to
Raised this with HPE. The issue was that a permanent file with CLEARONPURGE was purged. DP2 converts this to a temp file but did not purge it. It's a DP2 issue unfortunately.
0 new messages