[Phpug] Caching / Optimising / Speeding Up Php Scripts / Sites?
Michele Neylon
michele at mneylon.com
Fri Jun 29 15:30:19 IST 2007
Fergal J Byrne wrote:
> Kae Verens wrote:
>> Michele Neylon wrote:
>>> Hi all
>>>
>>> One of those $random and rather general queries ....
>>>
>>> Does anyone have any secret foo to help speed up sites running php /
>>> mysql on apache2.
>>> I've already got APC installed but Apache keeps segfaulting :(
>>>
>>> The server's going to be getting an extra 2 gigs of ram next week (it's
>>> sitting on my desk!) but until then I need to keep it running
>> optimising is a magic all of its own. you'd really have to say why it's
>> segfaulting.
>>
> It doesn't sound like your problem is speed, Michele, there must be
> something broken in your app.
>
> As Kae says, it all depends on what's causing your problem. It's
> not that easy to segfault Apache (unless it's running on Win32 ;)
> with PHP/MySQL scripts, so you must be doing something unusual, which
> you should be able to find and do another way.
>
> I've run 1M-book eCommerce sites on a 256Mb PC using LAMP, and they
> never segfaulted Apache once they were in production. They weren't
> exactly blisteringly fast, but they did the job reliably.
>
> Can you tell us what kind of app you are running?
>
It's irishblogs.info
The segfaults seem to be coming from APC ie. disabling APC and they
vanish. Unfortunately disabling APC means that I end up with a server
load of 160 ....
--
Michele Neylon
http://www.mneylon.com/blog/
http://www.irishwebmasterforum.com/
More information about the Phpug
mailing list