What to look for when unable to connect message
Thanks
10 Replies
You're sure the services are enabled? You can check with netstat if they're listening.
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.
Thanks
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.
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