← Back to team overview

graphite-dev team mailing list archive

[Question #251660]: Max response size for rendering events?

 

New question #251660 on Graphite:
https://answers.launchpad.net/graphite/+question/251660

I am trying to read from graphite events using the render API. When I ask for events very far in the past (over about 2 weeks), the graphite server mysteriously (and silently) crashes. I have tried to rummage through the logs, and haven't found anything that seems related. On the client side, there is simply a "server broke connection" (or in the browser, "no data recieved") message.

I think this has to do with the response size in graphite. When I execute this query...
http://localhost:8080/render?format=json&target=events(%27tag1%27)&from=-1000000s    #(about 12 days)
...the server always crashes. If I execute this query...
http://localhost:8080/render?format=json&target=events(%27tag1%27)&from=-864000s    #(10 days)
... it crashes about 1/4th of the time. When I do this...
http://localhost:8080/render?format=json&target=events(%27tag1%27)&from=-432000s      #(5 days)
... it never crashes.

It seems like this might be  a server load issue (it also seems to crash more frequently if I am sending other render requests). The response size seems to appraoch 2.5MB and then crashes (could be coincidence but I do not know). 

Has anyone else seen this? Any ideas? Thanks!

-Will

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.