How many clients can access a PHP script at a time?

Reply

Join Date: Sep 2004
Posts: 25
Reputation: billah_norm is an unknown quantity at this point 
Solved Threads: 0
billah_norm billah_norm is offline Offline
Light Poster

How many clients can access a PHP script at a time?

 
0
  #1
Nov 8th, 2004
Hi all,
I have a question.
How many clients can access a PHP script at a time?

Suppose, I have a database site written in PHP. I have used MySQL. Then How many clients can access that database through PHP as a midlware??

Can anybody answer this or help or suggest me?

Thanks.
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 1,620
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 51
Team Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: How many clients can access a PHP script at a time?

 
0
  #2
Nov 8th, 2004
Hello,

I *think* that is is going to be determined by how many threads you have enabled on your webserver, such as apache or IIIIS. You might be more interested in how many threads may be open instead of a client. For example, I could be 1 client, but accessing 10 different pieces of information on your website. Or 1 client downloading a bunch of little .gif files at the same time.

Christian
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 14
Reputation: fpepito is an unknown quantity at this point 
Solved Threads: 1
fpepito fpepito is offline Offline
Newbie Poster

Re: How many clients can access a PHP script at a time?

 
0
  #3
Nov 8th, 2004
Hi billah_norm,

1. On PHP
I have search but found nothing, I think that is the limitation coming from Apache
/etc/httpd/conf.d/php.conf
/etc/php.ini

2. On MySQL you have a variable:
> mysqladmin variables
[...]
max_connections = 100
[...]

3. On Apache look on file /etc/httpd/conf/httpd.conf
# StartServers: number of server processes to start
StartServers 8
# MinSpareServers: minimum number of server processes which are kept spare
MinSpareServers 5
# MaxSpareServers: maximum number of server processes which are kept spare
MaxSpareServers 20
# MaxClients: maximum number of server processes allowed to start
MaxClients 150
# MaxRequestsPerChild: maximum number of requests a server process serves
MaxRequestsPerChild 1000
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 25
Reputation: billah_norm is an unknown quantity at this point 
Solved Threads: 0
billah_norm billah_norm is offline Offline
Light Poster

Re: How many clients can access a PHP script at a time?

 
0
  #4
Nov 9th, 2004
Thanks you all..

I had a experience of a website coded in PHP. that was a student result database site. specially used for publishing national certications exam in my country. the results are used to publish at a fixed date that was pre-defined. So the site got a lot of access request from clinets or searchers. in this situation the site fails to fetch the result for individual requests. why did this happens? that is why i have rised that question!

may i ask questions anymore??
1. was this occur for low bandwidth of the lines?
2. was this happened for database server limitations??

thanks again..
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC