Opened 12 years ago

Closed 12 years ago

#294 closed defect (invalid)

nginx 1.3.12 / Debian Wheezy ARM: deprecated call

Reported by: sil68.myopenid.com Owned by:
Priority: minor Milestone:
Component: nginx-core Version: 1.3.x
Keywords: Cc:
uname -a: Linux myhost 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l GNU/Linux
nginx -V: nginx version: nginx/1.3.12
built by gcc 4.6.3 (Debian 4.6.3-14+rpi1)
TLS SNI support enabled
configure arguments: --prefix=/usr/local --conf-path=/usr/local/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx/nginx.pid --lock-path=/var/run/nginx/nginx.lck --user=www --group=www --with-rtsig_module --with-select_module --with-poll_module --with-file-aio --with-ipv6 --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_image_filter_module --with-http_geoip_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_stub_status_module --with-http_perl_module --with-mail --with-mail_ssl_module --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/tmp/nginx/client --http-proxy-temp-path=/var/tmp/nginx/proxy --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi --http-scgi-temp-path=/var/tmp/nginx/scgi --with-pcre --with-pcre-jit --with-debug --add-module=/data/src/nginx/modules/ngx_devel_kit --add-module=/data/src/nginx/modules/nginx-rtmp-module --add-module=/data/src/nginx/modules/lua-nginx-module --add-module=/data/src/nginx/modules/nginx-upload-progress-module --add-module=/data/src/nginx/modules/ngx_auto_lib

Description

[ 1167.508907] warning: process `nginx' used the deprecated sysctl system call with 1.33.

Change History (2)

comment:1 by sil68.myopenid.com, 12 years ago

Try as I might, re-using my configuration successfully deployed on my Mac box (10.7) running nginx 1.3.9, or stripping it down to a bare minimum, under Debian Wheezy/ARM my (self-compiled) copies of nginx 1.3.11 and 1.3.12 are crashing, well, that is the worker/cache processes are crashing.

2013/02/09 19:18:14 [notice] 27272#0: using the "epoll" event method
2013/02/09 19:18:14 [debug] 27272#0: counter: 40055080, 1
2013/02/09 19:18:14 [notice] 27272#0: nginx/1.3.12
2013/02/09 19:18:14 [notice] 27272#0: built by gcc 4.6.3 (Debian 4.6.3-14+rpi1) 
2013/02/09 19:18:14 [notice] 27272#0: OS: Linux 3.2.27+
2013/02/09 19:18:14 [notice] 27272#0: sysctl(KERN_RTSIGMAX): 0
2013/02/09 19:18:14 [notice] 27272#0: getrlimit(RLIMIT_NOFILE): 1024:4096
2013/02/09 19:18:14 [debug] 27273#0: write: 6, BE997A58, 6, 0
2013/02/09 19:18:14 [debug] 27273#0: setproctitle: "nginx: master process nginx"
2013/02/09 19:18:14 [notice] 27273#0: start worker processes
2013/02/09 19:18:14 [debug] 27273#0: channel 3:6
2013/02/09 19:18:14 [notice] 27273#0: start worker process 27274
2013/02/09 19:18:14 [debug] 27273#0: channel 7:8
2013/02/09 19:18:14 [notice] 27273#0: start cache manager process 27275
2013/02/09 19:18:14 [debug] 27273#0: pass channel s:1 pid:27275 fd:7 to s:0 pid:27274 fd:3
2013/02/09 19:18:14 [debug] 27273#0: channel 9:10
2013/02/09 19:18:14 [notice] 27273#0: start cache loader process 27276
2013/02/09 19:18:14 [debug] 27273#0: pass channel s:2 pid:27276 fd:9 to s:0 pid:27274 fd:3
2013/02/09 19:18:14 [debug] 27273#0: pass channel s:2 pid:27276 fd:9 to s:1 pid:27275 fd:7
2013/02/09 19:18:14 [debug] 27273#0: sigsuspend
2013/02/09 19:18:15 [notice] 27273#0: signal 17 (SIGCHLD) received
2013/02/09 19:18:15 [alert] 27273#0: cache loader process 27276 exited on signal 11
2013/02/09 19:18:15 [debug] 27273#0: shmtx forced unlock
2013/02/09 19:18:15 [debug] 27273#0: shmtx forced unlock
2013/02/09 19:18:15 [debug] 27273#0: shmtx forced unlock
2013/02/09 19:18:15 [debug] 27273#0: shmtx forced unlock
2013/02/09 19:18:15 [debug] 27273#0: shmtx forced unlock
2013/02/09 19:18:15 [debug] 27273#0: wake up, sigio 0
2013/02/09 19:18:15 [debug] 27273#0: reap children
2013/02/09 19:18:15 [debug] 27273#0: child: 0 27274 e:0 t:0 d:0 r:1 j:0
2013/02/09 19:18:15 [debug] 27273#0: child: 1 27275 e:0 t:0 d:0 r:1 j:0
2013/02/09 19:18:15 [debug] 27273#0: child: 2 27276 e:0 t:1 d:0 r:0 j:0
2013/02/09 19:18:15 [debug] 27273#0: pass close channel s:2 pid:27276 to:27274
2013/02/09 19:18:15 [debug] 27273#0: pass close channel s:2 pid:27276 to:27275
2013/02/09 19:18:15 [debug] 27273#0: sigsuspend
2013/02/09 19:18:15 [notice] 27273#0: signal 29 (SIGIO) received
2013/02/09 19:18:15 [notice] 27273#0: signal 17 (SIGCHLD) received
2013/02/09 19:18:15 [alert] 27273#0: worker process 27274 exited on signal 11
	:
	:
	:

comment:2 by Maxim Dounin, 12 years ago

Resolution: invalid
Status: newclosed

Use of sysctl() syscall is the result of --with-rtsig_module configure argument you use. Recompile nginx without this argument and there will be no warning.

Segmentation faults you see are clearly unrelated to the warning, see mailing list for additional debugging suggestions. If this will be identified as a problem in nginx itself, it should be filed as a separate ticket then.

Note: See TracTickets for help on using tickets.