Re: APC : fatal bug
| From: | Rasmus Lerdorf | Date: | Sun, 21 Aug 2005 23:08:59 +0000 |
| Subject: | Re: APC : fatal bug | ||
| References: | 1 2 3 4 5 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2773@lists.php.net to get a copy of this message | ||
Siewn wrote:
> Rasmus Lerdorf a écrit :
>
>> Siewn wrote:
>>
>>
>>> I guess that but it won't be easy to get a backtrace from this (it
>>> happens after many hours at hundred requests/s)... :-/
>>>
>>> I didn't have the time to test the cvs version but I made a new test
>>> (still with 3.0.7) without using any filter and there was again the same
>>> problems
>>>
>>
>>
>> You probably told me before, but what is your apc configuration again?
>> Both compile flags and .ini settings please.
>>
>>
> extension = "no-debug-non-zts-20020429/apc.so"
> apc.shm_size="80"
> apc.max_file_size="2M"
>
> I used the quick install (DSO):
> $ /usr/local/php/bin/phpize
> $ ./configure --enable-apc --enable-apc-mmap --with-apxs
> --with-php-config=/usr/local/php/bin/php-config
> $ make
> $ make install
Your config should be fine, but could you change it to something like
this and let it run for a while? I just want to rule out some edge cases.
apc.enabled=1
apc.shm_segments=1
apc.optimization=0
apc.shm_size=64
apc.ttl=7200
apc.user_ttl=7200
apc.num_files_hint=2000
apc.mmap_file_mask=/tmp/apc.XXXXXX
-Rasmus