Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Mar 29, 2012 1:23 am 
Offline
Senior Newbie

Joined: Wed Jan 04, 2012 2:18 am
Posts: 9
I am running several sites on a with Linode 768 server. I am getting an unable to connect message on my web browser. Can someone give me some ideas as to what might be causing the issues and ideas on what to look for to diagnose the issues.

Thanks


Top
   
 Post subject:
PostPosted: Thu Mar 29, 2012 2:16 am 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
Firewall(logs), webserver logs (unless you get a timeout), messages/syslog, stuff like that... And of course check with a service like downornot, to see if it's not a problem on your end.

You're sure the services are enabled? You can check with netstat if they're listening.


Top
   
 Post subject:
PostPosted: Thu Mar 29, 2012 7:29 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
The ip address and domain would be handy too then the lovely folks on this forum could do some tests.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject: My Domain
PostPosted: Sat Mar 31, 2012 2:32 am 
Offline
Senior Newbie

Joined: Wed Jan 04, 2012 2:18 am
Posts: 9
This is the domain. Tests would be appreciated.
www.nygiantstweets.com


Top
   
 Post subject:
PostPosted: Sat Mar 31, 2012 3:25 am 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
The site loads fine for me.

Can you locally even ping the site? Does it resolve the IP? Did you try a different browser, and/or PC?

It's probably somewhere in your local network, since the site works fine from here.


Top
   
 Post subject:
PostPosted: Sat Mar 31, 2012 4:54 am 
Offline
Junior Member

Joined: Wed Apr 06, 2011 8:20 am
Posts: 29
Loads fine for me.


Top
   
 Post subject:
PostPosted: Sat Mar 31, 2012 7:03 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Yep works fine here try running mtr and posting the results (see http://library.linode.com/linux-tools/mtr)

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Sat Mar 31, 2012 10:06 pm 
Offline
Senior Newbie

Joined: Wed Jan 04, 2012 2:18 am
Posts: 9
I have since restarted nginx. When I get the issue again I will see if I can run some of the tests you recommend and then paste the output to the board. Not sure if I can leave the site down to wait for a response from the board.
Thanks


Top
   
 Post subject: site is down
PostPosted: Sun Apr 01, 2012 1:09 am 
Offline
Senior Newbie

Joined: Wed Jan 04, 2012 2:18 am
Posts: 9
Definitely has something to do with nginx shutting down for some reason. The nginx daemon was stopped. I am not sure what is causing this. Any suggestions on how to debug this.
basically logged into my server then did ps axf | grep nginx
to see that there was no nginx running. Then restarted now nginx is running.


Top
   
 Post subject:
PostPosted: Sun Apr 01, 2012 9:37 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Check your nginx error logs normally in /var/log/nginx/error.log

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject: Temp solution
PostPosted: Sun Apr 01, 2012 1:31 pm 
Offline
Senior Newbie

Joined: Wed Jan 04, 2012 2:18 am
Posts: 9
This time something is killing both my nginx and monit processes. Could it be a memory issue when the server spikes here is my free-m
process printout
total used free shared buffers cached
Mem: 747 452 294 0 9 92
-/+ buffers/cache: 350 397
Swap: 255 1 254

do I need to upgrade?

please let me know if there are any other commands that I should run to print out here. I don't think it is a networking issue. I think this
happens when googlebot visits my sites but not absolutely sure. Any help would be appreciated.


I have installed monit to restart nginx if it goes down for the time being will see if that works.
Both my nginx and monit are going down here is a current printout of my top command.

Mem: 765280k total, 693668k used, 71612k free, 6516k buffers
Swap: 262140k total, 3544k used, 258596k free, 157136k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23162 root 20 0 9200 5468 1928 S 0 0.7 0:01.61 ruby
23241 nobody 20 0 111m 54m 4120 S 0 7.3 0:03.02 ruby
23269 nobody 20 0 125m 68m 4188 S 0 9.1 0:04.95 ruby
23272 nobody 20 0 111m 55m 4604 S 0 7.4 0:14.86 ruby
23289 nobody 20 0 112m 55m 3736 S 0 7.4 0:01.84 ruby
23317 nobody 20 0 108m 52m 3956 S 0 7.0 0:01.85 ruby
23383 nobody 20 0 114m 59m 4584 S 0 7.9 0:16.73 ruby
23415 nobody 20 0 106m 50m 4604 S 0 6.8 0:13.90 ruby
23432 nobody 20 0 109m 52m 4000 S 0 7.0 0:01.35 ruby
1 root 20 0 2732 512 260 S 0 0.1 0:02.55 init
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0 0.0 0:13.78 ksoftirqd/0
4 root 20 0 0 0 0 S 0 0.0 0:14.00 kworker/0:0
5 root 20 0 0 0 0 S 0 0.0 0:00.07 kworker/u:0
6 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0
7 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1
8 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/1:0
9 root 20 0 0 0 0 S 0 0.0 0:04.29 ksoftirqd/1
10 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/2
11 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/2:0
12 root 20 0 0 0 0 S 0 0.0 0:03.92 ksoftirqd/2
13 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/3
14 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/3:0
15 root 20 0 0 0 0 S 0 0.0 0:03.76 ksoftirqd/3
16 root 0 -20 0 0 0 S 0 0.0 0:00.00 cpuset
17 root 0 -20 0 0 0 S 0 0.0 0:00.00 khelper
18 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/u:1
22 root 20 0 0 0 0 S 0 0.0 0:00.00 xenwatch
23 root 20 0 0 0 0 S 0 0.0 0:00.00 xenbus
149 root 20 0 0 0 0 S 0 0.0 0:01.03 sync_supers


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group