![]() |
![]() |
![]() |
||||
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 2001
Posts: 3,539
|
Your server specs.
What are your server specs? (computer specs, hits/day stats, clickthrus/day, scripted or not, etc.) I need a server upgrade and I'm just curious to how badly I need it.
My specs: - 400MHz, 512MB RAM, - 50,000 hits/day (100,000 clickthrus/day estimated). - running perl/dbi/mysql scripts As you can see, my CPU needs a boost and my CPU idle is running low. (And no, this isn't an attempt for a DVD player; give me some help.) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Oct 2001
Posts: 1,811
|
100,000 click thrus out of 50,000 hits...
not bad ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Mar 2002
Location: Europe / India
Posts: 560
|
i'm running a 1.3 ghz for my sites. it got 512 ram and can do well over 100'000 hits per day i believe
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Feb 2002
Location: Seattle
Posts: 1,070
|
if you need more CPU to handle that, i'd say your code needs some work.
50,000 hits per day is less than 1 per second, so your scripts would have to take, on average, longer than a second to run - that's an eternity, really. there might be ways you can improve performance by tuning Apache, too. if you're hitting swap AT ALL, you need to concentrate on solving that issue before anything else.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
not hitting any swap, my processes hardly touch memory at all. mysql is just taking a lot more resources than i thought it would... that's why i'm wondering if it's just my code or if it typical for a 400MHz system to be too slow.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Feb 2002
Location: Seattle
Posts: 1,070
|
Quote:
![]()
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Feb 2002
Location: Seattle
Posts: 1,070
|
Quote:
yeah, that's a wild "for instance", but it's just an idea. ;)
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: May 2002
Posts: 4,982
|
GET MORE RAM!
__________________
Surrender all your independent thinking and Click Here for re-programming. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
Mem: 517216K av, 499740K used, 17476K free, 653932K shrd, 182812K buff
Swap: 136512K av, 5852K used, 130660K free 112048K cached |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
512 is not enough?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
basically it is just my new script that is chewing up all the resources, and this is how it works:
- every hit in and hit out is stored to a flat file in raw format. - every 5 mins a cronjob runs a cgi that goes through all the raw data and queries mysql (my database) and modifies my html (my site). i do this so i don't have to access mysql every hit in and hit out. plus my site does not have to change every hit, every 5 minutes is often enough. the only thing is that the hits out have to modify my hits owed and all that shit to determine who is owed the next hit and it also checks to make sure unique hits are sent out, etc. that is the problem (because i have so many clickthrus). my hit out exit script code is chewing up all my cpu. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Sep 2001
Location: Where It Rains
Posts: 3,875
|
dual 1.4ghz athlons (98% idle)
1024 mb of pc2100 ddr ram 15,000 rpm 2 meg cache 6 ns seek time SCSI drives Tyan ThunderK7 motherboard As rockford fosgate always says, heat is the #1 Killer ... so we put in 12 7200 rpm fans :-D The thing sounds like a fucking 747 on take off ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
TaDoW, impressive, but how many hits/day and scripts do you run?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Join Date: Sep 2001
Location: Where It Rains
Posts: 3,875
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Macdaddy coder
Industry Role:
Join Date: Feb 2002
Location: MacDaddy pimp coder
Posts: 2,806
|
1 x Dual PIII XEON 1 gig ram raid 5 4 x 15k discs (running 500-600 queries a second for http://freetgpsubmitter.com)
1 x P4 512 megs ram raid 1 1 x PIII 1k 512 megs ram no raid ![]() 1 x PIII 700 256 megs ram no raid IDE! werd ... 1 x PIII 700 1 gig ram plain scsi All running perl/mysql/php
__________________
MacDaddy Coder. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Join Date: May 2002
Posts: 4,982
|
When you're talking about server performance, having more RAM is more important than a faster processor (CPU)
of course, you should upgrade the CPU as well, but if you can only afford to do one thing, its always good to add more memory
__________________
Surrender all your independent thinking and Click Here for re-programming. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 | |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 | |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
|
Rewrite this all in php/mysql and you'll save yourself huge amounts of resources. You'll want to make sure that PHP is running as a server module.
Having mysql/php handle large amounts of requests is basically what they do best, if your code is done right,there is a reason all highend websites are database driven ;) Joe |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
|
Quote:
Everytime a CGI is loaded your webserver opens a shell and executed perl -f(?) perlfile.cgi where as php as a module is all embedded. You will also need to optimize your database table fields so that your searching takes up a lot less time. Joe |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 | |
Macdaddy coder
Industry Role:
Join Date: Feb 2002
Location: MacDaddy pimp coder
Posts: 2,806
|
Quote:
__________________
MacDaddy Coder. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 | |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
|
Quote:
Joe |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 |
Confirmed User
Join Date: Mar 2002
Location: Hawai'i
Posts: 2,612
|
Quad Pentium Xeons (forgot the Ghz)
12GB of RAM -- I think Rambus 2 36.7GB 15000 SCSI3 RAiD setup
__________________
<font color="#FFFFFF" size="2" face="Verdana">This thread will self-destruct in 5 seconds.</font><font color="#FFFFFF" face="Verdana"><br> <br> <font size="1">In the meantime, consider hosting with <a href="http://www.choopa.com"><font color="#00FF00">Choopa</font></a> -- The only provider with 9 x 1000mbps Transit Redundancy</font></font> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 | |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#30 | |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
|
Quote:
Joe |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#31 | |
Macdaddy coder
Industry Role:
Join Date: Feb 2002
Location: MacDaddy pimp coder
Posts: 2,806
|
Quote:
The 500-600 queries a second is the max. the avg of my server is 300 queries a second. Its a free tgp submitter. 4000 webmasters submitting gallery pages to 1200 TGP sites. 1 gallery page is posted to max 3 tgp sites. Every submission executes 20 queries on my db. Currently we're doing 1.5 million pages a month. You can have a look at it here http://www.freetgpsubmitter.com B.
__________________
MacDaddy Coder. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#32 | |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#33 | |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#34 | |
Macdaddy coder
Industry Role:
Join Date: Feb 2002
Location: MacDaddy pimp coder
Posts: 2,806
|
Quote:
![]()
__________________
MacDaddy Coder. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#35 | |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#36 | |
Confirmed User
Join Date: Jul 2002
Location: Montreal
Posts: 625
|
Quote:
![]() WOW. I want one. NO! I want 5 of them!!! What would I do with them? I'd slap in some Sound cards, put some 6.1 speakers on them, and blast www.hamsterdance.com to the max! That's some serious power man, can I ask you SOME of the sites taht you have running on here? Do you by any chance own www.nasa.com ? ![]()
__________________
![]() You know Teen Kelly converts like crazy. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#37 | |
Confirmed User
Join Date: Jan 2001
Posts: 3,539
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |