nginx not responding to requests

Jim Freeze jimfreeze at gmail.com
Tue Sep 23 20:59:30 MSD 2008


> Could you set "worker_processes 1" and retry the request and debug log ?


I modified the config file as requested and re ran nginx.
I tried to load a single file /fred.html. I also changed to nginx
version: nginx/0.6.32.

worker_processes  1;
error_log   logs/error.log debug;
events {
  worker_connections  2;
}
http {
  #include mime.types;
  include mime.types;
  default_type  application/octet-stream;

  log_format main '$remote_addr - $remote_user [$time_local] '
                  '"$request" $status $body_bytes_sent "$http_referer" '
                  '"$http_user_agent" "$http_x_forwarded_for"';
  sendfile on;

  upstream actinic {
    server 127.0.0.1:8001;
  }

 server {
    listen 0.0.0.0:8005;
    server_name mywebsite.com;
    client_max_body_size 50M;

    root /path/to/public;
    access_log  logs/access.log main;
  }
}

2008/09/23 11:37:36 [debug] 18072#0: bind() 0.0.0.0:8005 #5
2008/09/23 11:37:36 [notice] 18072#0: using the "rtsig" event method
2008/09/23 11:37:36 [debug] 18072#0: counter: 0000002A9566D080, 1
2008/09/23 11:37:36 [notice] 18072#0: nginx/0.6.32
2008/09/23 11:37:36 [notice] 18072#0: built by gcc 3.2.3 20030502 (Red
Hat Linux 3.2.3-54)
2008/09/23 11:37:36 [notice] 18072#0: OS: Linux 2.4.21-40.ELsmp
2008/09/23 11:37:36 [notice] 18072#0: sysctl(KERN_RTSIGMAX): 1024
2008/09/23 11:37:36 [notice] 18072#0: getrlimit(RLIMIT_NOFILE): 1024:1024
2008/09/23 11:37:36 [debug] 18074#0: write: 7, 0000007FBFFF9480, 6, 0
2008/09/23 11:37:36 [debug] 18074#0: setproctitle: "nginx: master
process ./sbin/nginx -c ./conf/min1"
2008/09/23 11:37:36 [notice] 18074#0: start worker processes
2008/09/23 11:37:36 [debug] 18074#0: channel 7:8
2008/09/23 11:37:36 [notice] 18074#0: start worker process 18075
2008/09/23 11:37:36 [debug] 18074#0: sigsuspend
2008/09/23 11:37:36 [debug] 18075#0: malloc: 0000000000597540:128
2008/09/23 11:37:36 [debug] 18075#0: malloc: 0000000000594590:8192
2008/09/23 11:37:36 [debug] 18075#0: malloc: 00000000005965A0:288
2008/09/23 11:37:36 [debug] 18075#0: malloc: 00000000005966D0:208
2008/09/23 11:37:36 [debug] 18075#0: malloc: 00000000005967B0:208
2008/09/23 11:37:36 [debug] 18075#0: rtsig add connection: fd:5 signo:43
2008/09/23 11:37:36 [debug] 18075#0: rtsig add connection: fd:8 signo:43
2008/09/23 11:37:36 [debug] 18075#0: setproctitle: "nginx: worker process"
2008/09/23 11:37:36 [debug] 18075#0: worker cycle
2008/09/23 11:37:36 [debug] 18075#0: rtsig timer: -1
2008/09/23 11:37:36 [debug] 18075#0: rtsig signo:43 fd:1 band:0041
2008/09/23 11:38:24 [debug] 18075#0: timer delta: 48178
2008/09/23 11:38:24 [debug] 18075#0: posted events 0000000000000000
2008/09/23 11:38:24 [debug] 18075#0: worker cycle
2008/09/23 11:38:24 [debug] 18075#0: rtsig timer: -1
2008/09/23 11:38:52 [notice] 18074#0: signal 15 (SIGTERM) received, exiting
2008/09/23 11:38:52 [debug] 18074#0: wake up
2008/09/23 11:38:52 [debug] 18074#0: child: 0 18075 e:0 t:0 d:0 r:1 j:0
2008/09/23 11:38:52 [debug] 18074#0: temination cycle: 100
2008/09/23 11:38:52 [debug] 18074#0: sigsuspend
2008/09/23 11:38:24 [debug] 18075#0: rtsig signo:43 fd:0 band:0041
2008/09/23 11:38:52 [debug] 18075#0: timer delta: 27779
2008/09/23 11:38:52 [debug] 18075#0: posted events 0000000000000000
2008/09/23 11:38:52 [debug] 18075#0: worker cycle
2008/09/23 11:38:52 [debug] 18075#0: rtsig timer: -1
2008/09/23 11:38:52 [notice] 18074#0: signal 14 (SIGALRM) received
2008/09/23 11:38:52 [debug] 18074#0: wake up
2008/09/23 11:38:52 [debug] 18074#0: child: 0 18075 e:1 t:0 d:0 r:1 j:0
2008/09/23 11:38:52 [debug] 18074#0: temination cycle: 200
2008/09/23 11:38:52 [debug] 18074#0: sigsuspend
2008/09/23 11:38:52 [debug] 18075#0: rtsig signo:43 fd:0 band:0041
2008/09/23 11:38:52 [debug] 18075#0: timer delta: 100
2008/09/23 11:38:52 [debug] 18075#0: posted events 0000000000000000
2008/09/23 11:38:52 [debug] 18075#0: worker cycle
2008/09/23 11:38:52 [debug] 18075#0: rtsig timer: -1
2008/09/23 11:38:52 [notice] 18074#0: signal 14 (SIGALRM) received
2008/09/23 11:38:52 [debug] 18074#0: wake up
2008/09/23 11:38:52 [debug] 18074#0: child: 0 18075 e:1 t:0 d:0 r:1 j:0
2008/09/23 11:38:52 [debug] 18074#0: temination cycle: 400
2008/09/23 11:38:52 [debug] 18074#0: sigsuspend
2008/09/23 11:38:52 [debug] 18075#0: rtsig signo:43 fd:0 band:0041
2008/09/23 11:38:52 [debug] 18075#0: timer delta: 200
2008/09/23 11:38:52 [debug] 18075#0: posted events 0000000000000000
2008/09/23 11:38:52 [debug] 18075#0: worker cycle
2008/09/23 11:38:52 [debug] 18075#0: rtsig timer: -1
2008/09/23 11:38:52 [notice] 18074#0: signal 14 (SIGALRM) received
2008/09/23 11:38:52 [debug] 18074#0: wake up
2008/09/23 11:38:52 [debug] 18074#0: child: 0 18075 e:1 t:0 d:0 r:1 j:0
2008/09/23 11:38:52 [debug] 18074#0: temination cycle: 800
2008/09/23 11:38:52 [debug] 18074#0: sigsuspend
2008/09/23 11:38:52 [debug] 18075#0: rtsig signo:43 fd:0 band:0041
2008/09/23 11:38:52 [debug] 18075#0: timer delta: 400
2008/09/23 11:38:52 [debug] 18075#0: posted events 0000000000000000
2008/09/23 11:38:52 [debug] 18075#0: worker cycle
2008/09/23 11:38:52 [debug] 18075#0: rtsig timer: -1
2008/09/23 11:38:53 [notice] 18074#0: signal 14 (SIGALRM) received
2008/09/23 11:38:53 [debug] 18074#0: wake up
2008/09/23 11:38:53 [debug] 18074#0: child: 0 18075 e:1 t:0 d:0 r:1 j:0
2008/09/23 11:38:53 [debug] 18074#0: temination cycle: 1600
2008/09/23 11:38:53 [debug] 18074#0: sigsuspend
2008/09/23 11:38:52 [debug] 18075#0: rtsig signo:43 fd:0 band:0041
2008/09/23 11:38:53 [debug] 18075#0: timer delta: 800
2008/09/23 11:38:53 [debug] 18075#0: posted events 0000000000000000
2008/09/23 11:38:53 [debug] 18075#0: worker cycle
2008/09/23 11:38:53 [debug] 18075#0: rtsig timer: -1
2008/09/23 11:38:55 [notice] 18074#0: signal 14 (SIGALRM) received
2008/09/23 11:38:55 [debug] 18074#0: wake up
2008/09/23 11:38:55 [debug] 18074#0: child: 0 18075 e:1 t:0 d:0 r:1 j:0
2008/09/23 11:38:55 [debug] 18074#0: kill (18075, 9)
2008/09/23 11:38:55 [debug] 18074#0: temination cycle: 3200
2008/09/23 11:38:55 [debug] 18074#0: sigsuspend
2008/09/23 11:38:55 [notice] 18074#0: signal 17 (SIGCHLD) received
2008/09/23 11:38:55 [alert] 18074#0: worker process 18075 exited on signal 9
2008/09/23 11:38:55 [debug] 18074#0: wake up
2008/09/23 11:38:55 [debug] 18074#0: reap children
2008/09/23 11:38:55 [debug] 18074#0: child: 0 18075 e:1 t:1 d:0 r:1 j:0
2008/09/23 11:38:55 [notice] 18074#0: exit
2008/09/23 11:38:55 [debug] 18074#0: run cleanup: 00000000005A1C28
2008/09/23 11:38:55 [debug] 18074#0: cleanup resolver
2008/09/23 11:38:55 [debug] 18074#0: free: 000000000059F850
2008/09/23 11:38:55 [debug] 18074#0: free: 0000000000599770
2008/09/23 11:38:55 [debug] 18074#0: free: 00000000005986B0
2008/09/23 11:38:55 [debug] 18074#0: free: 00000000005975F0
2008/09/23 11:38:55 [debug] 18074#0: free: 000000000058B380, unused: 0
2008/09/23 11:38:55 [debug] 18074#0: free: 000000000059A830, unused: 0
2008/09/23 11:38:55 [debug] 18074#0: free: 00000000005A0860, unused: 1781


Thanks


-- 
Jim Freeze





More information about the nginx mailing list