PDA

View Full Version : Is EQ2 creating all these temp files ("ssl") it doesn't clean up?


WastedChances
06-02-2009, 10:52 PM
<p>I noticed after playing EQ2 today that there was a folder in my <documents and settings>temp called"ssl" and inside were a bunch of random files with a ".0" or ".1" extension.For example: 0e82f83a.0, 2edf7016.1</p><p>Looking at them in a Hex editor, they appear to be SSL certificates (the header says "BEGIN CERTIFICATE").I'm curious why these aren't cleaned up after exiting EQ2. If they're meant to be kept, why not put them in the EQ2 folder rather than "temp".Note: I haven't run any programs today except EQ2 and I did use the in-game browser. Is this part ofthe browser's security? Also manually deleting them doesn't seem to hurt, they get recreated.</p>

TSR-DanielH
06-08-2009, 10:17 PM
<p>I checked my computer and I didn't see those files.  If they are sticking around longer than they are supposed to then it might be a file permissions problem.  Windows might be protecting those files in some way and preventing their deletion.  Are you running the game as an administrator?  Running the game as an admin should allow the game to delete those files.</p>

WastedChances
06-23-2009, 06:08 PM
<p><cite>TSR-DanielH wrote:</cite></p><blockquote><p>I checked my computer and I didn't see those files.  If they are sticking around longer than they are supposed to then it might be a file permissions problem.  Windows might be protecting those files in some way and preventing their deletion.  Are you running the game as an administrator?  Running the game as an admin should allow the game to delete those files.</p></blockquote><p>Greetings,</p><p>Thanks for the reply however I did try running the game as an admin but the "ssl" folder remains. For the record, I'mrunning XP Pro SP3. Some additional information follows.</p><p>I ran Process Monitor to see what was creating this folder / files and it is in fact EverQuest2.exe. According to theseentries, both the EQ executable and "System" access these files (excerpt from an XML export from Process Monitor):</p><p><Process_Name>EverQuest2.exe</Process_Name><Operation>CreateFile</Operation><Path>C:Documents and Settings<user>Local SettingsTempssl</Path><Result>SUCCESS</Result></p><p><Process_Name>EverQuest2.exe</Process_Name><Operation>FASTIO_CHECK_IF_POSSIBLE</Operation><Path>C:Documents and Settings<user>Local SettingsTempsslefe53173.0</Path><Result>SUCCESS</Result></p><p>I won't post the entire list but it also contains entries for "System" as the process name and those entries areidentical to the EverQuest2.exe process entries.I'm glad I narrowed it down that it is in fact EQ making this folder and not some rogue application however I dothink that there is an issue with them not being deleted.</p><p>Notes:The folderfiles are created in "Documents and Settings<user>Local SettingsTemp" and I checked NTFS access rightsto that folder and <user>, Administrators and System all have "Full Control".There are several other "operation" types listed in the log such as "WRITE_FILE", "CLOSE_FILE" as well as somesynchronization calls by "System". All operations result in "SUCCESS" however there is no call to "DeleteFile".</p>

Skywarrior
06-24-2009, 12:53 PM
<p>I have a folder like you describe as well, although I'm not sure that it is really an issue.  My total folder size is only bit shy of 500kb on disk.  It's not like it is eating up disk space at some prodigious rate.  But then, EQ2 isn't the only program that creates files in the /temp folder and doesn't delete them.  It's not even the most eggregious, by a long shot.  Seems like programmers as a rule just get less elegant and efficient as time goes by.  Sloppy.</p>

TSR-DanielH
06-25-2009, 04:41 PM
<p>I was able to locate the file on my computer as well even though it goes to a different location in Vista(C:UsersusernameAppDataLocalTempssl).  The files definitely appear to be what you say, basic SSL certificates, but I'm not sure there's much we can do about it.  It's certainly possible to delete the files on exit or program a short script to do it, but at <200kb it probably wouldn't be worth your time. </p><p>I'll go ahead and pass this information along.  You might want to use the /feedback and/or /bug commands in game to report this as well.</p>

WastedChances
06-25-2009, 11:15 PM
<p><cite>TSR-DanielH wrote:</cite></p><blockquote><p>I was able to locate the file on my computer as well even though it goes to a different location in Vista(C:UsersusernameAppDataLocalTempssl).  The files definitely appear to be what you say, basic SSL certificates, but I'm not sure there's much we can do about it.  It's certainly possible to delete the files on exit or program a short script to do it, but at <200kb it probably wouldn't be worth your time. </p><p>I'll go ahead and pass this information along.  You might want to use the /feedback and/or /bug commands in game to report this as well.</p></blockquote><p>Thanks for passing this along.</p><p>After thinking about it some more, this may in fact be something your developers did on purpose for Vistacompatibility. I remember a patch for Eve Online a while back moved everyone's settings out of the gamefolder and into the user's "AppData" folder because Vista wouldn't let the game run otherwise.</p><p>Though I didn't (and still don't) use Vista, XP users were given the same "feature" since it's easier to writeone set of code and XP will still function regardless where the game puts files.</p><p>My initial concern and why I created this thread was mainly because I wanted to be sure what was creating thesefiles and if it was EQ would there be any harm in deleting them. I already have a program I wrote that cleansmy temp folder at regular intervals and didn't want to cause problems. For now I've created a rule for my programto not delete the SSL folder if EQ2 is running.</p>

TSR-DanielH
06-26-2009, 08:13 PM
<p><cite>WastedChances wrote:</cite></p><blockquote><p>Thanks for passing this along.</p><p>After thinking about it some more, this may in fact be something your developers did on purpose for Vistacompatibility. I remember a patch for Eve Online a while back moved everyone's settings out of the gamefolder and into the user's "AppData" folder because Vista wouldn't let the game run otherwise.</p><p>Though I didn't (and still don't) use Vista, XP users were given the same "feature" since it's easier to writeone set of code and XP will still function regardless where the game puts files.</p><p>My initial concern and why I created this thread was mainly because I wanted to be sure what was creating thesefiles and if it was EQ would there be any harm in deleting them. I already have a program I wrote that cleansmy temp folder at regular intervals and didn't want to cause problems. For now I've created a rule for my programto not delete the SSL folder if EQ2 is running.</p></blockquote><p>I'm glad to hear that you were able to get it sorted out.  It's possible that the files are not automatically deleted due to legal concerns.  I remember hearing that having the game automatically delete files can cause legal concerns.</p>

WastedChances
06-26-2009, 09:17 PM
<p><cite>TSR-DanielH wrote:</cite></p><blockquote><p>I'm glad to hear that you were able to get it sorted out.  It's possible that the files are not automatically deleted due to legal concerns.  I remember hearing that having the game automatically delete files can cause legal concerns.</p></blockquote><p>Interesting. I can't say I've ever heard such a thing. In my years of programming its always been acceptable fora program to delete any files it creates, especially temporary files. Seeing as these are created in the "temp" folder,I would say that qualifies as something that can be removed without legal ramifications.</p>

TSR-DanielH
06-29-2009, 04:54 PM
<p><cite>WastedChances wrote:</cite></p><blockquote><p><cite>TSR-DanielH wrote:</cite></p><blockquote><p>I'm glad to hear that you were able to get it sorted out.  It's possible that the files are not automatically deleted due to legal concerns.  I remember hearing that having the game automatically delete files can cause legal concerns.</p></blockquote><p>Interesting. I can't say I've ever heard such a thing. In my years of programming its always been acceptable fora program to delete any files it creates, especially temporary files. Seeing as these are created in the "temp" folder,I would say that qualifies as something that can be removed without legal ramifications.</p></blockquote><p>I think it would be fine to delete it, especially considering it's in the temp folder, I'm just taking a guess at why it is not getting deleted.  I actually heard about the possibility of legal issues from the following post by Rothgar(about half way down the page):</p><p><a href="http://forums.station.sony.com/eq2/posts/list.m?start=195&topic_id=453696" target="_blank" rel="nofollow">http://forums.station.sony.com/eq2/...topic_id=453696</a></p>