126 reputation
5
bio website joeshaw.org
location Cambridge, MA
age 34
visits member for 3 years, 9 months
seen Oct 27 at 15:04
Open source programmer, mainly in C, Python, JavaScript, and C#.

Nov
16
comment Why might a 413 not be flushed to the client immediately?
Yeah, this will likely result in the client reporting "connection reset by peer" rather than actually reading and parsing the response body.
Mar
1
comment Can monit be configured to never unmonitor/timeout a service?
This is exactly what I ended up doing, but I'm not too happy about it.
Sep
23
comment Can monit be configured to never unmonitor/timeout a service?
Looking at the monit page for the service, existence field is set to that. But the rule just doesn't seem to be obeyed. With a service that is designed to fail (ie, just a shell script that echoes out the date and does exit 1) it still unmonitors quickly. If I use "monit monitor joe-test" it stops monitoring after one failure. With "monit start joe-test" it gives up after 2 tries.
Sep
20
comment Can monit be configured to never unmonitor/timeout a service?
gist.github.com/1229828 -- I removed some mail server/alert stuff and the HTTP server configuration from monitrc. The other file is an example of our service configuration. Note the lack of "if x restarts then timeout" clause in it.