Apc_fetch returns false after a while

I use apc_fetch to show a progress bar when I upload a large file (video).

apc_fetch works fine with a file up to 180 MB. But with a large file, apc_fetch returns false after 190Mb.

Basically, if I upload a large file (250 mb), it displays the data until "current" is <190mb. When it comes to 190mb, it returns false. there is no data.

My apc conf in php.ini

extension=apc.so
apc.rfc1867 = on
apc.max_file_size = 1024M
upload_max_filesize = 1024M
post_max_size = 1025M
apc.shm_size = 512M
apc.rfc1867_freq= 0

Update about this: A few more tests, and I found that apc_fetch starts returning empty scams 1 hour (60 min). I installed them, but still getting the same.

apc.ttl = 0
apc.user_ttl = 0
apc.gc_ttl = 0

I think the problem is something with time.

+3
source share
3 answers

apc.rfc1867_ttl . , apc.

- 3600 , . , . , , , .

+1

, , , APC , .

, , . , . ( ). , - , .

, , .

FYI. , .

0

, upload_max_filesize post_max_size , , . , apc.max_file_size .

apc.rfc1867 = 0 10k 100k

. , "k", "m" "g" , ( ).

0

All Articles