Re: Re: Strain testing
| From: | Tom Carter | Date: | Fri, 07 Sep 2001 20:13:48 +0000 |
| Subject: | Re: Re: Strain testing | ||
| References: | 1 | Groups: | php.db php.general |
| Request: | Send a blank email to php-general+get-66464@lists.php.net to get a copy of this message | ||
Was they don't tell yuo and can be a big factor is the contention for
resources (CPU time and RAM).... if these are short then your site will
chug... this is often the case with cheap providers that cram domains onto
an underpowered box
----- Original Message -----
From: "Seb Frost" <seb@raceshoot.com>
To: "Doug Granzow" <dig@cynosure.net>; <php-general@lists.php.net>;
<php-db@lists.php.net>
Sent: Friday, September 07, 2001 8:46 PM
Subject: RE: [PHP] Re: Strain testing
> It may well be. Last night was particularly screwy. Every page on my
site
> was returning a 404 and my FTP password was allegedly invalid - I mean,
> wtf?!! Another time I've been getting "too many links open" even though I
> use mysql_close() at the end of every script. And most often is my
queries
> failing left right and centre. Maybe it's their database server that is
> screwy.
>
> The thing is they're very well priced for what they offer. I think it's
> £6.99 a month I'm Paying ($10ish) and I get 300MB space, 10GB/month, php
> 4.0.6, mysql, unlimited pop3 etc
>
> I just can't afford to pay for an account with 200+MB at all of the places
> suggested, they seem to think no one could need mre than 100mb.
>
> - seb
>
> -----Original Message-----
> From: Doug Granzow [mailto:dig@cynosure.net]
> Sent: 07 September 2001 20:42
> To: php-general@lists.php.net; php-db@lists.php.net
> Subject: [PHP] Re: Strain testing
>
>
> What are the errors, exactly? It may very well be your web hoster.
>
> "Seb Frost" <seb@raceshoot.com> wrote in message
> news:BAELJLBLJPDMDLJLPGGMGEAOCIAA.seb@raceshoot.com...
> > My website frequently seems to be hugely slow or chuck out loads of
> > php/mysql errors. Initially i thought this the fault of my web hoster,
> but
> > they're so big and popular I can't believe this is caused by them.
> >
> > Which leads me to think maybe the problems are caused when a certain
> number
> > of people are trying to access the page simultaneously? How can I test
> for
> > this?
> >
> > 1) Is there any site/software that will perform a "strain test" or
> similar?
> > 2) What precautions should I take in dealing with my mysql database to
> > minimise any problems?
> > 3) What precautions should I take in dealing with my php scripts to
> minimise
> > any problems?
> >
> >
> > For example. Each page I have loads a header.php4 and a footer.php4
with
> > the content inbetween. I open a MySQL connection in header.php4 and
close
> > it in footer.php4. Is this good practice, or should I open and close it
> as
> > and when I need it? 90% of my pages require database interaction so it
> > seemed like a good idea at the time......
> >
> >
> >
> > - seb
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>