Re: CPU usage @5% during 2 minutes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HEEEEEEEEEEEEEEEEEEEEEEEELP!

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), that the CPU
usage is still @5% (highest value).
So I began to use the debug log of apache, and see what happened (LOOK
AT THE LAST NUMBER, WHICH SHOWS HOW LONG THE SCRIPT RUN):

In this case I was using it from the localhost:
10.36.0.5 - - [20/Oct/2004:14:27:25 +0200] "GET
/form.php?op=reprint_form_sel HTTP/1.1" 200 1478211 "-" "Links (0.99;
Linux 2.6.8-1-686 i686; 80x24)" 17970 3

In this case I was using it from another host in the network (actually
the proxy):
10.36.0.2 - - [20/Oct/2004:14:23:33 +0200] "GET
/bizerba/form.php?op=select_form HTTP/1.0" 200 1473492 "-"
"Lynx/2.8.5rel.1 libwww-FM/2.14
SSL-MM/1.4.1 GNUTLS/0.8.12" 17969 7

In this case the some other client was using it from the network:
10.36.0.2 - - [20/Oct/2004:14:33:23 +0200] "GET
/bizerba/form.php?op=select_form HTTP/1.0" 200 1473492 "-" "Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1)" 17970 36

No, it is not the network, which is slow!

Is it possible, that all clients (except me) are accessing it throug a
proxy and some proxy settings were changed, so the webserver is running
slower? (of course this wouldn't excplain the fact, the the code ran
slower on other machines too).

David

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux