[consulting] Server Specs
Larry Garfield
larry at garfieldtech.com
Mon Apr 4 01:03:09 UTC 2011
Another thing to check: I have run into servers before where, for
reasons I could never explain, PHP itself ran insanely slow. It wasn't
that Drupal was slow per se but the time it took the computer to execute
a given line of PHP code was longer than it had any right to be.
Make yourself a simple test script that makes a random array of about
10,000 numbers and then sorts them. Run it a dozen times or so on your
computer, then on your test site, then on the production server. See if
the numbers are what you'd expect. If the production server is notably
slower than the others, that indicates that the server is broken some how.
I've only run into that situation once and never did figure out what was
wrong with the server (it was the client's server and they refused to
believe that it was a problem with their PHP configuration, especially
when other vhosts on the same box were fine), but it's a really quick
thing to check to see if the host you're on is any good.
--Larry Garfield
On 03/31/2011 10:43 AM, Joe Hyde wrote:
> Here's the huge secret 2-step for tuning VPS systems. (Personally, I
> use the mediatemple VE cloud servers with Ubuntu. Love it. Hammer
> http://www.sanangelolive.com and see if it's slow (-;)
>
> 1. Without doing much of anything, tune your httpd.conf to these specs:
> http://drupal.org/node/215516
>
> 2. If you are really, really ambitious, trying installing Project
> Mercury... These are the most complete instructions and work on just
> about any clean install of Ubuntu Lucid:
> http://library.linode.com/application-stacks/project-mercury/ubuntu-10.04-lucid-print
>
> Joe Hyde
> Hyde Interactive
> http://www.sanangelolive.com/
> (214) 893-6791
>
>
> On Thu, Mar 31, 2011 at 9:03 AM, Fred Jones<fredthejonester at gmail.com> wrote:
>>>>> I turned on devel and I see page execution times of 3 seconds on
>>>>> average, however. I think that's very high. I will try to analyze if I
>>>>> can and see what's slowing down this site, but in the meantime here
>>>>> are my questions:
>> Thanks for the responses. Seems MySQL is not the culprit because this
>> is typical for an authenticated user:
>>
>> Page execution time was 3455.42 ms. Executed 540 queries in 69.4 milliseconds.
>>
>> They anyway have ordered a new VPS from a big-name host and we will
>> try it there and see if it's automatically a lot better. After that I
>> will try to look and see what else can be fixed. I will look into the
>> suggestions made here.
>>
>> Thanks,
>> Fred
>> _______________________________________________
>> consulting mailing list
>> consulting at drupal.org
>> http://lists.drupal.org/mailman/listinfo/consulting
>>
>
>
More information about the consulting
mailing list