[graylog2] Out of memory - Java heap space in Graylog-Server

2016-01-28 Thread rmatrono
I have a server with 4x cores - 6Gb memory .. running graylog-server, 
graylog-web, elasticsearch and mongodb same machine... average 50 messages 
per minute... the server still have free memory using usually 4gb from 
6gb... but graylog-server consume until "out of memory error - Java heap 
space"
Before I had default memory configruration, now I change in 
/etc/default/graylog-server .. to -Xms2g -Xmx2g ... but 
in http://logging.local/system/nodes/xx .. "The JVM is using" grown 
until 900mb than go to 150mb, after some hours grown until 1,6gb than go to 
700mb.. after some hours "out of memory - java heap space".. below my 
configuration, graylog, elastic search, oracle java also the log error.

> /etc/default/elasticsearch
ES_HEAP_SIZE=2g

> /etc/default/graylog-server
GRAYLOG_SERVER_JAVA_OPTS="-Xms2g -Xmx2g -XX:NewRatio=1 -XX:PermSize=256m 
-XX:MaxPermSize=512m -server -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC 
-XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC 
-XX:-OmitStackTraceInFastThrow"

> /etc/graylog/server/server.conf
ring_size = 65536
inputbuffer_ring_size = 65536
inputbuffer_processors = 5
processbuffer_processors = 8
outputbuffer_processors = 6

> System
Version: 1.3.3 (0fda9dc) (Hansa)
JVM: PID 6873, Oracle Corporation 1.7.0_80 on Linux 3.2.0-4-amd64
Time: 2016-01-28 09:21:31.559 +01:00

> Elasticsearch Version
curl -X GET 'localhost:9200' 
{
  "status" : 200,
  "name" : "Deadly Ernest",
  "cluster_name" : "graylog",
  "version" : {
"number" : "1.5.1",
"build_hash" : "5e38401bc4e4388537a615569ac60925788e1cf4",
"build_timestamp" : "2015-04-09T13:41:35Z",
"build_snapshot" : false,
"lucene_version" : "4.10.4"
  },
  "tagline" : "You Know, for Search"
}

> /var/log/graylog-server/server.log
ERROR [NettyContainer] Uncaught exception in transport layer. This is 
likely a bug, closing channel.
MultiException stack 1 of 2
java.lang.OutOfMemoryError: Java heap space
MultiException stack 2 of 2
java.lang.IllegalStateException: Unable to perform operation: create on 
org.graylog2.rest.resources.system.ClusterResource
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:392)
at 
org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
at 
org.glassfish.jersey.process.internal.RequestScope.findOrCreate(RequestScope.java:162)
at 
org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
at 
org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:767)
at 
org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:706)
at 
org.glassfish.jersey.internal.inject.Injections.getOrCreate(Injections.java:172)
at 
org.glassfish.jersey.server.model.MethodHandler$ClassBasedMethodHandler.getInstance(MethodHandler.java:284)
at 
org.glassfish.jersey.server.internal.routing.PushMethodHandlerRouter.apply(PushMethodHandlerRouter.java:74)
at 
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:109)
at 
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:112)
at 
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:112)
at 
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:112)
at 
org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:112)
at 
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:92)
at 
org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:61)
at 
org.glassfish.jersey.process.internal.Stages.process(Stages.java:197)
at 
org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:318)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at 
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
at 
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
at 
org.graylog2.jersey.container.netty.NettyContainer.messageReceived(NettyContainer.java:356)
at 
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at 
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at 
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at 
org.jboss.netty.handler.execution.ChannelUps

Re: [graylog2] Customize dashboard widget size and allow anonymous dashboard access

2015-04-14 Thread rmatrono
Is it possible to grant anonymous access to certain dashboards (and have a 
direct URL to that dashboard)?

Em segunda-feira, 30 de março de 2015 02:57:25 UTC+2, Emad Khurshid 
escreveu:
>
> Hey Lennart, 
>
> I have the same question if you can specifically reply to the point 1 made 
> by Brantley Hobbs for accessing the dashboards without authentication which 
> we wish to see on TV's 
>
> On Wednesday, April 16, 2014 at 8:57:31 AM UTC+10, lennart wrote:
>>
>> Hey Brantley, 
>>
>> The different widget sizes are definitely coming and are already on 
>> the roadmap. Mind opening a feature request in the issue tracker for 
>> the login problem? That would be great. 
>>
>> Thank you very much, 
>> Lennart 
>>
>> On Fri, Apr 11, 2014 at 2:52 PM, Brantley Hobbs 
>>  wrote: 
>> > Hi all! 
>> > 
>> > I did some brief searching through the group and didn't see the answers 
>> to 
>> > these questions, so I thought I'd start a new topic. 
>> > 
>> > We want to set up some Graylog2 dashboards on TV's to hang in common 
>> areas. 
>> > These are essentially appliances that boot to a full-screen browser 
>> already 
>> > pointed at the dashboard. 
>> > 
>> > I have a couple of issues that are giving me trouble however. 
>> > 
>> > 1.  We have to do a login on the page before we can see the dashboard. 
>> > Since these devices are meant to be without keyboard or mouse, this is 
>> > problematic (each restart requires you to plug in a keyboard just to 
>> hit 
>> > "enter"). 
>> > 2.  The televisions we have chosen are only 720p; a side-by-side 
>> > search_result_chart and search_result_count widget won't fit on a 
>> standard 
>> > 1280x720 720p display. 
>> > 
>> > Is it possible to grant anonymous access to certain dashboards (and 
>> have a 
>> > direct URL to that dashboard)?  Is it possible to tweak the widgets to 
>> > change their display size? 
>> > 
>> > Thanks! 
>> > Brantley Hobbs 
>> > University of Georgia 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups 
>> > "graylog2" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an 
>> > email to graylog2+u...@googlegroups.com. 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.