nginx not responding to requests
Jim Freeze
jimfreeze at gmail.com
Tue Sep 23 01:40:42 MSD 2008
Hi
I am running nginx 0.6.1 on Linux 2.4.21-40.ELsmp #1 SMP.
I have a very simple config file and am just trying to get it
working with static pages.
I can telnet to the port that nginx is listening on, but it doesn't appear
to be getting input and there is definitely no response from the server.
The error.log and the config file are below.
Any help would be appreciated.
Thanks
Jim
2008/09/22 16:37:23 [debug] 21465#0: bind() 0.0.0.0:8005 #5
2008/09/22 16:37:23 [notice] 21465#0: using the "rtsig" event method
2008/09/22 16:37:23 [debug] 21465#0: counter: 0000002A9566D080, 1
2008/09/22 16:37:23 [notice] 21465#0: nginx/0.6.17
2008/09/22 16:37:23 [notice] 21465#0: built by gcc 3.2.3 20030502 (Red
Hat Linux 3.2.3-54)
2008/09/22 16:37:23 [notice] 21465#0: OS: Linux 2.4.21-40.ELsmp
2008/09/22 16:37:23 [notice] 21465#0: sysctl(KERN_RTSIGMAX): 1024
2008/09/22 16:37:23 [notice] 21465#0: getrlimit(RLIMIT_NOFILE): 1024:1024
2008/09/22 16:37:23 [debug] 21467#0: write: 7, 0000007FBFFF8D50, 6, 0
2008/09/22 16:37:23 [debug] 21467#0: setproctitle: "nginx: master
process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/min1"
2008/09/22 16:37:23 [notice] 21467#0: start worker processes
2008/09/22 16:37:23 [debug] 21467#0: channel 7:8
2008/09/22 16:37:23 [notice] 21467#0: start worker process 21468
2008/09/22 16:37:23 [debug] 21467#0: channel 9:10
2008/09/22 16:37:23 [notice] 21467#0: start worker process 21469
2008/09/22 16:37:23 [debug] 21467#0: pass channel s:1 pid:21469 fd:9
to s:0 pid:21468 fd:7
2008/09/22 16:37:23 [debug] 21467#0: sigsuspend
2008/09/22 16:37:23 [debug] 21468#0: malloc: 000000000058AF00:128
2008/09/22 16:37:23 [debug] 21468#0: malloc: 00000000005916C0:8192
2008/09/22 16:37:23 [debug] 21468#0: malloc: 0000002A95E39010:147456
2008/09/22 16:37:23 [debug] 21468#0: malloc: 00000000005A1BF0:106496
2008/09/22 16:37:23 [debug] 21468#0: malloc: 00000000005BBC00:106496
2008/09/22 16:37:23 [debug] 21468#0: rtsig add connection: fd:8 signo:43
2008/09/22 16:37:23 [debug] 21468#0: setproctitle: "nginx: worker process"
2008/09/22 16:37:23 [debug] 21468#0: worker cycle
2008/09/22 16:37:23 [debug] 21468#0: accept mutex locked
2008/09/22 16:37:23 [debug] 21468#0: rtsig add connection: fd:5 signo:43
2008/09/22 16:37:23 [debug] 21468#0: rtsig timer: -1
2008/09/22 16:37:23 [debug] 21469#0: malloc: 000000000058AF00:128
2008/09/22 16:37:23 [debug] 21469#0: malloc: 00000000005916C0:8192
2008/09/22 16:37:23 [debug] 21469#0: malloc: 0000002A95E39010:147456
2008/09/22 16:37:23 [debug] 21469#0: malloc: 00000000005A1BF0:106496
2008/09/22 16:37:23 [debug] 21469#0: malloc: 00000000005A1BF0:106496
2008/09/22 16:37:23 [debug] 21469#0: malloc: 00000000005BBC00:106496
2008/09/22 16:37:23 [debug] 21469#0: rtsig add connection: fd:10 signo:43
2008/09/22 16:37:23 [debug] 21469#0: setproctitle: "nginx: worker process"
2008/09/22 16:37:23 [debug] 21469#0: worker cycle
2008/09/22 16:37:23 [debug] 21469#0: accept mutex lock failed: 0
2008/09/22 16:37:23 [debug] 21469#0: rtsig timer: 500
2008/09/22 16:37:23 [debug] 21469#0: rtsig signo:-1 (11: Resource
temporarily unavailable)
2008/09/22 16:37:24 [debug] 21469#0: timer delta: 530
2008/09/22 16:37:24 [debug] 21469#0: posted events 0000000000000000
2008/09/22 16:37:24 [debug] 21469#0: worker cycle
2008/09/22 16:37:24 [debug] 21469#0: accept mutex lock failed: 0
2008/09/22 16:37:24 [debug] 21469#0: rtsig timer: 500
2008/09/22 16:37:24 [debug] 21469#0: rtsig signo:-1 (11: Resource
temporarily unavailable)
2008/09/22 16:37:24 [debug] 21469#0: timer delta: 510
2008/09/22 16:37:24 [debug] 21469#0: posted events 0000000000000000
2008/09/22 16:37:24 [debug] 21469#0: worker cycle
2008/09/22 16:37:40 [debug] 21469#0: worker cycle
2008/09/22 16:37:40 [debug] 21469#0: accept mutex lock failed: 0
2008/09/22 16:37:40 [debug] 21469#0: rtsig timer: 500
2008/09/22 16:37:40 [debug] 21469#0: rtsig signo:-1 (11: Resource
temporarily unavailable)
2008/09/22 16:37:41 [debug] 21469#0: timer delta: 510
2008/09/22 16:37:41 [debug] 21469#0: posted events 0000000000000000
2008/09/22 16:37:41 [debug] 21469#0: worker cycle
2008/09/22 16:37:41 [debug] 21469#0: accept mutex lock failed: 0
2008/09/22 16:37:41 [debug] 21469#0: rtsig timer: 500
2008/09/22 16:37:41 [debug] 21469#0: rtsig signo:-1 (11: Resource
temporarily unavailable)
#-- nginx.conf file
user me mygroup;
worker_processes 2;
error_log logs/error.log debug;
events {
worker_connections 1024;
}
http {
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 off;
upstream merb {
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;
}
}
--
Jim Freeze
More information about the nginx
mailing list