Welcome! Log In Create A New Profile

Advanced

Re: Что за alert: ngx slab free(): chunk is already free ?

Maxim Dounin
October 15, 2010 09:50AM
Hello!

On Fri, Oct 15, 2010 at 09:21:49AM -0400, JohnBat26 wrote:

> товарищи, объясните плиз, зачем были
> добавлены строки в ngx_slab.c
> ---------------------------
> ^0019fc7 (Tomash Brechko 2007-12-25 11:45:00 +0300 602) wrong_chunk:
> ^0019fc7 (Tomash Brechko 2007-12-25 11:45:00 +0300 603)
> [b]8284da78 (George Potapov 2009-04-24 12:44:10 +0400 604)
> ngx_slab_error(pool, NGX_LOG_ALERT,
> 8284da78 (George Potapov 2009-04-24 12:44:10 +0400 605)
> "ngx_slab_free(): pointer to wrong chunk");[/b]
> ^0019fc7 (Tomash Brechko 2007-12-25 11:45:00 +0300 606)
> ^0019fc7 (Tomash Brechko 2007-12-25 11:45:00 +0300 607) goto fail;
> ^0019fc7 (Tomash Brechko 2007-12-25 11:45:00 +0300 608)
> ^0019fc7 (Tomash Brechko 2007-12-25 11:45:00 +0300 609)
> chunk_already_free:
> ^0019fc7 (Tomash Brechko 2007-12-25 11:45:00 +0300 610)
> [b]8284da78 (George Potapov 2009-04-24 12:44:10 +0400 611)
> ngx_slab_error(pool, NGX_LOG_ALERT,
> 8284da78 (George Potapov 2009-04-24 12:44:10 +0400 612)
> "ngx_slab_free(): chunk is already free");[/b]
> ^0019fc7 (Tomash Brechko 2007-12-25 11:45:00 +0300 613)
> -------------------------------------
>
> Опасны ли для production эти алерты или нет ?
>
> http://nginx.sourcearchive.com/documentation/0.7.59-1/ngx__slab_8c-source.html
>
> Если да, то к чему это может привести?

Эти алерты там с момента появления slab-аллокатора и работы с
разделяемой памятью в 0.4.14. Приведут они скорее всего к
SIGSEGV.

Maxim Dounin

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Re: Что за alert: ngx slab free(): chunk is already free ?

Maxim Dounin October 15, 2010 09:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 151
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready