Go Back   Computer Forums > Welcome To Computer Forums .org > Site Admin, News and Feedback
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 07-24-2010, 12:19 PM   #11
Fully Optimized
 
Join Date: Dec 2007
Location: England
Posts: 3,390
Default Re: The CF Server

Excellent.

After a slow start this morning it has been good all round.
__________________

__________________
Lenovo ThinkPad T410 - i7 620M - 8GB RAM - Crucial M4 120GB SSD - 250GB 2nd drive - Intel HD 3000 GPU - 1440x900 - Windows 7/8
REMENIZ Computers
Remeniz is offline   Reply With Quote
Old 07-24-2010, 12:42 PM   #12
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: The CF Server

Everything is running excellent. I'm pretty sure you fixed the problem. Before today, even when pages loaded fast, everything didn't load at the same time. Today, everything pops up simultaneously in a matter of milliseconds.
__________________

JogaBonito1502 is offline   Reply With Quote
Old 07-24-2010, 02:55 PM   #13
Daemon Poster
 
VINMAN46's Avatar
 
Join Date: Feb 2009
Posts: 1,123
Send a message via AIM to VINMAN46
Default Re: The CF Server

sites loading alot faster now think you nailed the problem
VINMAN46 is offline   Reply With Quote
Old 07-25-2010, 05:02 AM   #14
In Runtime
 
Join Date: Apr 2007
Posts: 446
Send a message via MSN to Comp_Pro
Default Re: The CF Server

The IIS doesn't work for me, the past few days the site has been running very slowly and didnt even work at all in some cases, I just though it was a DDOS or something ...
__________________
Intel i7 4770k 3.50ghz, 32gb Corsair Vengeance RAM (8x4 kit), 2 x 2TB WD Black HHD, nVidia 770GTX 4gb OC, Asus Z87-A Motherboard, running Windows 7 64 bit.
Comp_Pro is offline   Reply With Quote
Old 07-25-2010, 05:29 AM   #15
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: The CF Server

Quote:
Originally Posted by Comp_Pro View Post
The IIS doesn't work for me, the past few days the site has been running very slowly and didnt even work at all in some cases, I just though it was a DDOS or something ...
Yes I've switched IIS off, how is it today?
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 07-25-2010, 05:33 AM   #16
Daemon Poster
 
CrackerJacker's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 987
Send a message via Skype™ to CrackerJacker
Default Re: The CF Server

What exactly does this IIS? How did it effect the site being off?
__________________
USAF KC-135R Crew Chief
i7 2770 @ 3.4ghz, Geforce GTX 560 ti, 8GB DDR3 1600, SSD 120gb, cup holder
I would imagine if you could understand Morse Code, a tap dancer would drive you crazy
CrackerJacker is offline   Reply With Quote
Old 07-25-2010, 05:43 AM   #17
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: The CF Server

Quote:
Originally Posted by CrackerJacker View Post
What exactly does this IIS? How did it effect the site being off?
IIs is just another web server program which is written by MS. I enabled it to see if it was my apache config or the server itself so in effect I had to web servers running on the same machine. Since apache is now running fine I no longer needed to run IIS
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 07-25-2010, 05:48 AM   #18
Daemon Poster
 
CrackerJacker's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 987
Send a message via Skype™ to CrackerJacker
Default Re: The CF Server

Oh sweet lol. Good to know. Are you running this at like your home or local office
__________________
USAF KC-135R Crew Chief
i7 2770 @ 3.4ghz, Geforce GTX 560 ti, 8GB DDR3 1600, SSD 120gb, cup holder
I would imagine if you could understand Morse Code, a tap dancer would drive you crazy
CrackerJacker is offline   Reply With Quote
Old 07-25-2010, 06:01 AM   #19
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: The CF Server

Quote:
Originally Posted by CrackerJacker View Post
Oh sweet lol. Good to know. Are you running this at like your home or local office
I rent the server from a data center - http://www.theplanet.com/

OK this is how I resolved the problem.

I pulled up a packet sniffer and took a sample of the traffic in and out of the server. I noticed the server was getting thousands of these requests:

Quote:
EzX]@o%+CG$Pd󱥷P6
GET /movie/server1/kiy/1.rmvb HTTP/1.1
Accept: */*
Cache-Control: no-cache
Connection: Keep-Alive
Host: www.yy2.com
Pragma: no-cache
Range: bytes=458564504-458666903
Referer: http://www.Edited.com/Edited
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
which is odd because that file has never existed and I don't recognise the referring site.

I did some research from the IPs and it appears they are all coming from china (remember the site mainly went down at certain times of the day)

So I enabled the server-status option with apache to see how apache was coping.

Quote:
Current Time: Saturday, 24-Jul-2010 11:27:07 GMT Daylight Time
Restart Time: Saturday, 24-Jul-2010 11:24:20 GMT Daylight Time
Parent Server Generation: 0
Server uptime: 2 minutes 47 seconds
Total accesses: 1661 - Total Traffic: 4.0 MB
9.95 requests/sec - 24.2 kB/second - 2495 B/request
Edited requests currently being processed, 0 idle workers

RRRRRRRRKRRRRRRRRRKRRRRRRRRRRRCRKKWRRRRRRRRRRRRKRC KRRCRCRRRR etc..........



0-0 2648 1/104/104 K 0 0 0.4 0.16 0.16 221.227.11.215 yy2.com GET /movie/server1/kiy/1.rmvb HTTP/1.1
0-0 2648 0/37/37 R 69 0 0.0 0.07 0.07 ? ? ..reading..
0-0 2648 0/23/23 R 50 0 0.0 0.17 0.17 ? ? ..reading..
0-0 2648 0/78/78 R 113 0 0.0 0.05 0.05 ? ? ..reading..
0-0 2648 1/40/40 K 2 0 0.4 0.26 0.26 117.63.201.161 yy2.com GET /movie/server1/lquj/1.rmvb HTTP/1.1
0-0 2648 0/25/25 R 49 15 0.0 0.01 0.01 ? ?
etc..........
It soon became clear that the number of these requests were taking up apache processes and because each connection has a time out of a few seconds, it was inevitable that the connections would just keep building up.

To resolve it I setup apache to block requests based on certain metrics which has now done the trick.
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 07-25-2010, 08:07 AM   #20
..m.0,0.m..
Site Team
 
iPwn's Avatar
 
Join Date: May 2010
Location: USA
Posts: 3,870
Default Re: The CF Server

Nice, the site has been running smooth now for a few days so it must have done it.
__________________

__________________
Me: You'd think as the dominant species we wouldn't be so effing stupid.
J: We're just intelligent enough to be completely effing stupid.
iPwn is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 05:13 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0