Search found 3 matches

by Kalrog
Wed Oct 17, 2007 8:00 pm
Forum: Site Announcements, Questions & Suggestions
Topic: 500 Sever Error
Replies: 20
Views: 3420

Charles L. Cotton wrote:
Kalrog wrote:
Charles L. Cotton wrote:
  • 65MB of memory per script
    180seconds per script execution
    20 simultaneous processes
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).
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?

Chas.
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.

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?
by Kalrog
Wed Oct 17, 2007 4:36 pm
Forum: Site Announcements, Questions & Suggestions
Topic: 500 Sever Error
Replies: 20
Views: 3420

Charles L. Cotton wrote:
  • 65MB of memory per script
    180seconds per script execution
    20 simultaneous processes
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).
by Kalrog
Fri Oct 12, 2007 3:44 pm
Forum: Site Announcements, Questions & Suggestions
Topic: 500 Sever Error
Replies: 20
Views: 3420

Contact them then - I just got it for the first time at 15:41 (3 minutes ago).

Return to “500 Sever Error”