Measuring some Apache-PHP load issues
Hello.
I was asked to intall a PHP application on our web hosting service, which is located on some server farm outside our walls. The app runs
fine on our corporate LAN and I also tested it at home on a 2.4 GHz P4, with a humble 256 Mbs of memory but disk space to spare, running MySQL 5 and PHP 5. But a critical of part of the program doesn't run on the server farm. Any request to it just leaves an empty white page. Every type of error reporting has been turned on.
I suspect the latter to have limited ressources. I've been getting but I'm trying to get real numbers out of the load it produces before confronting the farm's owner.
Is it possible that PHP limits the number of "includes" ?
How do I know how much RAM a single request to the web server has required ? How about the disk space ?
If a request fails because of memory shortage, is there a log trapping this ? While "successful" requests (including common errors like 404's etc.) left a trace in the apache log, I could find no trace of the request when that particular problem occurs. Could a memory failure causes by PHP or MySQL cut the request in such a way that Apache drops any logging at this point ?
Thanks for any additionnal suggestions.
|