SMF Support > Server Performance and Configuration

APC caching problem

(1/5) > >>

Luka Paunović:
Hi guys
i installed APC caching on my Cent Os...
but when i enable it in apc.ini


apc.enabled=1

My sites are down :/
And it says The connection was reset in my firefox browser...
When i disable it

apc.enabled=0

All is fine...
What is wrong?
I followed this tutorial
http://stevejenkins.com/blog/2011/08/how-to-install-apc-alternative-php-cache-on-centos-5-6/

CoreISP:
Once again, you need to learn about what exactly you are doing first...
You don't know your OS and you don't seem to know what you are doing, hence it will eventually have a high chance of failing.

First step for you:
Look in the webserver error_log.

Luka Paunović:

--- Quote from: CoreISP on June 11, 2012, 06:08:00 PM ---Once again, you need to learn about what exactly you are doing first...
You don't know your OS and you don't seem to know what you are doing, hence it will eventually have a high chance of failing.

First step for you:
Look in the webserver error_log.

--- End quote ---

I deleted my httpd error log, then i enabled APC.
And this shows in httpd error log


--- Code: ---[Tue Jun 12 00:26:17 2012] [notice] caught SIGTERM, shutting down
[Tue Jun 12 00:26:17 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jun 12 00:26:17 2012] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Tue Jun 12 00:26:17 2012] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Tue Jun 12 00:26:17 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Jun 12 00:26:17 2012] [notice] Digest: done
[Tue Jun 12 00:26:17 2012] [notice] mod_ruid2/0.9.4 enabled
[Tue Jun 12 00:26:17 2012] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Tue Jun 12 00:26:17 2012] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Tue Jun 12 00:26:17 2012] [notice] Apache/2.2.22 (Unix) DAV/2 PHP/5.2.17 mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations
[Tue Jun 12 00:26:22 2012] [notice] caught SIGTERM, shutting down
[Tue Jun 12 00:26:22 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jun 12 00:26:22 2012] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Tue Jun 12 00:26:22 2012] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Tue Jun 12 00:26:22 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Jun 12 00:26:22 2012] [notice] Digest: done
[Tue Jun 12 00:26:22 2012] [notice] mod_ruid2/0.9.4 enabled
[Tue Jun 12 00:26:22 2012] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Tue Jun 12 00:26:22 2012] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Tue Jun 12 00:26:22 2012] [notice] Apache/2.2.22 (Unix) DAV/2 PHP/5.2.17 mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations
[Tue Jun 12 00:26:25 2012] [notice] child pid 24556 exit signal Segmentation fault (11)
[Tue Jun 12 00:26:25 2012] [notice] child pid 24561 exit signal Segmentation fault (11)
[Tue Jun 12 00:26:26 2012] [notice] child pid 24554 exit signal Segmentation fault (11)
[Tue Jun 12 00:26:26 2012] [notice] child pid 24558 exit signal Segmentation fault (11)
[Tue Jun 12 00:26:26 2012] [notice] child pid 24559 exit signal Segmentation fault (11)
[Tue Jun 12 00:26:27 2012] [notice] child pid 24555 exit signal Segmentation fault (11)
[Tue Jun 12 00:26:27 2012] [notice] child pid 24560 exit signal Segmentation fault (11)
[Tue Jun 12 00:26:27 2012] [notice] child pid 24562 exit signal Segmentation fault (11)
[Tue Jun 12 00:26:28 2012] [notice] child pid 24563 exit signal Segmentation fault (11)
[Tue Jun 12 00:26:52 2012] [error] [client 78.111.36.237] File does not exist: /home/kloxo/httpd/default/html-php, referer: http://www.facebook.com/l.php?u=http%3A%2F%2Fwww.internetfazoni.com%2Fhtml-php%2Fneogranien-hosting-besplatno%2F%3FPHPSESSID%3Db6da350107e2570481e4ef4e325d8d04&h=DAQE-zEUEAQG0uElWWBojMmjiL0QgIlxYxOAV7VYEijZjiQ
[Tue Jun 12 00:26:52 2012] [error] [client 78.111.36.237] File does not exist: /home/kloxo/httpd/default/favicon.ico
[Tue Jun 12 00:27:09 2012] [notice] child pid 24566 exit signal Segmentation fault (11)
[Tue Jun 12 00:27:46 2012] [notice] child pid 24567 exit signal Segmentation fault (11)
[Tue Jun 12 00:28:14 2012] [notice] child pid 24565 exit signal Segmentation fault (11)
[Tue Jun 12 00:28:16 2012] [notice] child pid 24569 exit signal Segmentation fault (11)

--- End code ---

I disabled APC now again...
Why APC crashes my sites when he is enabled...
Why he won't work...

CoreISP:
Does it segfault everytime you enable it? Check in the log.

Luka Paunović:

--- Quote from: CoreISP on June 12, 2012, 11:23:21 AM ---Does it segfault everytime you enable it? Check in the log.

--- End quote ---

Yeah, just when i enable it, Segmentation fault error shows.
I googled a little and i found that, that error shows when i do not have enough memory?!

So I need to reconfigure something in apc.ini
(I mean on memory settings).
Here you are in attach my apc.ini
So, change what is need.

Thanks!

Navigation

[0] Message Index

[#] Next page

Go to full version