Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

stenoread timeout #162

Open
hosom opened this issue Jul 25, 2017 · 2 comments
Open

stenoread timeout #162

hosom opened this issue Jul 25, 2017 · 2 comments

Comments

@hosom
Copy link
Contributor

hosom commented Jul 25, 2017

I am trying to find why the stenoread timeout was set to a nonconfigurable 890 seconds.

I've traced the change back to 2ddbee0. Was there a particular reason that a timeout was set, other than as a means to let the user know that the number of packets returned was a LOT?

@gconnell
Copy link
Contributor

The server itself throws out replys after 900 seconds, so I thought I'd let the client die first.

https://github.com/google/stenographer/blob/master/env/env.go#L99 sets the server timeout to 15 minutes.

Totally willing to make either/both of those timeouts configurable, but in general I needed some way to stop a connection that was going totally haywire.

In general, Steno is optimized to store lots of packets and return a small, targeted set. Note that if you're returning any appreciable percentage of the packets you store, Steno is probably thrashing your disk VERY hard.

@hosom
Copy link
Contributor Author

hosom commented Jul 25, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants