Show More
@@ -606,10 +606,11 b' class chgunixservicehandler(object):' | |||
|
606 | 606 | |
|
607 | 607 | def shouldexit(self): |
|
608 | 608 | if not self._issocketowner(): |
|
609 |
self.ui. |
|
|
609 | self.ui.log(b'chgserver', b'%s is not owned, exiting.\n', | |
|
610 | self._realaddress) | |
|
610 | 611 | return True |
|
611 | 612 | if time.time() - self._lastactive > self._idletimeout: |
|
612 |
self.ui. |
|
|
613 | self.ui.log(b'chgserver', b'being idle too long. exiting.\n') | |
|
613 | 614 | return True |
|
614 | 615 | return False |
|
615 | 616 |
@@ -573,7 +573,8 b' class unixforkingservice(object):' | |||
|
573 | 573 | pid = os.fork() |
|
574 | 574 | if pid: |
|
575 | 575 | try: |
|
576 |
self.ui. |
|
|
576 | self.ui.log(b'cmdserver', | |
|
577 | b'forked worker process (pid=%d)\n', pid) | |
|
577 | 578 | self._workerpids.add(pid) |
|
578 | 579 | h.newconnection() |
|
579 | 580 | finally: |
@@ -610,7 +611,7 b' class unixforkingservice(object):' | |||
|
610 | 611 | if pid == 0: |
|
611 | 612 | # no waitable child processes |
|
612 | 613 | return |
|
613 |
self.ui. |
|
|
614 | self.ui.log(b'cmdserver', b'worker process exited (pid=%d)\n', pid) | |
|
614 | 615 | self._workerpids.discard(pid) |
|
615 | 616 | |
|
616 | 617 | def _runworker(self, conn): |
@@ -230,9 +230,7 b' print only the last 10 lines, since we a' | |||
|
230 | 230 | preserved: |
|
231 | 231 | |
|
232 | 232 | $ cat log/server.log.1 log/server.log | tail -10 | filterlog |
|
233 | YYYY/MM/DD HH:MM:SS (PID)> confighash = ... mtimehash = ... | |
|
234 | YYYY/MM/DD HH:MM:SS (PID)> validate: [] | |
|
235 | YYYY/MM/DD HH:MM:SS (PID)> confighash = ... mtimehash = ... | |
|
233 | YYYY/MM/DD HH:MM:SS (PID)> forked worker process (pid=...) | |
|
236 | 234 | YYYY/MM/DD HH:MM:SS (PID)> setprocname: ... |
|
237 | 235 | YYYY/MM/DD HH:MM:SS (PID)> received fds: ... |
|
238 | 236 | YYYY/MM/DD HH:MM:SS (PID)> chdir to '$TESTTMP/extreload' |
@@ -240,3 +238,5 b' preserved:' | |||
|
240 | 238 | YYYY/MM/DD HH:MM:SS (PID)> setenv: ... |
|
241 | 239 | YYYY/MM/DD HH:MM:SS (PID)> confighash = ... mtimehash = ... |
|
242 | 240 | YYYY/MM/DD HH:MM:SS (PID)> validate: [] |
|
241 | YYYY/MM/DD HH:MM:SS (PID)> worker process exited (pid=...) | |
|
242 | YYYY/MM/DD HH:MM:SS (PID)> $TESTTMP/extreload/chgsock/server-... is not owned, exiting. |
General Comments 0
You need to be logged in to leave comments.
Login now