#49548 [Opn->Csd]: APC_UPLOAD_PROGRESS variable is cleared after one hour
| From: | kalle@php.net | Date: | Mon, 14 Sep 2009 07:11:09 +0000 |
| Subject: | #49548 [Opn->Csd]: APC_UPLOAD_PROGRESS variable is cleared after one hour | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-142317@lists.php.net to get a copy of this message | ||
ID: 49548
Updated by: kalle@php.net
Reported By: farhana dot sathi at yahoo dot com
-Status: Open
+Status: Closed
Bug Type: Unknown/Other Function
Operating System: Windows XP pro
PHP Version: 5.2.10
New Comment:
This was reported and fixed on PECL a few weeks ago and will be
available in the next APC 3.1.x release.
See:
http://svn.php.net/viewvc?view=revision&revision=287534
Previous Comments:
------------------------------------------------------------------------
[2009-09-14 01:05:48] farhana dot sathi at yahoo dot com
Description:
------------
I am using the APC to do an ajax style progress bar. Everything works
fine for the first hour. But exactly after an hour the apc_fetch()
return 0 ( more clearly APC_UPLOAD_PROGRESS is set to zero ) for the
rest of the upload, seems that cache is cleared after one hour
My APC settings in php.ini
[APC]
apc.enabled = 1
apc.rfc1867 = on
apc.file_update_protection = 2
apc.enable_cli = 1
apc.max_file_size = 50M
apc.shm_segments = 1
apc.shm_size = 512
apc.gc_ttl = 7200
apc.ttl = 7200
apc.user_ttl = 7200
apc.num_files_hint = 5000
apc.user_entries_hint = 5000
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49548&edit=1