User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 423,546 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,026 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1378 | Replies: 0
Join Date: May 2006
Posts: 1
Reputation: BigChase is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
BigChase BigChase is offline Offline
Newbie Poster

How many PHP scripts can run concurrently via http request?

  #1  
May 16th, 2006
I understand that many php scripts can run concurrently and that the actual limit is determined by hardware. However, I have written a script that benchmarks a mysql database application and am finding that only two instances of the script will run at a time when executed via an http request.

When the script is executed four times simultaneously from four different shell sessions, all four instances execute at the same time and finish at approximately the same time.

When the script is executed simultaneously from four different browser sessions on the same client machine, only two instances execute at a time. The third and fourth instances wait for the first and second instances to complete before executing. Why is this? Is this a hard limit or a configurable limit? Is the limit related to php an/dor Apache?
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 5:55 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC