You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "bettydramit (Created) (JIRA)" <ji...@apache.org> on 2012/03/22 07:56:22 UTC

[jira] [Created] (TS-1160) FATAL: ink_memalign: couldn't allocate 602439680 bytes at alignment 4096 - insufficient memory ts crash

FATAL: ink_memalign: couldn't allocate 602439680 bytes at alignment 4096 - insufficient memory   ts crash
---------------------------------------------------------------------------------------------------------

                 Key: TS-1160
                 URL: https://issues.apache.org/jira/browse/TS-1160
             Project: Traffic Server
          Issue Type: Bug
          Components: Core
    Affects Versions: 3.0.3
         Environment: centos 6.0 x86_64
            Reporter: bettydramit


FATAL: ink_memalign: couldn't allocate 602439680 bytes at alignment 4096 - insufficient memory
/usr/bin/traffic_server - STACK TRACE: 
/usr/lib64/trafficserver/libtsutil.so.3(ink_fatal_va+0x9d)[0x2ab0905926dd]
/usr/lib64/trafficserver/libtsutil.so.3(ink_fatal+0x88)[0x2ab090592838]
/usr/lib64/trafficserver/libtsutil.so.3(ink_memalign+0x9c)[0x2ab09059414c]
/usr/bin/traffic_server(_ZN9CacheSync9mainEventEiP5Event+0x2c8)[0x644ab8]
/usr/bin/traffic_server(_ZN3Vol12aggWriteDoneEiP5Event+0x5d7)[0x668567]
/usr/bin/traffic_server(_ZN13AIOThreadInfo5startEiP5Event+0x945)[0x6772d5]
/usr/bin/traffic_server(_ZN7EThread7executeEv+0xb86)[0x6ac6a6]
/usr/bin/traffic_server[0x6aa4a2]
/lib64/libpthread.so.0(+0x77f1)[0x2ab0907bd7f1]
/lib64/libc.so.6(clone+0x6d)[0x2ab092e4792d]


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TS-1160) FATAL: ink_memalign: couldn't allocate 602439680 bytes at alignment 4096 - insufficient memory ts crash

Posted by "bettydramit (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251239#comment-13251239 ] 

bettydramit commented on TS-1160:
---------------------------------

sysctl -a|grep vm.max_map_count
vm.max_map_count = 2097152

The same value as you suggestion

                
> FATAL: ink_memalign: couldn't allocate 602439680 bytes at alignment 4096 - insufficient memory   ts crash
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: TS-1160
>                 URL: https://issues.apache.org/jira/browse/TS-1160
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.0.3
>         Environment: centos 6.0 x86_64
>            Reporter: bettydramit
>
> FATAL: ink_memalign: couldn't allocate 602439680 bytes at alignment 4096 - insufficient memory
> /usr/bin/traffic_server - STACK TRACE: 
> /usr/lib64/trafficserver/libtsutil.so.3(ink_fatal_va+0x9d)[0x2ab0905926dd]
> /usr/lib64/trafficserver/libtsutil.so.3(ink_fatal+0x88)[0x2ab090592838]
> /usr/lib64/trafficserver/libtsutil.so.3(ink_memalign+0x9c)[0x2ab09059414c]
> /usr/bin/traffic_server(_ZN9CacheSync9mainEventEiP5Event+0x2c8)[0x644ab8]
> /usr/bin/traffic_server(_ZN3Vol12aggWriteDoneEiP5Event+0x5d7)[0x668567]
> /usr/bin/traffic_server(_ZN13AIOThreadInfo5startEiP5Event+0x945)[0x6772d5]
> /usr/bin/traffic_server(_ZN7EThread7executeEv+0xb86)[0x6ac6a6]
> /usr/bin/traffic_server[0x6aa4a2]
> /lib64/libpthread.so.0(+0x77f1)[0x2ab0907bd7f1]
> /lib64/libc.so.6(clone+0x6d)[0x2ab092e4792d]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TS-1160) FATAL: ink_memalign: couldn't allocate 602439680 bytes at alignment 4096 - insufficient memory ts crash

Posted by "Leif Hedstrom (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250688#comment-13250688 ] 

Leif Hedstrom commented on TS-1160:
-----------------------------------

Are you able to reproduce this reliably? I'm wondering if you are running out of mmap segments in the kernel. Can you try increasing this sysctl:

{code}
$ sudo sysctl vm.max_map_count=2097152
{code}
                
> FATAL: ink_memalign: couldn't allocate 602439680 bytes at alignment 4096 - insufficient memory   ts crash
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: TS-1160
>                 URL: https://issues.apache.org/jira/browse/TS-1160
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.0.3
>         Environment: centos 6.0 x86_64
>            Reporter: bettydramit
>
> FATAL: ink_memalign: couldn't allocate 602439680 bytes at alignment 4096 - insufficient memory
> /usr/bin/traffic_server - STACK TRACE: 
> /usr/lib64/trafficserver/libtsutil.so.3(ink_fatal_va+0x9d)[0x2ab0905926dd]
> /usr/lib64/trafficserver/libtsutil.so.3(ink_fatal+0x88)[0x2ab090592838]
> /usr/lib64/trafficserver/libtsutil.so.3(ink_memalign+0x9c)[0x2ab09059414c]
> /usr/bin/traffic_server(_ZN9CacheSync9mainEventEiP5Event+0x2c8)[0x644ab8]
> /usr/bin/traffic_server(_ZN3Vol12aggWriteDoneEiP5Event+0x5d7)[0x668567]
> /usr/bin/traffic_server(_ZN13AIOThreadInfo5startEiP5Event+0x945)[0x6772d5]
> /usr/bin/traffic_server(_ZN7EThread7executeEv+0xb86)[0x6ac6a6]
> /usr/bin/traffic_server[0x6aa4a2]
> /lib64/libpthread.so.0(+0x77f1)[0x2ab0907bd7f1]
> /lib64/libc.so.6(clone+0x6d)[0x2ab092e4792d]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira