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-16-2002, 06:11 AM   #1
VeriSexy
Join The Royal Family
 
VeriSexy's Avatar
 
Join Date: Apr 2002
Posts: 25,463
FreeBSD Server Tweaking for TGPs

What kind of settings do you guys have in apache and freebsd kernel?

Suppose you get listed on every TGP and had a ton of bandwidth and Dual 1.13 Ghz cpus with Gigs of ram. I am sure this server should be able to push 60mb/s but best settings?

Besides using thttpd and maybe a reverse squid proxy, what kind of settings do you have in httpd.conf in apache and in your freebsd kernel?

__________________
Looking for a KICK ASS TEEN SPONSOR? Check out ROYAL CASH - THE KING OF TEEN!
Incredible webmaster tools FHGs, Morphing Blog and RSS Feeds, Embedded FLV & WMV Videos
.
With TOP RATIO Sites like


ATMovs.com | iTeenVideo.com |
TeenSexMovs.com | TeenSexMania.com


VeriSexy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-16-2002, 06:45 AM   #2
http
Confirmed User
 
Join Date: Oct 2001
Posts: 1,811
Hostnamelookup off, AllowOverride None, uncomment the lines where it mentions logging (turns logging off) and point error logging to /dev/null, max clients 256, keepalive on, remove all unnecessary modulessuch as ssl etc.,

Of course it would be better to not use apache at all hehe
http is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-16-2002, 07:30 AM   #3
VeriSexy
Join The Royal Family
 
VeriSexy's Avatar
 
Join Date: Apr 2002
Posts: 25,463
Max client 256????

I had maxclients at 3000. Suppose you get listed on the Hun. Are you sure 256 is even close to enough? People will get locked out if there are too many request.

I am sure the dual machine hardware should be enough. People were getting hun traffic with 400 Mhz servers 2 years ago with no problems.
__________________
Looking for a KICK ASS TEEN SPONSOR? Check out ROYAL CASH - THE KING OF TEEN!
Incredible webmaster tools FHGs, Morphing Blog and RSS Feeds, Embedded FLV & WMV Videos
.
With TOP RATIO Sites like


ATMovs.com | iTeenVideo.com |
TeenSexMovs.com | TeenSexMania.com


VeriSexy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-16-2002, 09:28 AM   #4
http
Confirmed User
 
Join Date: Oct 2001
Posts: 1,811
so you recompiled apache then? Because 256 is the max setting without recompiling if I'm not mistaken.

And the Hun won't send you 3000 concurrent users, not even close-

Anyway, if you really want to see what you can do with a single box you'd clearly looking into something different than apache.

xp1900 with 1GB ram serving 20 MBit including all the thumbnails. Has to choose from over 10,000 different pics and thumbs. Apache would have broken links all over the place by now but this box is still fast as if there were no traffic

10:15am up 79 days, 18:01, 1 user, load average: 0.03, 0.03, 0.00
72 processes: 69 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: 0.0% user, 3.4% system, 0.0% nice, 96.6% idle


of course there is no apache involved




for freebsd thttpd might be good or zeus is good too I guess but expensive
http is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-16-2002, 10:07 AM   #5
some_idiot
Confirmed User
 
Join Date: May 2002
Location: Doesn't matter, I'm not buying you another pint!
Posts: 1,511
Same kernel settings for high bandwidth routing.

Check docs.freebsd.org and search back to about 2000
on how to tweak the kernel. I think it was back and
forth with Jim Mercer.

You can get a gig ether to do about 800Mbps and it's
possible to get 4 at that speed in a 32bit PCI bus.
some_idiot is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2002, 08:09 AM   #6
x3m
Confirmed User
 
Join Date: May 2001
Posts: 254
I noticed that response time is very slow for my server and I saw this in apache status:

CPU Usage: u11.7813 s12.375 cu0 cs0 - 8.24% CPU load
65.5 requests/sec - 2.0 MB/second - 30.7 kB/request
512 requests currently being processed, 0 idle servers

I have

MinSpareServers 32
MaxSpareServers 64
StartServers 200
MaxClients 2000

in apache config, but still it stoped at 512. How can I increase the number of running processes?
x3m is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2002, 08:40 AM   #7
mrthumbs
salad tossing sig guy
 
mrthumbs's Avatar
 
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702

Last edited by mrthumbs; 11-17-2002 at 08:41 AM..
mrthumbs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2002, 08:47 AM   #8
VeriSexy
Join The Royal Family
 
VeriSexy's Avatar
 
Join Date: Apr 2002
Posts: 25,463
Quote:
Originally posted by x3m
I noticed that response time is very slow for my server and I saw this in apache status:

CPU Usage: u11.7813 s12.375 cu0 cs0 - 8.24% CPU load
65.5 requests/sec - 2.0 MB/second - 30.7 kB/request
512 requests currently being processed, 0 idle servers

I have

MinSpareServers 32
MaxSpareServers 64
StartServers 200
MaxClients 2000

in apache config, but still it stoped at 512. How can I increase the number of running processes?
You have to increase the limit in your Kernel of your OS
__________________
Looking for a KICK ASS TEEN SPONSOR? Check out ROYAL CASH - THE KING OF TEEN!
Incredible webmaster tools FHGs, Morphing Blog and RSS Feeds, Embedded FLV & WMV Videos
.
With TOP RATIO Sites like


ATMovs.com | iTeenVideo.com |
TeenSexMovs.com | TeenSexMania.com


VeriSexy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2002, 08:57 AM   #9
x3m
Confirmed User
 
Join Date: May 2001
Posts: 254
Quote:
Originally posted by VeriSexy


You have to increase the limit in your Kernel of your OS
Do you mind telling how can I do this?
x3m 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.