Re: [PHP] CPU usage @5% during 2 minutes

2004-10-20 Thread Marek Kilimajer
Janke Dvid wrote: 2004-10-20, sze keltezssel 00:19-kor Ed Lazor ezt rta: How any rows are you pulling from the database? aprrox. 12.000 but there are only around 50-100 new rows at a maximum within a day, and there were almost as many before the problem appeared. You're creating a form with

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-20 Thread Janke Dávid
2004-10-20, sze keltezssel 00:19-kor Ed Lazor ezt rta: How any rows are you pulling from the database? aprrox. 12.000 but there are only around 50-100 new rows at a maximum within a day, and there were almost as many before the problem appeared. You're creating a form with over

Re: [PHP] CPU usage @5% during 2 minutes

2004-10-20 Thread Janke Dávid
HLP! This becomes more and more strange. Aftar I was really happy, that the code runs fast again, the customer sent an e-mail that is still slow. So I logged in into his network and everything was ok for me, but when they tried to use the program, I still saw (using top),

Re: [PHP] CPU usage @5% during 2 minutes SOLVED

2004-10-20 Thread Janke Dávid
Hi all! After 2 weeks of sleepless nights and visiting the customer three times (once on saturday) the problem is solved. The thing was: The new, 20 year old administrator guy set all clients to use the local network via the proxy. And the proxy wasn't able to handle the approx. 1,5MB huge web

Re: [PHP] CPU usage @5% during 2 minutes

2004-10-20 Thread Greg Donald
On Wed, 20 Oct 2004 14:59:01 +0200, Janke Dávid [EMAIL PROTECTED] wrote: HLP! In my experience the most common network slowdown issues involve overloaded isp DNS servers. I'd do a few nslookups and see how responsive their nameservers are. You can easily add 4-5 seconds

Re: [PHP] CPU usage @5% during 2 minutes SOLVED

2004-10-20 Thread Matt M.
The thing was: The new, 20 year old administrator guy set all clients to use the local network via the proxy. And the proxy wasn't able to handle the approx. 1,5MB huge web pages. good that the problem is solved. Not sure if you know or not but you could probably cut the size of the page

[PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Janke Dávid
Dear php list! I have a real big and strange problem I ran into few weeks ago. One of my clients complained, that the intranet software began to run very slow, almost unusable. Since then I have almost tried everything to get the thing work. The facts: On P3 architecture systems (I have tried 3,

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Ed Lazor
The most strange thing is, that the problem appeared at a time, when no changes to the program was made. ANYBODY RAN INTO SOME SIMILAR THING? I haven't run into this, but it'll be easier to help troubleshoot this if you could post sample code. Ed Lazor, President http://RPGStore.com

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Janke Dávid
The sample code (in seperate, this piece of code runs with normal speed, but it is this part which runs slowly when executed as a whole, everything else is fast): $sqlquery = SELECT sh_Number, sh_Status FROM service_sheet ORDER BY sh_Number DESC; $result = mysql_query($sqlquery)

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Jennifer Goodie
-- Original message from Janke Dávid : -- The sample code (in seperate, this piece of code runs with normal speed, but it is this part which runs slowly when executed as a whole, everything else is fast): $sqlquery = SELECT sh_Number, sh_Status FROM

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Janke Dávid
How any rows are you pulling from the database? aprrox. 12.000 but there are only around 50-100 new rows at a maximum within a day, and there were almost as many before the problem appeared. What's the very last part of the code: .$_OR? There is a switch, some echoes and a db_close; Have

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Janke Dávid
2004-10-19, k keltezssel 23:38-kor Jennifer Goodie ezt rta: -- Original message from Janke Dvid : -- The sample code (in seperate, this piece of code runs with normal speed, but it is this part which runs slowly when executed as a whole, everything else is

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Ed Lazor
How any rows are you pulling from the database? aprrox. 12.000 but there are only around 50-100 new rows at a maximum within a day, and there were almost as many before the problem appeared. You're creating a form with over 12,000 options in a select statement? What's the very last

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Janke Dávid
2004-10-20, sze keltezssel 00:19-kor Ed Lazor ezt rta: How any rows are you pulling from the database? aprrox. 12.000 but there are only around 50-100 new rows at a maximum within a day, and there were almost as many before the problem appeared. You're creating a form with over

Re: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread raditha dissanayake
Janke Dávid wrote: Dear php list! I have a real big and strange problem I ran into few weeks ago. One of my clients complained, that the intranet software began to run very slow, almost unusable. Since then I have almost tried everything to get the thing work. Install xdebug. It will help you