Deprecated syscall

Igor Sysoev is at rambler-co.ru
Fri Feb 29 13:30:33 MSK 2008


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.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list