Hello all.
I REALLY need help.
I have a rather large 3-tiers application written in PHP and Corba. Datas are handled by PHP class, using inheritance.
Therefore, I have large include files for definitions (define()) and class definition.
Apparently, if I do a single call to the script (which only does the includes of the class def and so on) throught the net (using apache 1.3.9 and php 4.0.6) I get an execution time of about 5 sec. If I send 10 request in parallel (using wget <url> &), I get an execution time of 50 sec for all apache instance !!! I was expecting something like 5, 8, 10, ..., 30 sec per apache instance.
It behaves just like if the includes files where locked by each instance , thus the others waiting to complete.
I have more than one class per file (like class A ... class B extends class A, etc.).
So my questions are:
- Does anyone as seen such effetcs ?
- Is there any lock mechanism during the parse time ?
- If not, is there any problem with large and multiple class per file ?
- Is there any problems with class parsing (I can not find any relevant information about that)?
- I am using FreeBSD, what tools can I use to monitor apache process and try to find where does this fu.... apache spend its time ?
THANKS a lot for all help
daniel GARRIVIER