Portal Home > Knowledgebase > Articles Database > APC internal server error


APC internal server error




Posted by zahirw, 05-07-2011, 08:31 AM
After we updated to apc 3.1.8, our server keeps going into internal server errors. We're hosted on gigenet. After an apache restart, the site loads but the minute I navigate to another page, the 500 error shows. This is our apc config extension=apc.so ;Variables apc.enabled=0 apc.shm_size=64M apc.optimization=0 apc.ttl=7200 apc.user_ttl=7200 #apc.shm_segments=1 apc.num_files_hint=1024 apc.mmap_file_mask=/tmp/XXXXXX apc.enable_cli=1 apc.cache_by_default=1 #apc.stat=0 #apc.include_once_override = 1

Posted by mikel2000, 05-07-2011, 01:07 PM
word on the street is apc.stat Try changing it to apc.stat=1

Posted by zahirw, 05-07-2011, 01:37 PM
Thanks Tried it, still goes into a 500 error

Posted by mikel2000, 05-07-2011, 02:05 PM
apc.enabled=0? wait, its disabled?

Posted by zahirw, 05-07-2011, 02:45 PM
Yes its disabled in the config above but on the server, I'd enabled it

Posted by Mohammed H, 05-07-2011, 02:55 PM
usually this problem is happening with mod_fcgid!!

Posted by zahirw, 05-07-2011, 03:19 PM
How do we rectify this?

Posted by zahirw, 05-07-2011, 08:33 PM
Seems running 3.1.6 with default options works fine so far.

Posted by MikeDVB, 05-07-2011, 08:34 PM
3.1.8 is beta, last I checked where as 3.1.6 is stable and what we use on any VPS where a customer requests APC.

Posted by zahirw, 05-07-2011, 08:37 PM
Yeah I learned that the hard way 64M size running on a 1.2gig ram server like a charm. Might consider raising it to 128



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
js scripts (Views: 1515)
jQuery Help (Views: 512)