PDA

View Full Version : Question out of Curiousity


BladeOfAnduril
4-8-04, 06:17 PM
About how many websites does Powweb run on a particular server? I'm just curious.

snowmaker
4-8-04, 06:28 PM
Of course this is by no means an official answer, but from bits and pieces of various posts, I'd guess 30,000-50,000.

-b

tbonekkt
4-8-04, 06:44 PM
Whoa - no way it's 30,000-50,000. My guess is roughly 900-1100.

Jade Dragon
4-8-04, 07:37 PM
Powweb has over 50,000 customers yes, but they are not all on one server.

James
4-8-04, 07:50 PM
She's right... PowWeb reached 50,000 cusotmers a month or so ago... And they are not all on one server ( if only... would make system administration more convenient =) ) One customer's services are not even all on one server.

The number of customer on one server is irrellevant... by no means are any of our servers over loaded. It only takes one bad cgi-script to bring down a server wether it has 10 or 10,000 customer on it.

tbonekkt
4-8-04, 07:51 PM
Originally posted by James
One customer's services are not even all on one server. Well, newer customers anyways ;)

Even us older ones have some distribution. We do have mysql, http, and ftp on the same box. But you're well aware of that. :)

James
4-8-04, 07:54 PM
Thats true... but unlike a lot of CPANEL based hosts, your mail is not on the same server. Neither is DNS.

Hopefully soon we will be able to move mysql off the legacy systems an onto a dedicated machine. They seem to run much nicer on dedicated machines with more disk i/o and memeory available to them, even though using a remote socket connection is suppose to be slower than using a local socket file.

There are no plans on moving FTP off of the Legacy systems though... its not really necessary and would probably cause too much of a support nightmare.

tbonekkt
4-8-04, 07:55 PM
Originally posted by James
Thats true... but unlike a lot of CPANEL based hosts, your mail is not on the same server. Neither is DNS. Thank God! Let's not get me started on cpanel... :cool:

extras
4-8-04, 08:34 PM
Isn't good idea to put something that shows
"uptime, ps, top" type of info somewhere in OPS?

Then each user can know very easily
if their cgi is causing problem or not,
if server is loaded or not, etc...

I have a small shell script for my own need,
but it would be easier (and also safer) for many people
if PowWeb supply it.

James
4-8-04, 09:05 PM
I don't think any of that information is generally useful for most customers... most people wouldn't even know what that information was. Anyone who does want to know, as you can, can find that information out already. A high server load is not going to indicate who is at fault... nor can anyone user on our systems see any processes by other users as a security measure.

extras
4-8-04, 10:34 PM
Yeah..information is there for anyone who cares, no doubt about that.

What I thought about was a very simple presentation like Bandwidth in OPS.
I mean, a customer will see just his/her own processes only
and how many of them are running,
how heavy they are at that moment, nothing more.

Maybe I will just post the shellscript for uptime and ps instead
unless you are not so hot about that either.

James
4-8-04, 10:44 PM
If a customer wishes to use your script thats fine.. I don't have a problem with that... but most of the time if that customers own scripts are causing a problem, they won't have the available resources to run that script to see it happen in the first place...

extras
4-8-04, 11:11 PM
Originally posted by James
but most of the time if that customers own scripts are causing a problem, they won't have the available resources to run that script to see it happen in the first place...

You are right... I didn't think about that.

Hopefully, we notice any sign of problem
before reaching that point...


Anyway, the script I would propose is very simple like this.
Correct me if I did something stupid.

#!/bin/sh
# Show uptime, ps -auxww
#
# This script is for catching some sign of CPU overloading
# by your CGI program.
# Not for creating more problem by careless modification.
#

ehco "Content-Type: text/html"
echo ""
echo "<HTML><BODY bgcolor=#406060 text=#dFcFbF>"
#echo "<FONT SIZE +1>"
echo "<PRE>---- uptime -----"
/usr/bin/uptime
echo "---- ps -----"
/bin/ps -auxww
echo "---- done ----"
exit 0

snowmaker
4-9-04, 03:26 AM
Originally posted by Jade Dragon
Powweb has over 50,000 customers yes, but they are not all on one server.
oops, what was I smoking, I mean thinking.. -b