You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Kai Hudalla (Jira)" <ji...@apache.org> on 2021/11/10 12:05:00 UTC

[jira] [Commented] (DISPATCH-1897) Console http libwebsocket realloc error Out Of Memory

    [ https://issues.apache.org/jira/browse/DISPATCH-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17441696#comment-17441696 ] 

Kai Hudalla commented on DISPATCH-1897:
---------------------------------------

Maybe the dependency on libwebsocket can be updated to something >= 4.2.0 where the issue seems to be fixed?

> Console http libwebsocket realloc error Out Of Memory
> -----------------------------------------------------
>
>                 Key: DISPATCH-1897
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1897
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Router Node
>    Affects Versions: 1.14.0
>         Environment: Build dockerfiles/Dockerfile-fedora on a Fedora 32 64-bit host and run system_tests_tcp_adaptor there.
> Building the docker image on a Fedora 31 64-bit host works properly.
>            Reporter: Charles E. Rolke
>            Priority: Major
>
> An ordinary http listener fails with a wild 64-but realloc:
> {code:java}
> 2020-12-17 19:27:11.483999 +0000 HTTP (trace) Event loop: poll (/main/qpid-dispatch/src/http-libwebsockets.c:61)
> 2020-12-17 19:27:11.484005 +0000 HTTP (trace) _realloc: size 6944: context (/main/qpid-dispatch/src/http-libwebsockets.c:61)
> 2020-12-17 19:27:11.484015 +0000 HTTP (trace) _realloc: size 72: lws_smd_register (/main/qpid-dispatch/src/http-libwebsockets.c:61)
> 2020-12-17 19:27:11.484021 +0000 HTTP (trace) lws_smd_register: registered (/main/qpid-dispatch/src/http-libwebsockets.c:61)
> 2020-12-17 19:27:11.484032 +0000 HTTP (trace) _realloc: size 18446744073709551552: fds table (/main/qpid-dispatch/src/http-libwebsockets.c:61)
> 2020-12-17 19:27:11.484038 +0000 HTTP (error) OOM allocating 1073741816 fds (/main/qpid-dispatch/src/http-libwebsockets.c:61) 
> {code}
> This issue was originally reported in DISPATCH-1895 at
> [https://travis-ci.com/github/apache/qpid-dispatch/jobs/461797267]
> There the problem was stated as a test hang in system_tests_tcp_adaptor. Test orchestration failed when it was creating the first router
>  * _wait=true_
>  * Router subprocess is started
>  * Test frameworks waits for all ports to accept a TCP connection
> Due to the error the http listener port went dead. The test timed out waiting for the http port to come up.
> The diagnostic logs quoted here were not available from the travis-ci system but were found after some other system setup produced the same error.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org