php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49548 APC_UPLOAD_PROGRESS variable is cleared after one hour
Submitted: 2009-09-14 01:05 UTC Modified: 2009-09-14 09:50 UTC
From: farhana dot sathi at yahoo dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.2.10 OS: Windows XP pro
Private report: No CVE-ID: None
 [2009-09-14 01:05 UTC] 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  



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-14 07:11 UTC] kalle@php.net
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
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 18:00:02 2025 UTC