Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Ciao, I'm installed devel module on my live site but an error occurs in Status report regarding APC memory size issue: "APC has been configured for , which is less than the recommended 48 MB of memory. If you encounter errors when viewing the summary report, then try to increase that limit for APC.".
Anybody knows how can I adjust as recommended, the APC memory setting?
Thanks in advance.
Jimmy
Comments
Comment #1
jimmypreserve CreditAttribution: jimmypreserve commentedComment #2
anrn CreditAttribution: anrn commentedSite configuration - perfomance loggin
Comment #3
lionheart8 CreditAttribution: lionheart8 commentedIn my case, I have on the Status Report page
Performance logging APC: Disabled
Performance logging on live web sites works best if APC is enabled.
Performance logging APC memory size
APC has been configured for , which is less than the recommended 48 MB of memory. If you encounter errors when viewing the summary report, then try to increase that limit for APC.
If I go to admin/settings/performance_logging:
I have this message:
Where does one enable APC?
If it is at "Summary logging (APC): " herein my case, the pulldown menu is disabled. I cannot disable it even if i wanted.
So where/how does one enable APC or increase the recommended memory?
Regards
Comment #4
Blooniverse CreditAttribution: Blooniverse commentedAPC is a PHP PECL extension. In order to make Drupal work with APC you need to install this specific PECL (= PHP Extension and Application Repository) extension on your server first, see http://us.php.net/apc. On my Ubuntu-Debian-Linux I could achieve this goal via bash/shell-command "
sudo pecl install apc
". Easy!After doing so, on "admin/settings/performance_logging" there will be the message "APC is enabled [...]".
Increasing the APC memory has to be done on the server: Edit the/your "php.ini" (i.e. on Linux-Debian-Ubuntu in "/etc/php5/apache2" and "etc/php5/cli") and ADD
It is recommended to add, in a later step, the following line to the/your "php.ini" as well (upload progress):
Or, just get the PECL extension "uploadprogress" via bash/shell-command "
sudo pecl install uploadprogress
".Obviously one needs to restart Apache (the server) after installing PECL extensions and modifying the php.ini-file: "
sudo /etc/init.d/apache2 restart
".Philipp
Comment #5
g76 CreditAttribution: g76 commentedI had the same issue and followed comment #4 and when revisiting the performance logging page it still says APC is not enabled. I installed and configured pecl apc and upload progress (also memcache) after I installed and enabled the devel mod - I did not know if this would be the issue or if so , how to resolve it. Any suggestions?
using devel 6.x-1.18
thanks,
Jen
Comment #6
nihonsei CreditAttribution: nihonsei commentedMy host is saying that they are not going to install APC (PHP PECL extension) in shared rental server environment and unable to help in this matter.
The following message showing in status after installing module "Devel".
What is the solution to solve these problem?
1. Performance logging APC Disabled
Performance logging on live web sites works best if APC is enabled.
2. Performance logging APC memory size
APC has been configured for , which is less than the recommended 48 MB of memory. If you
encounter errors when viewing the summary report, then try to increase that limit for APC.
I can not solve my problem without installling PHP PECL extension. I am new to web world. Please help me.
How site perfomance (production environment) is affected by above problem.
Is it a common problem with a shared server hosting?
Is there any good hosting in Japan for Drupal?
Comment #7
Blooniverse CreditAttribution: Blooniverse commented@g76: Every operating system is different -- on mine, the instructions above [in my comment #4] worked absolutely fine. Can you tell me more about your OS?
Comment #8
Blooniverse CreditAttribution: Blooniverse commented@nihonsei: APC is [usually] not suitable for shared hosting! You or a server administrator need to have full access to the server operating system in order to install/enable APC!
Comment #9
Blooniverse CreditAttribution: Blooniverse commentedI am closing this issue now. This is not a devel issue, this is a PECL and server issue.
Comment #10
nihonsei CreditAttribution: nihonsei commentedPHILIPP-SCHAFFN...
Thanks for your kind reply.
Comment #11
suffering drupal CreditAttribution: suffering drupal commented@ #2
Yes.... AND??