MFen | athan: just a theory here, but does bin/deconfigured start a daemon process? | 00:00 |
---|---|---|
athan | MFen: Not quite, it does invoke a server though | 00:00 |
athan | it doesn't fork anything | 00:00 |
MFen | ok, so that process stays running in the foreground | 00:01 |
athan | It connects to port 80 & does the http stuff | 00:01 |
athan | yep! | 00:01 |
athan | It does some basic logs - 200 responses etc | 00:01 |
athan | (it's weird, my tests that caused resets actually logged as 200s) | 00:01 |
MFen | you've exhausted my knowledge then sry :) | 00:02 |
athan | Thanks anyway MFen ! | 00:08 |
athan | hmm this is interesting, so the http response doesn't actually go through (even on `lo`) | 00:15 |
athan | I could show .pcap's if helpful :) | 00:15 |
athan | 6 ACK's from the browser, and nothing back :O | 00:15 |
athan | er... wait... shouldn't the ACK come _after_ the 200 response? :s | 00:17 |
athan | or maybe it's just a "resend" signal | 00:17 |
JanC | athan: when you start it yourself vs. upstart, there might be different users, and/or different environments | 00:20 |
athan | JanC: There isn't anything particular in the executable, though | 00:21 |
athan | I have full control over the code - there are only 2 or three things which vary based on the runtime | 00:21 |
athan | which are fully logged and don't matter much in terms of http responses :\ | 00:21 |
JanC | e.g. things started by upstart probably don't have a console available etc. | 00:22 |
JanC | that's the sort of thing you might want to look into | 00:23 |
* JanC leaves now, have to get up early in the morning :) | 00:24 | |
athan | oop, sorry! | 00:35 |
athan | with `console log`, I thought all stdout/stderr got piped to a file? :S | 00:36 |
=== Cidan is now known as zz_Cidan | ||
=== zz_Cidan is now known as Cidan | ||
=== Cidan is now known as zz_Cidan | ||
hitlin37 | i have one conceptual question | 13:27 |
hitlin37 | if i stop a job based on a false condition of configuration file than it will not respawn. | 13:28 |
hitlin37 | right? | 13:28 |
hitlin37 | even if job says respqn. | 13:28 |
hitlin37 | all i have to do is to exit 0 in pre-start. | 13:29 |
hitlin37 | specifically, i'm talking about this : http://upstart.ubuntu.com/cookbook/#stop-a-job-from-running-if-its-configuration-file-has-not-been-created-modified | 14:58 |
hitlin37 | so,, was interested to know if it will respwan if stopped in pre-start, even if job conf says resqpwan | 14:59 |
=== zz_Cidan is now known as Cidan | ||
=== Cidan is now known as zz_Cidan | ||
=== zz_Cidan is now known as Cidan |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!