Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-22-2010, 09:26 PM   #1
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
change the MaxClients and ServerLimit variables in your server settings: Should the host be able to

do this?

I was told they cannot. And i feel like my time is being wasted.

Any ideas? I am not an expert at server setups or settings, just know enough.
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 09:27 PM   #2
TidalWave
Confirmed User
 
Industry Role:
Join Date: Sep 2007
Location: Los Angeles
Posts: 2,706
Why did they say that they couldn't?
Is it a managed server?
__________________
www.SwiftNode.com
TidalWave is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 10:18 PM   #3
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
Quote:
Originally Posted by TidalWave View Post
Why did they say that they couldn't?
Is it a managed server?
They no longer have people on staff to pay a fee. which seems insane to me.

Got hooked up with a "partner" now. taking all day. bleh
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 10:25 PM   #4
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,680
It takes about a minute to do that on ssh , just an config file on apache .
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 10:26 PM   #5
CYF
Coupon Guru
 
CYF's Avatar
 
Industry Role:
Join Date: Mar 2009
Location: Minneapolis
Posts: 10,973
maxclients and serverlimit for apache? If it's a managed server they should definitely do it. If unmanaged, it's not difficult.
__________________
Webmaster Coupons Coupons and discounts for hosting, domains, SSL Certs, and more!
AmeriNOC Coupons | Certified Hosting Coupons | Hosting Coupons | Domain Name Coupons

CYF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 10:26 PM   #6
woj
<&(©¿©)&>
 
woj's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
if it's a dedicated server, just edit it yourself? or get someone from gfy to change it from you? it's not rocket science... if you want I can hook it up for a few bucks...
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 10:31 PM   #7
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
Is it a dedicated or shared/virtual?
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 10:32 PM   #8
KillerK
Confirmed User
 
Join Date: May 2008
Posts: 3,406
Only issue is how many you want it changed to, it could require a recompile of apache.
KillerK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 10:36 PM   #9
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
Quote:
Originally Posted by baddog View Post
Is it a dedicated or shared/virtual?
dedicated, it is not fully managed, which i have just been putting off.
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 10:37 PM   #10
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
Quote:
Originally Posted by woj View Post
if it's a dedicated server, just edit it yourself? or get someone from gfy to change it from you? it's not rocket science... if you want I can hook it up for a few bucks...
programmer is talking to someone i will find out in a sec. i was pretty surprised. i thought it was a pretty basic thing you could pay to get done. i mean if they have managed techs on staff you would think one would cross over guess not.
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 10:44 PM   #11
CYF
Coupon Guru
 
CYF's Avatar
 
Industry Role:
Join Date: Mar 2009
Location: Minneapolis
Posts: 10,973
apache1 or apache2?
__________________
Webmaster Coupons Coupons and discounts for hosting, domains, SSL Certs, and more!
AmeriNOC Coupons | Certified Hosting Coupons | Hosting Coupons | Domain Name Coupons

CYF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 10:49 PM   #12
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
Quote:
Originally Posted by CYF View Post
apache1 or apache2?
2.0 prob same as 2.
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 10:53 PM   #13
CYF
Coupon Guru
 
CYF's Avatar
 
Industry Role:
Join Date: Mar 2009
Location: Minneapolis
Posts: 10,973
Quote:
Originally Posted by MetaMan View Post
2.0 prob same as 2.
there's probably a hard limit compiled in. Probably around 512. But the MaxClients should come pre-configured lower than that and you can increase it easily without recompiling. You'll have to edit the httpd-mpm.conf file. Mine's at: /usr/local/etc/apache22/extra/httpd-mpm.conf but yours might be somewhere else.
__________________
Webmaster Coupons Coupons and discounts for hosting, domains, SSL Certs, and more!
AmeriNOC Coupons | Certified Hosting Coupons | Hosting Coupons | Domain Name Coupons

CYF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 10:56 PM   #14
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
Quote:
Originally Posted by CYF View Post
there's probably a hard limit compiled in. Probably around 512. But the MaxClients should come pre-configured lower than that and you can increase it easily without recompiling. You'll have to edit the httpd-mpm.conf file. Mine's at: /usr/local/etc/apache22/extra/httpd-mpm.conf but yours might be somewhere else.
thanks! we are looking through.

our hard limit is at like 256 i know from before. bleh. i hate when small problems cost you money.
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 10:59 PM   #15
CYF
Coupon Guru
 
CYF's Avatar
 
Industry Role:
Join Date: Mar 2009
Location: Minneapolis
Posts: 10,973
Quote:
Originally Posted by MetaMan View Post
thanks! we are looking through.

our hard limit is at like 256 i know from before. bleh. i hate when small problems cost you money.
do you know how to ssh to your server and su to root? If so I can walk you thru this in a couple of minutes dude.
__________________
Webmaster Coupons Coupons and discounts for hosting, domains, SSL Certs, and more!
AmeriNOC Coupons | Certified Hosting Coupons | Hosting Coupons | Domain Name Coupons

CYF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 11:07 PM   #16
Kiopa_Matt
Confirmed User
 
Industry Role:
Join Date: Oct 2007
Posts: 1,448
Quote:
Originally Posted by MetaMan View Post
dedicated, it is not fully managed, which i have just been putting off.
If it's dedicated, then it's a whopping 10 second change.

If it was managed, I can understand the host's reluctance to raise the limits. Need to run a tight ship, and all that.
__________________
xMarkPro -- Ultimate Blog Network Management
Streamline your marketing operations. Centralize management of domains, pages, Wordpress blogs, sponsors, link codes, media items, sales and traffic statistics, plus more!
Kiopa_Matt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 11:07 PM   #17
Senior_Spank
Registered User
 
Join Date: Aug 2006
Posts: 63
Quote:
Originally Posted by MetaMan View Post
do this?

I was told they cannot. And i feel like my time is being wasted.

Any ideas? I am not an expert at server setups or settings, just know enough.
1) There is no 256 hardlimit. (That's the default MaxClients in config)

2) This should take about 20 seconds with SSH.

3) Why do you think you need to change these? Are you peaking out on your connects or you read somewhere that it's good for performance?
Senior_Spank is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 11:16 PM   #18
signupdamnit
Confirmed User
 
signupdamnit's Avatar
 
Industry Role:
Join Date: Aug 2007
Posts: 6,697
Quote:
Originally Posted by Senior_Spank View Post
1) There is no 256 hardlimit. (That's the default MaxClients in config)

2) This should take about 20 seconds with SSH.

3) Why do you think you need to change these? Are you peaking out on your connects or you read somewhere that it's good for performance?


I think the real hard limit (without a recompile) for ServerLimit is actually 20,000. He'll probably be fine just changing his config files as I doubt he needs that.

...Though the host may not be managed, by giving you this run around and loopy explanations it is possibly indicative of a poor quality host...unless they did explain it well but you misunderstood. As the others have said this is a two minute job which can be done remotely over ssh. I knew how to do such a thing when I was like 14 years old. Your host out to know this too!

Last edited by signupdamnit; 11-22-2010 at 11:18 PM..
signupdamnit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 11:19 PM   #19
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
Quote:
Originally Posted by CYF View Post
do you know how to ssh to your server and su to root? If so I can walk you thru this in a couple of minutes dude.
im finding out everything atm.


Quote:
Originally Posted by Senior_Spank View Post
1) There is no 256 hardlimit. (That's the default MaxClients in config)

2) This should take about 20 seconds with SSH.

3) Why do you think you need to change these? Are you peaking out on your connects or you read somewhere that it's good for performance?
we are def peaking them out, our server is real time stats, so every second the server is getting hammered per user.
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 11:21 PM   #20
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
Quote:
Originally Posted by CYF View Post
do you know how to ssh to your server and su to root? If so I can walk you thru this in a couple of minutes dude.
"basically the hard limit on our server is 256 the MaxClients was 150 as default but I raised it already to 256 now I need to set it higher but for that I need to raise the hard limit when I change it in the conf files I still cant raise the MaxClients above 256"
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 11:31 PM   #21
signupdamnit
Confirmed User
 
signupdamnit's Avatar
 
Industry Role:
Join Date: Aug 2007
Posts: 6,697
Quote:
Originally Posted by MetaMan View Post
"basically the hard limit on our server is 256 the MaxClients was 150 as default but I raised it already to 256 now I need to set it higher but for that I need to raise the hard limit when I change it in the conf files I still cant raise the MaxClients above 256"
They need to raise ServerLimit above 256 too. HAve them read this entire thread (Especially the last three replies) :
http://www.forum.psoft.net/showthread.php?p=149011

Last edited by signupdamnit; 11-22-2010 at 11:33 PM..
signupdamnit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 11:34 PM   #22
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
Did you raise the ServerLimit? I think if you raise that you can raise the MaxClients

edit, or what ^he^ said
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 11:39 PM   #23
CYF
Coupon Guru
 
CYF's Avatar
 
Industry Role:
Join Date: Mar 2009
Location: Minneapolis
Posts: 10,973
also have you considered something like nginx instead of apache for performance?
__________________
Webmaster Coupons Coupons and discounts for hosting, domains, SSL Certs, and more!
AmeriNOC Coupons | Certified Hosting Coupons | Hosting Coupons | Domain Name Coupons

CYF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 11:44 PM   #24
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
"[I added the line ServerLimit 512 in httpd.conf but I still get the error saying that the max is 256 for when I try to change MaxClients"

I cant believe they dont have someone i can pay to do this bleh. better go managed.

appreciate everyones help.

Quote:
Originally Posted by CYF View Post
also have you considered something like nginx instead of apache for performance?
honestly i havent even had the time, this project was a touch behind and we had to shove it out the door, we are dealing with the growth as we go. smaller and smaller bugs are coming up so i am less worried. i just dont like losing money

i am going to expand my setup here when i have a chance to breath.

Last edited by MetaMan; 11-22-2010 at 11:46 PM..
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2010, 11:58 PM   #25
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
I am not a tech, but you might need to recompile for it to take effect.
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2010, 12:02 AM   #26
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
Quote:
Originally Posted by baddog View Post
I am not a tech, but you might need to recompile for it to take effect.
ok appreciated, we are gonna get managed tom i think. if we cant get it overnight we cant.
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2010, 12:02 AM   #27
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
Quote:
Originally Posted by MetaMan View Post
we are def peaking them out, our server is real time stats, so every second the server is getting hammered per user.

before you go increasing things, you should find out if all your current clients are getting maxed out...

I would suggest enabling /server-status (and extended server-status) - in your main apache conf (eg /etc/httpd/conf/httpd.conf), which you are having trouble editing :P

Code:
ExtendedStatus On
<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from YOUR.IP.ADDRESS
</Location>
reload apache (apachectl graceful)

then hit up your server in a browser
http://domain.com/server-status

here's an example on a server getting 7million+ hits per day:

Code:
Current Time: Monday, 22-Nov-2010 22:52:00 PST
Restart Time: Sunday, 21-Nov-2010 12:14:42 PST
Server uptime: 1 day 10 hours 37 minutes 18 seconds
Total accesses: 12477227 - Total Traffic: 5.1 GB
CPU Usage: u362.83 s40.11 cu2.06 cs0 - .325% CPU load
100 requests/sec - 43.2 kB/second - 442 B/request
12 requests currently being processed, 22 idle workers

C___C_______.__R_.RW_CC__.____CC__.RR.R.........................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
....
As you can see there are lots of idle children ready to take up the slack if/when there's a surge....
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202

Last edited by borked; 11-23-2010 at 12:06 AM..
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2010, 12:27 AM   #28
TidalWave
Confirmed User
 
Industry Role:
Join Date: Sep 2007
Location: Los Angeles
Posts: 2,706
You need to recompile with prefork mpm to raise maxclients / serverlimit above 256
It is NOT just the config file as some misinformed posters said above
__________________
www.SwiftNode.com
TidalWave is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2010, 01:26 AM   #29
Alky
Confirmed User
 
Alky's Avatar
 
Join Date: Apr 2002
Location: Houston
Posts: 5,651
If you need a good server admin who we use for our rack let me know. Costs about $100/mo/server and he does backups, updates, and it includes a few hours a month of custom work.
Alky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-23-2010, 01:49 AM   #30
toor
Registered User
 
Industry Role:
Join Date: Nov 2007
Location: /root
Posts: 9
what control panel is the server running?

You can find a admin on WHT they start from around $30+ and you can get them to optimize the server for you.
toor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.