php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58617 apc.max_file_size not working over 1MB
Submitted: 2009-04-05 10:34 UTC Modified: 2009-05-05 14:51 UTC
From: carlos dot rios at bolsademulher dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.2.4 OS: Ubuntu 8.04SE
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: carlos dot rios at bolsademulher dot com
New email:
PHP Version: OS:

 

 [2009-04-05 10:34 UTC] carlos dot rios at bolsademulher dot com
Description:
------------
When trying to set the apc.max_file_size  over 1MB, the apc does not cache anything at all. 1.5MB, 2MB, 3MB. nothing


 heres my configuration:

APC Version	3.1.2
PHP Version	5.2.4-2ubuntu5.5
APC Host	192.168.0.198
Server Software	Apache/2.2.8
Cached Files	0 ( 0.0 Bytes)
Cached Variables	0 ( 0.0 Bytes)
Hits	1
Misses	0
Request Rate	0.00 cache requests/second
Time To Live	3600
Shared Memory	1 Segment(s) with 96.0 MBytes
Cache full count	0
Start Time	2009/04/05 10:27:47
Uptime	5 minutes
Runtime Settings
apc.cache_by_default	1
apc.canonicalize	0
apc.coredump_unmap	0
apc.enable_cli	0
apc.enabled	1
apc.file_md5	0
apc.file_update_protection	2
apc.filters	
apc.gc_ttl	3600
apc.include_once_override	0
apc.max_file_size	2MB
apc.mmap_file_mask	
apc.num_files_hint	20000
apc.preload_path	
apc.report_autofilter	0
apc.rfc1867	0
apc.rfc1867_freq	0
apc.rfc1867_name	APC_UPLOAD_PROGRESS
apc.rfc1867_prefix	upload_
apc.rfc1867_ttl	3600
apc.shm_segments	1
apc.shm_size	96
apc.stat	1
apc.stat_ctime	1
apc.ttl	3600
apc.user_entries_hint	4096
apc.user_ttl	3600
apc.write_lock	1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-05 23:10 UTC] shire@php.net
I'm not able to reproduce this, can you confirm that loading some other setting isn't interfering, be sure to request the file many times and that it's modified time is older than your apc.file_update_protection setting.

Also I see that your misses is 0, but hits is 1.  I'm not sure how this is possible without priming your cache, are you doing something like this?
 [2009-05-05 14:51 UTC] shire@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 02:01:29 2024 UTC