#49548 [NEW]: APC_UPLOAD_PROGRESS variable is cleared after one hour
| From: | farhana dot sathi at yahoo dot com | Date: | Mon, 14 Sep 2009 01:05:48 +0000 |
| Subject: | #49548 [NEW]: APC_UPLOAD_PROGRESS variable is cleared after one hour | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-142310@lists.php.net to get a copy of this message | ||
From: farhana dot sathi at yahoo dot com
Operating system: Windows XP pro
PHP version: 5.2.10
PHP Bug Type: Unknown/Other Function
Bug description: APC_UPLOAD_PROGRESS variable is cleared after one hour
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 bug report at http://bugs.php.net/?id=49548&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49548&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49548&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49548&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49548&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49548&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49548&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49548&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49548&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49548&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49548&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49548&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49548&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49548&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49548&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49548&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49548&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49548&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49548&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49548&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49548&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49548&r=mysqlcfg