activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "oscar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APLO-351) out of memory
Date Thu, 20 Feb 2014 05:16:20 GMT

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

oscar commented on APLO-351:
----------------------------

> Hiram Chirino added a comment - 18/Feb/14 14:47
> How many client can you connect without getting the OOM?

about 80,000 clients 

> Hiram Chirino added a comment - 18/Feb/14 14:50
> BTW keep increasing the -Xmx setting. That should help

when i change apollo-broker with "-server -Xms6G -Xms1G",the apollo can not start
like:
[root@mdev1 bin]# ./apollo-broker-service start
Starting apollo-broker-service
Could not start apollo-broker-service
[root@mdev1 bin]# free -g
             total       used       free     shared    buffers     cached
Mem:            15          3         11          0          0          3
-/+ buffers/cache:          0         15
Swap:            7          0          7

> out of memory
> -------------
>
>                 Key: APLO-351
>                 URL: https://issues.apache.org/jira/browse/APLO-351
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>          Components: apollo-broker
>    Affects Versions: 1.6
>            Reporter: oscar
>         Attachments: 18AADBAA-5058-4344-AAC0-D1C51891C194.png, 37DF6BCA-9707-4583-943D-C0D0B6408FDD.png,
8ADF01D2-47BB-4666-8D40-145BBC55B593.png
>
>
> use apollo + mqtt to publish message,but when have 100,000 clients, the apollo.log prints:
> 2014-02-18 19:31:28,475 | WARN  | java.lang.OutOfMemoryError: Java heap space | 14444b747fc
> 2014-02-18 19:31:28,475 | WARN  | java.lang.OutOfMemoryError: Java heap space | 14444b747fd
> 2014-02-18 19:31:35,422 | WARN  | java.lang.OutOfMemoryError: Java heap space | 14444b747fe
> 2014-02-18 19:31:41,703 | WARN  | java.lang.OutOfMemoryError: GC overhead limit exceeded
| 14444b747ff
> 2014-02-18 19:31:54,934 | WARN  | java.lang.OutOfMemoryError: GC overhead limit exceeded
| 14444b74800
> 2014-02-18 19:32:07,494 | WARN  | java.lang.OutOfMemoryError: Java heap space | 14444b74803
> 2014-02-18 19:32:01,211 | WARN  | java.lang.OutOfMemoryError: Java heap space | 14444b74802
> 2014-02-18 19:32:01,211 | WARN  | java.lang.OutOfMemoryError: Java heap space | 14444b74801
> use export JVM_FLAGS="-server -Xmx3G -Xms1G" in apollo-service
> my system is linux (CentOS 6.5),32G memory,8 cpus



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message