nginx-0.8.53 segfault

Maxim Dounin mdounin at mdounin.ru
Thu Jan 13 16:04:32 MSK 2011


Hello!

On Wed, Jan 12, 2011 at 10:24:54PM +0100, Maxim C. wrote:

> I noticed that nginx segfaulting while serving large files like .avi or
> .flv
> 
> # tail -f /var/log/kern.log:
> Jan 13 00:10:36 hvosting nginx[5068]: segfault at e8 ip 0808aeeb sp
> bd565c80 error 4 in nginx[8048000+60000]
> Jan 13 00:10:36 hvosting nginx[5064]: segfault at e8 ip 0808aeeb sp
> bd565c80 error 4 in nginx[8048000+60000]
> Jan 13 00:17:30 hvosting nginx[7081]: segfault at e8 ip 0808aeeb sp
> bd565cc0 error 4 in nginx[8048000+60000]
> Jan 13 00:17:30 hvosting nginx[5065]: segfault at e8 ip 0808aeeb sp
> bd565c50 error 4 in nginx[8048000+60000]
> 
> # tail -f /var/log/nginx/error_log
> 2011/01/13 00:10:36 [alert] 5060#0: worker process 5068 exited on signal
> 11
> 2011/01/13 00:10:36 [alert] 5060#0: worker process 5064 exited on signal
> 11
> 2011/01/13 00:17:30 [alert] 5060#0: worker process 7081 exited on signal
> 11
> 2011/01/13 00:17:30 [alert] 5060#0: worker process 5065 exited on signal
> 11
> 
> nginx is running under "apache" user, /etc/security/limits.conf:
> apache    soft  nofile    65536
> apache    hard  nofile    65536
> 
> nginx instance has few virtual hosts configured as reverse proxy and few
> virtual hosts are serving static content directly from fs.

Please provide:

1. nginx -V output
2. backtrace from coredump
3. full config

See here for basic instruction:

http://wiki.nginx.org/Debugging

Note that 0.8.53 has at least one known and already fixed segfault problem
(fixed in 0.9.0 and 0.8.54):

    *) Bugfix: a segmentation fault might occur in a worker process, if the 
       "auth_basic" directive was used.
       Thanks to Michail Laletin.

Maxim Dounin



More information about the nginx mailing list