So let's assume for a minute that you are hitting the 20 processes limit. A process is basically a worker. You can have one huge worker that does everything or you can have millions of workers that each do a little bit. There are arguments about which is better, but as with most things the best answer is usually somewhere in the middle. So let's list the processes that we know are working.Charles L. Cotton wrote:This one, http://www.TexasShooting.com and one other for a friend. TexasShooting.com is not active and the other site sees little traffic. Does "20 simultaneous processes" mean only 20 "searches" can be active at any one time?Kalrog wrote:I know what it means... but I am having a problem understanding why this site would consume more than that. Or do you have multiple sites all being run from the same hosting platform (I would bet that you do).Charles L. Cotton wrote:
- 65MB of memory per script
180seconds per script execution
20 simultaneous processes
Chas.
1) A web server process (Apache or IIS depending on your OS but since this forum is PHP I will assume it is a Linux host running Apache).
2) This forum is at least one process
3) The database is at least one process
Beyond that it is tough for me to know exactly how many are running. Take one example of running a search or even just requesting a page. This forum is DB driven. So there is almost certainly a process that does the communication between the web server (Apache) and the database (probably MySQL). Here is where it gets tricky. There is something called connection pooling which allows the website to check to see if there is an open connection to the database already, and if there is it will use that one. If not, then it will create one. The alternative is for each page view or search to open its own connection to the database and then close it when it is done. I could try (and probably fail) to explain exactly when one is better than the other, but let's just say that they each have their benefits and that there is no one right answer. People get paid lots of money to set these things up for a reason.
With that said, it sounds like you need to head down the path of reducing the number of processes running because I haven't seen anything to make me even suspect that you could possibly be hitting the other 2 limitations that you mentioned. If you want to PM or email me some software specifics (or I can just go dig and probably find them) I can do some of that checking for you. Are there any other limitations that you might be hitting?