Stephen Birarda
07d8a6a8ae
remove debug for current state of ACM child process
2015-05-08 15:23:22 -07:00
Stephen Birarda
fe2775ca94
print out state before wait
2015-05-08 15:10:37 -07:00
Stephen Birarda
15fdcb4fe0
fix non-block, add exit code debug
2015-05-08 15:09:11 -07:00
Stephen Birarda
e092b8c537
give each child one second to clean up
2015-05-08 15:04:54 -07:00
Stephen Birarda
78a1bcdcae
add helpful debug for AC monitor cleanup
2015-05-08 15:01:03 -07:00
Stephen Birarda
897ed84cca
remove debug calls used to find ACApp stall
2015-05-08 14:56:49 -07:00
Stephen Birarda
aca71474d8
add debugging to AC monitor to capture hang
2015-05-08 14:43:31 -07:00
Stephen Birarda
99a9f2df90
don't allow an AC monitor to take over other local ACs
2015-05-08 14:02:19 -07:00
Stephen Birarda
df6ee4c7a5
immediately terminate instead of attempting network stop
2015-05-08 12:10:13 -07:00
Stephen Birarda
6b3cf1ba4a
remove dependency of PacketHeaders on NodeList
2015-05-05 12:19:42 -07:00
Stephen Birarda
6cff75f7c1
resolve conflicts on merge with upstream/master
2015-05-04 10:05:44 -07:00
Seth Alves
9f1cb2a4e5
fix kill/terminate order
2015-05-01 16:56:39 -07:00
Seth Alves
23c44500d8
no magic numbers
2015-05-01 16:45:04 -07:00
Seth Alves
4eac60b463
try harder to make sure all the assignment-client children stop
2015-05-01 16:34:44 -07:00
Stephen Birarda
edade7baba
resolve conflicts on merge with upstream master
2015-05-01 16:24:16 -07:00
Stephen Birarda
a7bff474e3
use JSONBreakableMarshal in AC monitor to get QJsonObject
2015-05-01 15:18:49 -07:00
Seth Alves
b041fd1b7f
AssignmentClientMonitor now waits() on children
2015-04-29 15:58:56 -07:00
Seth Alves
009bb9dc71
all 4 types of assignment-client appear to exit cleanly, now
2015-04-29 15:16:00 -07:00
Seth Alves
02fd9987c7
rework audio mixer so it can exit cleanly
2015-04-28 18:38:41 -07:00
Seth Alves
4e83301c65
add a bool value to Node which indicates if it is allowed to rez new entities
2015-03-31 18:27:46 -07:00
Seth Alves
8affca6120
pass -t to children even if run in parent mode. monitor (parent) only interacts with its own children
2015-03-03 14:58:53 -08:00
Seth Alves
fb4f2fe89c
Merge branch 'master' of github.com:highfidelity/hifi into domain-server-http-port-in-shmem
2015-02-27 10:19:06 -08:00
Seth Alves
b8322556a6
address code-review comments
2015-02-26 17:34:24 -08:00
Seth Alves
0918d4989b
mv ShutdownEventListener into class which is a child of QCoreApplication
2015-02-26 09:53:23 -08:00
Seth Alves
1a4808857e
put local domain server's http port into shared memeory
2015-02-25 11:30:54 -08:00
Seth Alves
0ce49888ff
AssignmentClientApp is QCoreApplication, other classes aren't. If --min is set and all the assignment clients exit (probably due to domain server restarting), respawn until --min is statisfied.
2015-02-25 09:20:34 -08:00
Seth Alves
5c5ffc07ab
allow client count to drift as needed if the user doesn't specify --min or --max
2015-02-24 17:43:08 -08:00
Seth Alves
c9d6a44c3a
fix up command-line parsing
2015-02-24 16:56:13 -08:00
Seth Alves
0b9b7f06cc
address various comments from code review
2015-02-23 11:12:19 -08:00
Seth Alves
270d509a12
cleanups
2015-02-20 14:29:12 -08:00
Seth Alves
8cee88acb4
network chatter between Monitor and AssignmentClients is expected to be localhost only
2015-02-20 14:25:43 -08:00
Seth Alves
4bba4fc387
cleanups
2015-02-20 13:44:37 -08:00
Seth Alves
feb0e7ac31
AssignmentClientMonitor doesn't keep a list of its children. Instead it knows about active children due to their entries in the NodeList. Every few seconds, if 2 or more children are idle, the Monitor will ask one to exit
2015-02-20 13:26:59 -08:00
Seth Alves
4b3183d820
AssignmentClients accept an id on the command-line.
...
AssignmentClientMonitor now has a NodeList. It stores its local port
in shared memory, like the DomainServer does. As it spawns children,
it addes Nodes to the NodeList for each one. The children send status
updates to the Monitor. The Monitor will notice if there are no
spares and fork another child.
2015-02-19 17:44:06 -08:00
Stephen Birarda
f58d21d6f0
have ShutdownEventListener handle WM_CLOSE or SIGTERM
2014-12-11 10:21:11 -08:00
Stephen Birarda
dac980d433
have AssignmentClientMonitor catch SIGTERM and cleanup
2014-11-19 16:40:19 -08:00
Stephen Birarda
d3bbd251db
move Logging to LogHandler
2014-10-28 13:59:23 -07:00
Stephen Birarda
684c6b5372
run regex header replacement on all cpp files
2014-04-09 09:35:42 -07:00
Stephen Birarda
cfec1e583e
fix logging target-name extra characters
2014-02-20 12:02:23 -08:00
Stephen Birarda
987c639e36
initial newline removal from all QDebug calls
2014-01-14 13:09:22 -08:00
Stephen Birarda
248754e63e
make sure STDOUT from child assignment-client bubbles up to parent
2014-01-10 17:03:13 -08:00
Stephen Birarda
ceb8ca7a23
changes to AssignmentClient architecture to fix fork behaviour
2014-01-10 16:59:01 -08:00