Project

General

Profile

Actions

Bug #22311

closed

another Bug causing typo3temp to fill up with files

Added by Mittwald CM about 14 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-03-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

this is another bug causing typo3temp to fill up with files which will never be deleted,
on frequent visited sites this can slow the site down within days or weeks

Like
http://bugs.typo3.org/view.php?id=12376
temporary files will be created with IDs/names using something like "md5(microtime())"

The submitted patch works but is slow and dirty. It takes the serialized array variable of the item as a substituion of "microtime()".

The best solution is a management of temporary files by offering library functions for generating IDs and creating and deleting temp files.

(issue imported from #M13886)


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #21388: typo3temp got filled with thousands of javascript_* filesRejected2009-10-28

Actions
Actions #1

Updated by Oliver Hader about 14 years ago

I guess that this issue already appeared in TYPO3 4.2, didn't it?

Actions #2

Updated by Mittwald CM about 14 years ago

Yes, it's also in version 4.2.
And 4.1, 4.0, 3.8 and 3.7! The line numbers differ:
3.7.0/src/typo3/sysext/cms/tslib/class.tslib_menu.php:2128
3.8.1/src/typo3/sysext/cms/tslib/class.tslib_menu.php:2128
4.0.13/src/typo3/sysext/cms/tslib/class.tslib_menu.php:2178
4.1.13/src/typo3/sysext/cms/tslib/class.tslib_menu.php:2192
4.2.12/src/typo3/sysext/cms/tslib/class.tslib_menu.php:2297
4.3.2/src/typo3/sysext/cms/tslib/class.tslib_menu.php:2331

The worse code fragment "md5(microtime())" is found many times in all versions.

Actions #3

Updated by Christian Kuhn about 11 years ago

  • Target version deleted (0)

I'm closing all the other _LAYERS related issues currently, but a small grep showed that the code in question here is still present in 6.1, so I'll leave this issue open for now ... we'll see if it pops up again.

Actions #4

Updated by Mathias Schreiber over 9 years ago

  • Status changed from Accepted to Closed
  • Is Regression set to No

was silent long enough ;-)

Actions

Also available in: Atom PDF