LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-01-2011, 11:47 PM   #1
rfludwick
LQ Newbie
 
Registered: Jun 2011
Posts: 4

Rep: Reputation: Disabled
APC & Apache Issue


I recently got APC running on my Gentoo webserver and I continue to have problems with it locking up Apache. Initially I had it set to operate on all domains on the box. With about 20 domains I realized this wasn't optimal, so I switched it to operate on just one domain, then just one subdomain. I've played around with the SHM size from 32MB to where it is now, 256MB. No luck. After some indeterminate period of time, Apache will stop responding to requests in a timely manner. It just times out.

apc.ini (both Apache and CLI)

Code:
extension=apc.so
apc.enabled="1"
apc.shm_segments="1"
apc.shm_size="256M"
apc.num_files_hint="1024"
apc.ttl="7200"
apc.user_ttl="7200"
apc.gc_ttl="3600"
apc.cache_by_default="0"
;apc.filters=""
;apc.mmap_file_mask="/tmp/apcphp5.XXXXXX"
apc.slam_defense="0"
apc.file_update_protection="2"
apc.enable_cli="1"
apc.max_file_size="1M"
apc.stat="1"
apc.write_lock="1"
apc.report_autofilter="0"
apc.include_once_override="0"
apc.rfc1867="0"
apc.rfc1867_prefix="upload_"
apc.rfc1867_name="APC_UPLOAD_PROGRESS"
apc.rfc1867_freq="0"
apc.localcache="0"
apc.localcache.size="512"
apc.coredump_unmap="0"
.htaccess on the subdomain:

Code:
php_flag apc.cache_by_default On
Any ideas? Thanks.
 
Old 06-09-2011, 01:03 AM   #2
rfludwick
LQ Newbie
 
Registered: Jun 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Bump. Any ideas?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 10.1 & APC PowerChute Network Edition? WorldBuilder Linux - Software 3 11-01-2006 03:03 PM
Need Help! - Apache/jserv & Sles 9 Issue GECOB Linux - Distributions 0 06-27-2006 09:05 PM
APC Smart Ups & Ubuntu 5.10 renaissance Ubuntu 1 04-29-2006 03:46 AM
PHP & Apache Issue? Plz help! wh33t Programming 1 10-01-2005 05:17 AM
SElinux & php4 & interbase & apache maxut Linux - Security 0 03-15-2005 04:57 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration