From owner-freebsd-hackers Thu Apr 12 14:35:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gandalf.vi.bravenet.com (gandalf.bravenet.com [139.142.105.50]) by hub.freebsd.org (Postfix) with SMTP id E965337B449 for ; Thu, 12 Apr 2001 14:35:20 -0700 (PDT) (envelope-from dphoenix@bravenet.com) Received: (qmail 25619 invoked by uid 1000); 12 Apr 2001 21:35:20 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 12 Apr 2001 21:35:20 -0000 Date: Thu, 12 Apr 2001 14:35:20 -0700 (PDT) From: Dan Phoenix To: freebsd-hackers@freebsd.org Subject: Re: apc and apache In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hmmm i made all website files owned by apache owner and all was normal! i told apc not to write to my webfiles yet it does anyways. Anyone see anything fishy going on here? On Thu, 12 Apr 2001, Dan Phoenix wrote: > Date: Thu, 12 Apr 2001 14:25:46 -0700 (PDT) > From: Dan Phoenix > To: freebsd-hackers@freebsd.org > Subject: Re: apc and apache > > > > To update on this one box... > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 2399 bravenet 2 0 17364K 15540K accept 0:00 1.07% 0.83% httpd > 2401 bravenet 2 0 20304K 18980K accept 0:00 1.01% 0.78% httpd > 2446 bravenet 2 0 16468K 14828K accept 0:00 1.01% 0.78% httpd > > this is the memory with apc enabled!...will kill the machine > > here is normal with apc turned off > > 2575 bravenet 2 0 6040K 5100K sbwait 0:00 1.30% 0.98% httpd > 2533 bravenet 2 0 6000K 5100K accept 0:00 1.10% 0.83% httpd > > unreal! > > > > On Thu, 12 Apr 2001, Dan Phoenix wrote: > > > Date: Thu, 12 Apr 2001 14:21:25 -0700 (PDT) > > From: Dan Phoenix > > To: freebsd-hackers@freebsd.org > > Subject: apc and apache > > > > > > ;;;;;;;;;;;;;;;;; > > ; APC ; > > ;;;;;;;;;;;;;;;;; > > > > apc.cachedir="/usr/cache" > > apc.relative_includes= 1 > > apc.check_mtime = 1 > > > > threw that in the php.ini file. > > > > Started apache and booom webservers went to hell...each httpd taking > > 20 megs or more on a couple webservers. Anyone experience this? > > Commenting those lines out and restarting apache put everything back to > > normal. > > > > And yes /usr/cache is writeable....and no website files are not even by > > owner who runs apache. > > > > > > > > -- > > Dan > > > > +------------------------------------------------------+ > > | BRAVENET WEB SERVICES | > > | dan@bravenet.com | > > | make installworld | > > | ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail | > > | ln -s /var/qmail/bin/newaliases /usr/sbin/newaliases | > > +______________________________________________________+ > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message