Web Hosting Talk







View Full Version : Client takes all the resources


microsol
10-13-2001, 01:41 PM
Hi,
one of my clients takes ALL (12 A4 pages long) connections of the server making it impossible for others to connect even to the server. Is there any solution without moving him to another more powerfull server or disabling his account?

cperciva
10-13-2001, 01:59 PM
How exactly is he using all these connections?

microsol
10-13-2001, 07:41 PM
He's (his clients) using all possible apache connections. Server load is only between 0.5 and 1 but when another client connects it says recource temporary unavailable. Doing a netstat shows hundreds http connections to his IP on the server. I just made a calculation and found out (with MTRG) that he will use 320 Gigs a month if this goes on :eek:

cperciva
10-13-2001, 07:47 PM
Originally posted by microsol
He's (his clients) using all possible apache connections.

In that case, maybe increasing the MaxClients setting in Apache would be a good idea? It sounds like your server can handle the load, as long as Apache spawns enough processes.

I just made a calculation and found out (with MTRG) that he will use 320 Gigs a month if this goes on :eek:

That's not really very much. Unless there is a large amount of dynamic content a modern, well-configured, uniprocessor IDE server should be able to handle between 5 and 10 times that load without any problems.

microsol
10-13-2001, 09:58 PM
Originally posted by cperciva


In that case, maybe increasing the MaxClients setting in Apache would be a good idea? It sounds like your server can handle the load, as long as Apache spawns enough processes.



That's not really very much. Unless there is a large amount of dynamic content a modern, well-configured, uniprocessor IDE server should be able to handle between 5 and 10 times that load without any problems.

I don't think this would help. He's hosting an adult site which get's hundreds of hit's a second.
I know that the server can handle the load but the client only contracted 10 Gigs a month and he transfering what i mentioned. I am not concerned about this problem cause we have this in our TOS :D

Jag
10-13-2001, 10:18 PM
Well suspending or restricting this client probably will give you the same results, the client will leave. If his site truly uses that much then he simply needs to consider a dedicated server of his own. Otherwise neither of you will be happy with the results of a overloaded server or resticted access.

microsol
10-14-2001, 07:31 AM
Originally posted by Jag
Otherwise neither of you will be happy with the results of a overloaded server or resticted access.

Of course not. And you also would not be happy . I sign up with you for a 10GB/month account and then i get a some millions of hits per month transfering 30 times more than contracted. If the client would have told us forehand we would have offered him a dedicated server. You just cannot put a site like he has on a server together with other peoples accounts. It's condemned to get wrong.

cperciva
10-14-2001, 07:36 AM
Given that the problem just seems to be that this person is using far more bandwidth than they've paid for, why don't you 1. tell them how much bandwidth they've used so far, 2. remind them of the 10GB limit, 3. notify them that unless they pay for the extra bandwidth you'll have to remove their account, and 4. either be very happy with all the extra money (if they pay up) or remove the account.

I don't really see what the big question is here... I mean, obviously if someone is using more bandwidth than they've paid for you should do something about it.

microsol
10-14-2001, 08:25 AM
Originally posted by cperciva
Given that the problem just seems to be that this person is using far more bandwidth than they've paid for, why don't you 1. tell them how much bandwidth they've used so far, 2. remind them of the 10GB limit, 3. notify them that unless they pay for the extra bandwidth you'll have to remove their account, and 4. either be very happy with all the extra money (if they pay up) or remove the account.

I don't really see what the big question is here... I mean, obviously if someone is using more bandwidth than they've paid for you should do something about it.

Ok they've contracted 10 gigs and we really don't have a problem if he uses 30 gigs or 50 instaed of 10. He's just getting an extra bill according to the hosting plan and then it's his problem to pay for it or to get kicked. But +300 goes too far then.
BTW: Has anybody successful modified the apache resource limit option in webmin (Processes and Limits inside the virtual host option)? If yes, please PM me. Thx

allera
10-14-2001, 10:36 AM
We have one guy that has quite the popular site. He initially signed up for 10 gigs, this by early Oct all 10 gigs were gone, so he upgraded to 20 gigs. That might fit him for another month or two, when he'll need to upgrade again. I told him that anything over 20 gigs with that many constant hits will have to be on a dedicated server. Just talk to your customers and make sure they understand what's going on. Just blindly letting them go over and then billing them could cause problems in the end (them not paying, you having to do everything you can to get them to pay, etc). If you let the customer know what's going on, perhaps they'll purchase a dedicated server plan from you and everyone will be happy...