Re: Performance issues
| From: | KaReL | Date: | Thu, 12 Dec 2002 12:29:18 +0000 |
| Subject: | Re: Performance issues | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127984@lists.php.net to get a copy of this message | ||
1megabyte of code :)
not 1M lines
sorry about that confusion there
and the problem began slow, not noticable... But it's now worse then ever.
"Jon Haworth" <jhaworth@witanjardine.co.uk> wrote in message
news:67DF9B67CEFAD4119E4200D0B720FA3F0241E995@BOOTROS...
> Hi Karel,
>
> > mysql entries: at least 2M
> > php code: at least 1M lines
>
> More than a million lines of code? That's a *big* app.
>
> > And now we are experiencing a really heavy
> > load on the server. (no root access, but we think
> > it's PHP).
>
> You're running it on a server with no root access? Is it a shared server?
If
> you're running a >1,000,000 LOC app I'd expect it to have enough traffic
> that a dedicated box would be a necessity.
>
> Have you looked at the output from top when the load is getting too heavy?
> This will tell you which processes are tying up the processor.
>
> Did the heavy load happen immediately after your code change? If so then
> that might be a culprit... are there any chunks of code you can roll back
to
> the old version to see if the load decreasese? (e.g. have you modified a
bit
> to use a *lot* of string concatenation, or something?)
>
> Cheers
> Jon