Issues
- Lucee is leaving abandoned files in tomcat temp directoryLDEV-4047Resolved issue: LDEV-4047Michael Offner
- Performance/page spool lock contentionLDEV-3854Resolved issue: LDEV-3854Zac Spitzer
- Calling component using relative path inside the long running thread failsLDEV-3802Pothys - MitrahSoft
- duplicate() incompatible with java.util.List (return of List.subList)LDEV-3752Resolved issue: LDEV-3752Pothys - MitrahSoft
- reMatchNoCase() regex regression in 5.3.8LDEV-3703Resolved issue: LDEV-3703Pothys - MitrahSoft
- Custom tags/include page inside a long-running thread throw a NullPointerExceptionLDEV-3689Resolved issue: LDEV-3689Pothys - MitrahSoft
- cfmail crashes on email addresses with trailing commasLDEV-3687Resolved issue: LDEV-3687Zac Spitzer
- Scheduled Tasks (Daily) NOT runningLDEV-3685Resolved issue: LDEV-3685Michael Offner
- Transactions with mixture of ORM and vanilla SQL do not completeLDEV-3659Resolved issue: LDEV-3659Michael Offner
- Cannot duplicate Environment map in LuceeLDEV-3658Resolved issue: LDEV-3658Pothys - MitrahSoft
- Calling component using relative path in thread failsLDEV-3627Resolved issue: LDEV-3627Michael Offner
- Compile errors in 5.3.8.189LDEV-3622Resolved issue: LDEV-3622Michael Offner
- OnApplicationStart Application scope race conditionLDEV-3590Resolved issue: LDEV-3590Michael Offner
- REFind/NoCase(scope="ALL") returns an empty array instead an empty match set when no match is not foundLDEV-3532Resolved issue: LDEV-3532Pothys - MitrahSoft
- Lucee Server Admin "Restart Lucee" silently 404s on second clickLDEV-3497Resolved issue: LDEV-3497Pothys - MitrahSoft
- mysql insert not returning the identityLDEV-3487Resolved issue: LDEV-3487Michael Offner
- Regression: inherited static variables no longer accessible in child componentsLDEV-3465Resolved issue: LDEV-3465Pothys - MitrahSoft
- services update not working - The key [VERSION] does not exist, the structure is emptyLDEV-3386Resolved issue: LDEV-3386Zac Spitzer
- NPE with lucee local docsLDEV-3346Resolved issue: LDEV-3346Michael Offner
- test.tags.Query.testQueryParamCharset tests failing on windowsLDEV-3316Resolved issue: LDEV-3316Michael Offner
- IllegalArgumentException timeout value is negative - using now() on cfschedule tagLDEV-3278Resolved issue: LDEV-3278Michael Offner
- IsNumeric returns True on strings like "3d" and "6f" (5.3.8 regression!)LDEV-3275Resolved issue: LDEV-3275Pothys - MitrahSoft
- cflog doesn't write application name to logLDEV-3266Resolved issue: LDEV-3266Pothys - MitrahSoft
- web admin-Debugging settings shows Can't cast String [] to a boolean errorLDEV-3256Resolved issue: LDEV-3256Pothys - MitrahSoft
- NPE customtag and server.cache in admin (listCTCache)LDEV-3242Resolved issue: LDEV-3242Michael Offner
- Regression: Closure in static method calling another static method causes request to hang when run in parallelLDEV-3221Resolved issue: LDEV-3221Pothys - MitrahSoft
- Increased CPU usage (+40%) - due to scheduled task threadsLDEV-3214Resolved issue: LDEV-3214Michael Offner
- Error - Array index [1] out of range, array size is [0] in adminLDEV-3194Resolved issue: LDEV-3194Michael Offner
- csrfGenerateToken() returns an empty stringLDEV-3185Resolved issue: LDEV-3185Pothys - MitrahSoft
- regression, sql debug only shows when usage logging is also enabledLDEV-3183Resolved issue: LDEV-3183Michael Offner
- since toJson function, wrong available functions on error with unknown functionLDEV-3167Resolved issue: LDEV-3167Michael Offner
- REFind and REFindNoCase return the wrong groupLDEV-3140Resolved issue: LDEV-3140Igal Sapir
- cfexecute directory="#GetTempDirectory()#" throws errorLDEV-3117Resolved issue: LDEV-3117Zac Spitzer
- NPE /lucee/admin/server.cfm?action=server.cacheLDEV-3107Resolved issue: LDEV-3107
- reFind regressionLDEV-3103Resolved issue: LDEV-3103Michael Offner
- Lucee 5.3.8 reReplaceNoCase is no longer case-insensitiveLDEV-3087Resolved issue: LDEV-3087Michael Offner
- regression, datasource session scope logging no longer going to scope.logLDEV-3084Resolved issue: LDEV-3084Michael Offner
- regression, logging from thread doesn't workLDEV-3083Resolved issue: LDEV-3083Michael Offner
- cfdocument, images with data URLs don't work in the bodyLDEV-3078Resolved issue: LDEV-3078Pothys - MitrahSoft
- ReReplace regressionLDEV-3066Resolved issue: LDEV-3066Pothys - MitrahSoft
- ReReplaceNoCase does not ignore case in 5.3.8.41-SNAPSHOTLDEV-3021Resolved issue: LDEV-3021Michael Offner
- Missing "debugging.implicitAccess" variable in debug templateLDEV-2988Resolved issue: LDEV-2988Pothys - MitrahSoft
- Non-Heap Memory Increases Till Server CrashesLDEV-2904Resolved issue: LDEV-2904Pothys - MitrahSoft
Lucee is leaving abandoned files in tomcat temp directory
Description
Environment
All
Attachments
Details
Assignee
Michael OffnerMichael OffnerReporter
RyanRyanPriority
CriticalNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Reporter
Priority
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Activity
Ryan17 November 2023 at 20:59
This problem seems to be happening again. I received a disk space alert from one of my production servers this morning. They both have around 30GB of temp files in the C:\Lucee\Tomcat\temp directory. I am on Lucee 5.3.12.1.
I see at least two type of temp files hanging around in here. Some are named with all numbers like 1,10,100, etc. The other files are named like upload11619046740662091154.tmp.
Michael Offner11 July 2022 at 12:52
yes we could found the source of the issue and fix it, it was only happening on windows
Pothys - MitrahSoft7 July 2022 at 11:37Edited
I've checked this ticket with the lucee latest versions 5.3.10.27-SNAPSHOT & 5.3.9.149-SNAPSHOT. Now the .tmp files in the temp folder have been deleted after the request is complete
Pothys - MitrahSoft7 July 2022 at 11:21Edited
5.3:
5.3.9:
Ryan6 July 2022 at 16:23Edited
For me the issue appears to be fixed in 5.3.10.27-SNAPSHOT. I can no longer reproduce it after upgrading.
With a large upload I can cause a temp file to be created, but only for a short time. When the request is completed the temp file gets deleted.
Hi, we ran into an issue this week with running out of disk space on our server. I found 25GB of temp files in C:\lucee\tomcat\temp. The files are named like
upload9320966950715730322.tmp
I downloaded and installed a fresh Lucee install and was able to reproduce the issue there. Any time a file is uploaded larger than 1024kb, an orphaned .tmp file gets left in the above mentioned directory. I think this will happen anytime the entire post is larger than 1024kb, I don’t think it’s specifically related to file uploads. I say that because when I look at the contents of the .tmp file, it appears to be the entire post (containing the ------WebKitFormBoundaryxg5wkakqtDQYZgAH etc.).
I believe the issue is in this file “HTTPServletRequestWrap.java”, which had a major change related to these .tmp files 17 months ago: LDEV-2087 - do not depend on "getContentLength" for file upload mode … · lucee/Lucee@e605da9 · GitHub
[LDEV-2087] - Lucee
Not only is this a maintenance/disk space issue, but I believe it has security implications as well. It leaves data sitting around in clear text that perhaps should not be.
https://dev.lucee.org/t/lucee-is-leaving-abandoned-files-in-tomcat-temp-directory/10478