Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange Temp files being generated in Map dir.

Status
Not open for further replies.

clk430

Programmer
Sep 21, 2005
235
US


mpi30A.tmp
mpi8768.tmp

etc.

Some of these grow to be 40mb big. When I open them, they are just garbage charachters. I'm leary of deleting them. Anybody know how to track the source down? Anybody else get these?
 
Aren't these the files generated by using the StreamMaxMemLimit setting in the .ini file. I have found that they don't always get cleaned up although I haven't tried to correlate that with any map failures.
 
What is the path used with StreamMaxMemLimit in your .ini file?
What is the size setting?



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Manchester and Boca - StreamMaxMemLimit is in the map directory where these were found. The size setting is at 15.

I've searched launcher.txt and there is no file name remotely close to these. I'm itching to hit the delete button if ManchesterTim is right.
 
You need to look in the mercator.ini file.

;When data passed to/from an adapter exceeds this size (in Mbytes), data will be
;paged to a temporary file to limit the memory consumption of the process

;StreamMaxMemLimit=500

;When data passed to/from an adapter exceeds the size specified by
;StreamMaxMemLimit, a temporary file will be created in the following directory
;for paged data. Ensure this path points to a directory with sufficient filespace.

;StreamMaxMemDirectory=/tmp
 
janhes,

Here is my .ini

StreamMaxMemLimit=15

StreamMaxMemDirectory=E:\EC\Appint

The problem is, the temp files are not being deleted, rather just apending or just sitting there.
 
Do you need to use these settings? Can you just comment them out?
Is e:\ec\Appint your map folder? I don't see any problem in deleting the tmp files.
Perhaps you need a map to tidy them up.
 
I think I need to, because StreamMaxMemLimit is for ALL maps, so it can use a lot of RAM (we have 8-10K transactions a day, ranging from a few kb to 12GB file size). And yes, E:\EC\Appint is the map folder.

Maybe you're right, I could have a map in there that cleans up temp files when the data/time stamp of that file is complete. But I would think Mercator does it on it's own...
[ponder]
 
Try using a different directory, with no other files in it: e:\ec\stream\
This feature is for every memory type adapter (e-mail, FTP, SAP, HTTP, Messaging, etc). A file will be created when the data for any adapter call is greater than the max setting.
It should be cleaned up. Check the DS TX install directory for any .gpf files. We have seen "silent gpfs", basically the map has completed sucessfully, the data has been committed, but there was a problem during final cleanup. Since they are .tmp files, you can't trigger a map using a *.tmp wildcard. Since this is Windows, you probably rebot on a regular basis, so have a batch file del e:\ec\stream\*.tmp as part of your shut down.



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top