4 messages in ru.sysoev.nginxRe: Deprecated syscall
FromSent OnAttachments
Fabio CoattiFeb 29, 2008 2:05 am 
Igor SysoevFeb 29, 2008 2:30 am 
Igor SysoevFeb 29, 2008 2:32 am 
Yordan GeorgievFeb 29, 2008 6:07 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Deprecated syscallActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Feb 29, 2008 2:32:10 am
List:ru.sysoev.nginx

On Fri, Feb 29, 2008 at 11:06:10AM +0100, Fabio Coatti wrote:

With latest linux kernels (can't recall on the spot when I saw this for the first time, something around 2.6.23.XX I suppose) I get this warning on dmesg:

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

(Linux 2.6.24.2)

I guess that at this moment this message is not harmful, but in future maybe it can lead to problems.

maybe a small change in source code can fix this, but I'm not a developer so I'm only able to report and not to fix, I fear :)

nginx uses sysctl to learn KERN_RTSIGMAX only, because procfs is not available in chroot. Failed sysctl is not harmful in modern and future kernels, because it's unlikely you will want to use fragile rtsig method instead of epoll.

Probably, I will add --without-rtsig_module to disable rtsig autodetection.