Result of salloc_init is not checked in main()

Bug #1204041 reported by Roman Tsisyk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tarantool
Confirmed
Low
Kostja Osipov

Bug Description

# twice as high).
#
slab_alloc_arena = 2.0 <!-- Some big number

roman@work:test/var$ ../../src/box/tarantool_box
2013-07-23 13:36:59.752 [16897] 1/sched salloc.cc:141 E> mmap: Cannot allocate memory <!-- WTF
2013-07-23 13:36:59.754 [16897] 1/sched I> space 0 successfully configured
2013-07-23 13:36:59.754 [16897] 1/sched I> recovery start

localhost> INSERT into t0 VALUES(1,2,3)
reconnected
Insert ERROR, Failed to allocate 27 bytes in slab allocator for tuple (ER_MEMORY_ISSUE)

tarantool.cc:846:
 salloc_init(cfg.slab_alloc_arena * (1 << 30) /* GB */,
      cfg.slab_alloc_minimal, cfg.slab_alloc_factor);

Kostja Osipov (kostja)
Changed in tarantool:
assignee: nobody → Kostja Osipov (kostja)
milestone: none → 1.6.1
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.