Right before I read this, I started a rebuild of my index ranges, 
apparently that won't help since there's a bit of a data type problem :)
Thanks Lennart, 0.20 is significantly better than previous versions. 140 
indices, 1.5TB of data, a full search of all messages with 447,000 results 
takes only about 7 seconds to render. Love it.



On Friday, February 21, 2014 9:38:56 AM UTC-5, lennart wrote:
>
> Ah f... I did not spot your original email early enough. Sorry about that. 
>
> This is indeed a clear bug. There is an Integer that should be a Long 
> on the way. I am testing a fix right now and will release 0.20.1 right 
> after that because more people will stumble upon this. 
>
> On Fri, Feb 21, 2014 at 3:24 PM, Scotty H <[email protected] <javascript:>> 
> wrote: 
> > I upgraded to 0.20.0 release. 
> > Still occurring. 
> > 
> >> [error] lib.ApiClient - Caught Exception while deserializing JSON 
> request: 
> >> com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: 
> >> Expected an int but was 2825758232 at line 1 column 21 
> >> 
> >> [error] m.MessagesService - Could not load total message count 
> >> lib.APIException: API call failed GET 
> >> http://@172.16.1.166:12900/count/total returned 200 OK body: 
> >> {"events":2825758232} 
> >>         at 
> >> lib.ApiClientImpl$ApiRequestBuilder.execute(ApiClientImpl.java:414) 
> >> ~[graylog2-web-interface.graylog2-web-interface-0.20.0.jar:0.20.0] 
> >>         at models.MessagesService$2.call(MessagesService.java:90) 
> >> ~[graylog2-web-interface.graylog2-web-interface-0.20.0.jar:0.20.0] 
> >>         at models.MessagesService$2.call(MessagesService.java:87) 
> >> ~[graylog2-web-interface.graylog2-web-interface-0.20.0.jar:0.20.0] 
> >> 
> >>         at play.cache.Cache.getOrElse(Cache.java:31) 
> >> ~[com.typesafe.play.play-cache_2.10-2.2.2-RC1.jar:2.2.2-RC1] 
> >>         at models.MessagesService.total(MessagesService.java:87) 
> >> ~[graylog2-web-interface.graylog2-web-interface-0.20.0.jar:0.20.0] 
> >>         at 
> >> 
> controllers.MessageCountsController.total(MessageCountsController.java:40) 
> >> [graylog2-web-interface.graylog2-web-interface-0.20.0.jar:0.20.0] 
> > 
> > 
> > 
> > 
> > On Monday, February 17, 2014 4:32:36 PM UTC-5, Scotty H wrote: 
> >> 
> >> Upgraded today, it went smoothly. 
> >> Untar both server & web, overwrite stock configs with my rc.2 
> >> configurations (web & server), stop services, update symlinks, start 
> >> services. Done. 
> >> I'm fairly certain I didn't screw it up: 
> >>> 
> >>> lrwxrwxrwx   1 root       root          28 Feb 17 13:54 
> graylog2-server 
> >>> -> graylog2-server-0.20.0-rc.3/ 
> >>> lrwxrwxrwx   1 root       root          35 Feb 17 13:53 
> >>> graylog2-web-interface -> graylog2-web-interface-0.20.0-rc.3/ 
> >> 
> >> 
> >> So I was clicking around, and I go to the indices page, the message 
> count 
> >> does not appear. I have approx 1.2TB of log data so far, so I'm 
> expecting to 
> >> see something over 2 billion messages. 
> >> I check the Play web logs that I'm redirecting to a file, and I see 
> this 
> >> entry every time the web interface checks to update the message count 
> (every 
> >> few seconds, of course): 
> >> 
> >>> [error] lib.ApiClient - Caught Exception while deserializing JSON 
> >>> request: com.google.gson.JsonSyntaxException: 
> >>> java.lang.NumberFormatException: Expected an int but was 2259601201 at 
> line 
> >>> 1 column 21 
> >>> [error] m.MessagesService - Could not load total message count 
> >>> lib.APIException: API call failed GET 
> >>> http://@172.16.1.166:12900/count/total returned 200 OK body: 
> >>> {"events":2259601201} 
> >>>         at 
> >>> lib.ApiClientImpl$ApiRequestBuilder.execute(ApiClientImpl.java:414) 
> >>> 
> ~[graylog2-web-interface.graylog2-web-interface-0.20.0-rc.3.jar:0.20.0-rc.3] 
>
> >>>         at models.MessagesService$2.call(MessagesService.java:90) 
> >>> 
> ~[graylog2-web-interface.graylog2-web-interface-0.20.0-rc.3.jar:0.20.0-rc.3] 
>
> >>>         at models.MessagesService$2.call(MessagesService.java:87) 
> >>> 
> ~[graylog2-web-interface.graylog2-web-interface-0.20.0-rc.3.jar:0.20.0-rc.3] 
>
> >>>         at play.cache.Cache.getOrElse(Cache.java:31) 
> >>> ~[com.typesafe.play.play-cache_2.10-2.2.2-RC1.jar:2.2.2-RC1] 
> >>>         at models.MessagesService.total(MessagesService.java:87) 
> >>> 
> ~[graylog2-web-interface.graylog2-web-interface-0.20.0-rc.3.jar:0.20.0-rc.3] 
>
> >>>         at 
> >>> 
> controllers.MessageCountsController.total(MessageCountsController.java:40) 
> >>> 
> [graylog2-web-interface.graylog2-web-interface-0.20.0-rc.3.jar:0.20.0-rc.3] 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> Curl output: 
> >>> 
> >>> [root@kirby graylog2-server]# curl -v http://127.0.0.1:12900 
> >>> * About to connect() to 127.0.0.1 port 12900 (#0) 
> >>> *   Trying 127.0.0.1... connected 
> >>> * Connected to 127.0.0.1 (127.0.0.1) port 12900 (#0) 
> >>> > GET / HTTP/1.1 
> >>> > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 
> >>> > NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 
> >>> > Host: 127.0.0.1:12900 
> >>> > Accept: */* 
> >>> > 
> >>> < HTTP/1.1 404 Not Found 
> >>> < Transfer-Encoding: chunked 
> >>> < 
> >>> * Connection #0 to host 127.0.0.1 left intact 
> >>> * Closing connection #0 
> >>> [root@kirby graylog2-server]# curl -v 
> http://127.0.0.1:12900/count/total 
> >>> * About to connect() to 127.0.0.1 port 12900 (#0) 
> >>> *   Trying 127.0.0.1... connected 
> >>> * Connected to 127.0.0.1 (127.0.0.1) port 12900 (#0) 
> >>> > GET /count/total HTTP/1.1 
> >>> > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 
> >>> > NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 
> >>> > Host: 127.0.0.1:12900 
> >>> > Accept: */* 
> >>> > 
> >>> < HTTP/1.1 401 Unauthorized 
> >>> < WWW-Authenticate: Basic, Graylog2 Server 
> >>> < Transfer-Encoding: chunked 
> >>> < 
> >>> * Connection #0 to host 127.0.0.1 left intact 
> >>> * Closing connection #0 
> >>> [root@kirby graylog2-server]# 
> >> 
> >> 
> >> Hmmmmmm. 
> >> I can't run graylog2-server in debug mode to see if there's additional 
> >> information because I have SO MUCH data flying at it, there's MANY 
> THOUSANDS 
> >> of lines per second. If it came down to it I could stop traffic with 
> >> iptables if you really need me to. 
> >> 
> > -- 
> > 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 [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to