Performance logging APC memory size issue

jimmypreserve - March 2, 2009 - 21:56
Project:Devel
Version:6.x-1.14
Component:performance
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

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

#1

jimmypreserve - March 2, 2009 - 21:57
Version:6.x-1.4» 6.x-1.14

#2

anrn - March 21, 2009 - 16:52

Site configuration - perfomance loggin

#3

lionheart8 - May 26, 2009 - 14:20

In 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:

APC is not enabled. It is not safe to enable summary logging to the database on live sites.

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

#4

PHILIPP-SCHAFFNER.CH - June 17, 2009 - 11:59

APC 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 "APS 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 ADD

  • apc.shm_size = 64

It is recommended to add, in a later step, the following line to the/your "php.ini" as well (upload progress):

  • apc.rfc1867 = 1

Or then 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

#5

g76 - November 2, 2009 - 18:59

I 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

#6

nihonsei - December 10, 2009 - 09:13

My 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?

 
 

Drupal is a registered trademark of Dries Buytaert.