|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-09-08 13:19 UTC] ab@php.net
-Status: Open
+Status: Feedback
[2016-09-08 13:19 UTC] ab@php.net
[2016-09-09 14:56 UTC] chu_man_fu at hotmail dot com
[2016-09-13 15:09 UTC] ab@php.net
-Status: Feedback
+Status: Open
[2016-09-19 09:13 UTC] chu_man_fu at hotmail dot com
[2017-12-05 08:09 UTC] chu_man_fu at hotmail dot com
[2020-03-10 10:39 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2020-03-10 10:39 UTC] cmb@php.net
[2020-03-22 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 19:00:01 2025 UTC |
Description: ------------ I have noticed the temp directory on the web server is full of files named php*.tmp. The contents of these files is POST data for various ajax calls (mainly the same group of calls). There isn't a temp file per call. If I watch the directoy I can see most temp files appear and then get deleted. However, for whatever reason, sometimes these files are not cleaned up. The only way I have been able to reproduce this error is using apache bench to post data (26KB) to a script which uses the shell_exec, exec, popen command: <?php shell_exec("dir"); echo "FINISHED"; ?> It will only produce the temp file when there is concurrency and lots of requests for each: ab -p <post_data_file> -c 3 -n 30 <url_to_script> Our system does perform calls to popen() but the POST data temp files which are being left behind are not always for calls which invoke this function. I can produce the issue on 5.6.24 and 5.6.25. I have tried on the following versions and not been able to reproduce it: 5.4.44, 5.5.25, 7.1 I not beein able to reproduce the issue on a Mac running 5.6.18.