![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jan 2003
Location: FL, NC(I burned this down), MI
Posts: 1,193
|
![]() I just purchased my fifth server from EV1.net and it is slower than ever.
I have 300 clients downloading from one of my main site through this server (only one site on this server) Intel Dual Xeon 2.4 Server with 2000gb transfer. How can I optimize this to handle 600 or more at one time? Is there a managment company that can do this for me? help, I'm losing sales. ![]()
__________________
don't rent the top room at the Luxor ______________________ ![]() Debbie Nomad's Evil Hobby |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Apr 2003
Location: Quebec Calisse
Posts: 4,716
|
redirect all your traffic to my sites
it will solve the problem ;) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Apr 2001
Location: Michigan
Posts: 4,488
|
Might try getting a MANAGED host instead of ev1
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Let's do some business!
Industry Role:
Join Date: Sep 2004
Location: Austin, TX
Posts: 31,329
|
There are a few management companies that could help you, or you could hire a tech to fix your problem. Talk to JFPDude, he may be able to help you out.
__________________
Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted Windows VPS now available Great for TSS, Nifty Stats, remote work, virtual assistants, etc. Click here for more details. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Jan 2005
Posts: 794
|
What OS do you run?
I could help ya for a price
__________________
I am a marketing Genius. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Aug 2004
Location: Boston
Posts: 3,070
|
I would suggest JFPDude too. Might want to switch hosts too but that is your choice.
__________________
Looking to buy established paysites contact me [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Jan 2003
Location: FL, NC(I burned this down), MI
Posts: 1,193
|
OS - Linux Ensim Pro for Red Hat Enterprise
I only upload twice per day to my three servers that handle my TGP gallery posts. This is the only thing these servers do, gallery submissions. 300 users on one server seem small, but I don't know much about this subject. all I know is how to get traffic.
__________________
don't rent the top room at the Luxor ______________________ ![]() Debbie Nomad's Evil Hobby |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Jan 2005
Posts: 794
|
Quote:
Could you define users. Are they clients that use some sort of submit script through your site/server?
__________________
I am a marketing Genius. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
H.B.I.C.
Industry Role:
Join Date: Jun 2003
Location: NC
Posts: 30,122
|
Here's a bump.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Industry Role:
Join Date: Dec 2003
Location: AZ
Posts: 1,724
|
Kill your KeepAlives maybe? I know those slowed my server down a lot.
__________________
Cary | AIM: cheesefrog | ICQ: 4287002 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
Quote:
hah. you need to learn how to tweak apache.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Jan 2003
Location: FL, NC(I burned this down), MI
Posts: 1,193
|
what company can twik my apche?
__________________
don't rent the top room at the Luxor ______________________ ![]() Debbie Nomad's Evil Hobby |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: May 2004
Location: New Jersey
Posts: 604
|
You have to change your Apache HARD_SERVER_LIMIT and update httpd.conf to handle more requests.... hire a Linux System Admin
__________________
Get you some vibrators for women now! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Jan 2003
Location: FL, NC(I burned this down), MI
Posts: 1,193
|
Fris - I get a lot of hits. 205,720,166 today so far. Sessions is what I have to deal with 18,057 today so far.
__________________
don't rent the top room at the Luxor ______________________ ![]() Debbie Nomad's Evil Hobby |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Registered User
Join Date: Mar 2003
Posts: 41
|
Quote:
or maybe you should hire someone to do it for you . |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Industry Role:
Join Date: Apr 2003
Location: Quebec Calisse
Posts: 4,716
|
18k sessions isnt suppose to cause load on 1 servers if you tweak it correctly...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Join Date: Oct 2003
Posts: 3,191
|
i had similar issues and juicy links referred me to JFPdude and he fixed.
note: these were servers setup by webair, and as others have stated you need your apache custom tuned for load. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Confirmed User
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
|
![]() If this is still an issue hit me up on ICQ 4433144 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
Quote:
icq me 283914791
__________________
![]() 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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Join Date: Jan 2003
Location: FL, NC(I burned this down), MI
Posts: 1,193
|
thanks borked but I just spoke with the master - JFPdude
again thanks GFY for the correct information.
__________________
don't rent the top room at the Luxor ______________________ ![]() Debbie Nomad's Evil Hobby |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
ICQ 1 6 7 8 5 3 4 9 2
Join Date: Feb 2003
Posts: 13,098
|
your gonna blow your load
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Join Date: Aug 2003
Posts: 4,668
|
"my servers can't handle the loads!"
Then help the servers, just swallow! ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
Confirmed User
Join Date: Sep 2001
Location: Boston
Posts: 4,873
|
I would turn off keepalive or at least turn the timeout down to 1
strip out all modules you don't need to get the httpd process size down then rebuild with hard_server_limit 1024 and up maxclients to fit the RAM so it doesn't swap |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
Confirmed User
Join Date: May 2003
Posts: 1,025
|
You reallly should consider fully managed hosting ...
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
Too lazy to set a custom title
Join Date: Mar 2004
Posts: 10,579
|
hire a sys admin to look after your server(s)
__________________
![]()
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
Confirmed User
Industry Role:
Join Date: Jan 2003
Location: Phoenix, Az
Posts: 3,112
|
whats th eURL to one of your galleries, your problem may be something else
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 |
Drunk and Unruly
Join Date: Jan 2002
Location: Hollywood
Posts: 22,712
|
You shouldn't have problems with just 300 clients. Call Webair mike. See sig.
__________________
I've trusted my sites to them for over a decade... Webair, bitches. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 |
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
For apaches... pre 2.0...
Apache Performance Boost By: Chris Jester ( [email protected] ) If you are experincing long delays while "Waiting for reply...." with Apache servers you may try the following hack I use frequently to speed up your systems performance. Apache comes with a limit of 256 Child Processes defined in its hard server limit (in the source code). This can kill apache when it is used for a very very busy site. Normally in the httpd.conf file you can only set a maximum of 256 MaxClients. This is not enough for a busy site. To change this limit (which the makers of apache suggest as well), edit src/includes/httpd.h and change the value of HARD_SERVER_LIMIT. Bump it up to 1024, then set your httpd.conf files MaxClients to like 512. That should be ample. Re-compile apache and you are done. Note: Linux itself has a "Max Processes" per user limit. Add this to your root .bashrc file: ulimit -u unlimited You must exit and re-login before starting your new apache! Otherwise you will run into problems. To verify that you are ready to go, make sure that when you type ulimit -a as root, it shows "unlimited" next to max user processes. (note: you may also do ulimit -u unlimited at the command prompt before starting httpd instead of adding it to the .bashrc file, but I always forgot, so I just added it in the .bashrc file as a safety net.. Another good place to put ulimit -u unlimited is in the httpd startup file in /etc/rc.d/init.d) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 |
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
Here is how you can find out if this might be the problem:
On the command line, type: ps -aux|grep httpd|wc -l It will return a number. If this number is about 300ish or close, but not above, then its most likely the problem I solve above. For Apache 2.0, its EASY as pie to fix: Set these like this: Timeout 60 KeepAlive On (Set this to off if your site is only doing CGI redirection, but on in most all other cases) MaxKeepAliveRequests 0 KeepAliveTimeout 20 ServerLimit 1000 <IfModule prefork.c> StartServers 100 MinSpareServers 5 MaxSpareServers 30 MaxClients 1000 MaxRequestsPerChild 0 </IfModule> Note, this is all dependant on RAM and PROCESSOR so if your notice your ram is all eaten up, reduce MaxClients to like 700 (if you didnt know, this is in the file /etc/httpd/conf/httpd.conf) Edit that file, then do this: service httpd restart |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#30 |
Confirmed User
Industry Role:
Join Date: Sep 2002
Location: In your mind
Posts: 3,766
|
some good free advice from splitinfinity ;)
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#31 |
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
Suggestion to all: Dont use .htaccess files.
Instead, use the httpd.conf file. Reason? Performance impact. Every file that is served by apache is in a directory tree.... And the server needs to check EVERY DIRECTORY along the file path for an .htaccess file, just to make sure theres none there and/or of there IS one there... So think of it like this.... You have something.gif and someone is loading it right now... Apache says, oh ok.... Lets see... the file is in /home/one/two/three/four/five Then it says... is there and .htaccess file in /home? is there and .htaccess file in /one? is there and .htaccess file in /two? is there and .htaccess file in /three? is there and .htaccess file in /four? is there and .htaccess file in /five? Imagine the disk load and etc if you have like 50 thumbnails on your page? Food for thought GFY'ers :-) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#32 | |
Confirmed User
Join Date: Aug 2003
Location: Netherlands
Posts: 2,190
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#33 |
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
The same way you do it in an .htaccess file, but you put it in the Virtualhost directives in your httpd.conf instead and delete your .htaccess file.
:-) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#34 |
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
By doing it that way, apache only has to load them once.... not per hit
|
![]() |
![]() ![]() ![]() ![]() ![]() |