Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] apcu_fetch block while on busy server #358

Open
cash2910 opened this issue Dec 6, 2018 · 3 comments
Open

[bug] apcu_fetch block while on busy server #358

cash2910 opened this issue Dec 6, 2018 · 3 comments

Comments

@cash2910
Copy link

cash2910 commented Dec 6, 2018

apcu

APCu Support => Enabled
Version => 5.1.14
APCu Debugging => Disabled
MMAP Support => Enabled
MMAP File Mask =>
Serialization Support => php, igbinary
Build Date => Dec 5 2018 15:59:57

Directive => Local Value => Master Value
apc.coredump_unmap => Off => Off
apc.enable_cli => Off => Off
apc.enabled => On => On
apc.entries_hint => 4096 => 4096
apc.gc_ttl => 3600 => 3600
apc.mmap_file_mask => no value => no value
apc.preload_path => no value => no value
apc.serializer => default => default
apc.shm_segments => 1 => 1
apc.shm_size => 4G => 4G
apc.slam_defense => Off => Off
apc.smart => 0 => 0
apc.ttl => 0 => 0
apc.use_request_time => On => On

It works fine on my development enverments , bug when I run it in production enverments that serves a lot of requests per second . It blocks all the php-fpm processes after work some day . I hava to restart the php-fpm to slove this problem .
I have turn up the apc.shm_size to 4G . but yesterday I got the same problem when it at 1G ,

please help me . many thanks ....

@nikic
Copy link
Collaborator

nikic commented Dec 7, 2018

Could you check if setting apc.serializer=php resolves this problem?

@nikic
Copy link
Collaborator

nikic commented Dec 7, 2018

Also released new version that switches the default of apc.serializer and has a few other fixes.

@cash2910
Copy link
Author

Tks , I will try it . but why it causes this problem .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants