GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   change the MaxClients and ServerLimit variables in your server settings: Should the host be able to (https://gfy.com/showthread.php?t=998752)

MetaMan 11-22-2010 09:26 PM

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.

TidalWave 11-22-2010 09:27 PM

Why did they say that they couldn't?
Is it a managed server?

MetaMan 11-22-2010 10:18 PM

Quote:

Originally Posted by TidalWave (Post 17720657)
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

directfiesta 11-22-2010 10:25 PM

It takes about a minute to do that on ssh , just an config file on apache .

CYF 11-22-2010 10:26 PM

maxclients and serverlimit for apache? If it's a managed server they should definitely do it. If unmanaged, it's not difficult.

woj 11-22-2010 10:26 PM

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

baddog 11-22-2010 10:31 PM

Is it a dedicated or shared/virtual?

KillerK 11-22-2010 10:32 PM

Only issue is how many you want it changed to, it could require a recompile of apache.

MetaMan 11-22-2010 10:36 PM

Quote:

Originally Posted by baddog (Post 17720728)
Is it a dedicated or shared/virtual?

dedicated, it is not fully managed, which i have just been putting off.

MetaMan 11-22-2010 10:37 PM

Quote:

Originally Posted by woj (Post 17720722)
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.

CYF 11-22-2010 10:44 PM

apache1 or apache2?

MetaMan 11-22-2010 10:49 PM

Quote:

Originally Posted by CYF (Post 17720751)
apache1 or apache2?

2.0 prob same as 2.

CYF 11-22-2010 10:53 PM

Quote:

Originally Posted by MetaMan (Post 17720758)
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.

MetaMan 11-22-2010 10:56 PM

Quote:

Originally Posted by CYF (Post 17720768)
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.

CYF 11-22-2010 10:59 PM

Quote:

Originally Posted by MetaMan (Post 17720773)
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.

Kiopa_Matt 11-22-2010 11:07 PM

Quote:

Originally Posted by MetaMan (Post 17720741)
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.

Senior_Spank 11-22-2010 11:07 PM

Quote:

Originally Posted by MetaMan (Post 17720655)
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?

signupdamnit 11-22-2010 11:16 PM

Quote:

Originally Posted by Senior_Spank (Post 17720795)
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?

:thumbsup

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!

MetaMan 11-22-2010 11:19 PM

Quote:

Originally Posted by CYF (Post 17720779)
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 (Post 17720795)
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 11-22-2010 11:21 PM

Quote:

Originally Posted by CYF (Post 17720779)
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"

signupdamnit 11-22-2010 11:31 PM

Quote:

Originally Posted by MetaMan (Post 17720814)
"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

baddog 11-22-2010 11:34 PM

Did you raise the ServerLimit? I think if you raise that you can raise the MaxClients

edit, or what ^he^ said

CYF 11-22-2010 11:39 PM

also have you considered something like nginx instead of apache for performance?

MetaMan 11-22-2010 11:44 PM

"[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 (Post 17720839)
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.

baddog 11-22-2010 11:58 PM

I am not a tech, but you might need to recompile for it to take effect.

MetaMan 11-23-2010 12:02 AM

Quote:

Originally Posted by baddog (Post 17720862)
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.

borked 11-23-2010 12:02 AM

Quote:

Originally Posted by MetaMan (Post 17720808)
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....

TidalWave 11-23-2010 12:27 AM

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

Alky 11-23-2010 01:26 AM

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.

toor 11-23-2010 01:49 AM

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.


All times are GMT -7. The time now is 02:22 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123