Commit Graph

2813 Commits (1cad04185b943afe01c81d96f6333f3b3827c3e0)
 

Author SHA1 Message Date
Luka Matijevic 598821e865 docs: fixed message routing example description
Message routing example description does not match given diagram.
6 years ago
dw b610b0c93b
Merge pull request #564 from lumatijev/doc-fix
docs: removed repeated word
6 years ago
Luka Matijevic 81db1c94b3 docs: removed repeated word 6 years ago
David Wilson 7ffed6f6dc Merge remote-tracking branch 'origin/dmw'
* origin/dmw:
  docs: update Changelog; closes #557.
  issue #557: support correct cpu_set_t size
6 years ago
David Wilson c6f4dc356b docs: update Changelog; closes #557. 6 years ago
David Wilson 3ff6123483 issue #557: support correct cpu_set_t size 6 years ago
David Wilson 408a96f284 Merge remote-tracking branch 'origin/026'
* origin/026:
  docs: update Changelog for release.
  Bump version for release.
6 years ago
David Wilson 13643b7268 docs: update Changelog for release. 6 years ago
David Wilson c255a8b562 Bump version for release. 6 years ago
David Wilson fda1647ad0 Merge remote-tracking branch 'origin/dmw'
* origin/dmw:
  issue #555: ansible: workaround ancient reload(sys) hack.
6 years ago
David Wilson 2bd0bbd4df issue #555: ansible: workaround ancient reload(sys) hack.
This is the most minimal change for what might be relatively minimal
edge case. Alternative is replacing reload(), but let's not do that yet.

Closes #555
6 years ago
David Wilson 58c853dbd1 Merge remote-tracking branch 'origin/dmw'
* origin/dmw:
  issue #554: mitogen_action_script fix
  issue #554: fix Ansible 2.4 compatibility
  issue #554: don't rely on tmp_path autoremoval in test.
  issue #554: track and remove multiple make_tmp_path() calls.
  docs: update Changelog.
  docs: drastically simplify install/changelog.
  issue #552: include process identity in log messages.
  issue #550: update Changelog.
6 years ago
David Wilson 30b8172573 issue #554: mitogen_action_script fix 6 years ago
David Wilson 6309774be2 issue #554: fix Ansible 2.4 compatibility 6 years ago
David Wilson f36b4b47bf issue #554: don't rely on tmp_path autoremoval in test.
Ansible doesn't do this, so we shouldn't either.
6 years ago
David Wilson 7743e57ff3 issue #554: track and remove multiple make_tmp_path() calls. 6 years ago
David Wilson d1ba077f0e docs: update Changelog. 6 years ago
David Wilson ffae035584 docs: drastically simplify install/changelog. 6 years ago
David Wilson 7dacb68eeb issue #552: include process identity in log messages. 6 years ago
David Wilson 2226c23c91 issue #550: update Changelog. 6 years ago
David Wilson a7df9cdb64 Merge remote-tracking branch 'origin/dmw'
* origin/dmw:
  issue #550: parent: add explanatory comment.
  issue #550: fix up TTY ioctls on WSL 2016 Anniversary Update
  docs: update Changelog.
  service: make service list optional.
6 years ago
David Wilson bd4d55dc90 issue #550: parent: add explanatory comment. 6 years ago
David Wilson 87c8ab4323 issue #550: fix up TTY ioctls on WSL 2016 Anniversary Update 6 years ago
David Wilson 0b177f1491 docs: update Changelog. 6 years ago
David Wilson ae8ba24f59 service: make service list optional.
Used by the new work.
6 years ago
David Wilson ebc53283db Merge remote-tracking branch 'origin/dmw'
* origin/dmw:
  docs: update Changelog; closes #548.
  issue #548: always treat transport=smart as 'ssh' for mitogen_via=.
6 years ago
David Wilson 79af8ef680 docs: update Changelog; closes #548. 6 years ago
David Wilson 26e6194d0a issue #548: always treat transport=smart as 'ssh' for mitogen_via=.
The idea behind transport=smart is to select between paramiko and
OpenSSH given the availability of connection multiplexing and/or OSX
kernel bugs. We need to make no such choice.
6 years ago
David Wilson 7cea622197 Merge remote-tracking branch 'origin/dmw'
* origin/dmw:
  docs: better intro paragraph.
  .ci: copy private key file to tempdir.
  os_fork: more doc tweaks
  os_fork: more doc tweaks
  os_fork: yet more doc tidyup
  os_fork: more doc tweaks
  os_fork: clean up docs
  .ci: import soak scripts.
  .ci: allow containers for different jobs to run simultaneously
  os_fork: python 3 fixes and tests.
6 years ago
David Wilson b7742a4b5f docs: better intro paragraph. 6 years ago
David Wilson 36a5968ee2 .ci: copy private key file to tempdir. 6 years ago
David Wilson d51e70636d os_fork: more doc tweaks 6 years ago
David Wilson 7763549653 os_fork: more doc tweaks 6 years ago
David Wilson add357a029 os_fork: yet more doc tidyup 6 years ago
David Wilson 0a66ca72ef os_fork: more doc tweaks 6 years ago
David Wilson 5dc0bd6f8d os_fork: clean up docs 6 years ago
David Wilson 021cfda112 .ci: import soak scripts. 6 years ago
David Wilson ad7185444d .ci: allow containers for different jobs to run simultaneously 6 years ago
David Wilson c413d53144 os_fork: python 3 fixes and tests. 6 years ago
David Wilson 45e66541e0 Merge remote-tracking branch 'origin/dmw'
* origin/dmw:
  issue #535: activate Corker on 2.4 in master too.
6 years ago
David Wilson 18b984a0b4 issue #535: activate Corker on 2.4 in master too. 6 years ago
David Wilson 509590530b Merge remote-tracking branch 'origin/dmw'
* origin/dmw:
  issue #535: update Changelog.
  issue #535: wire mitogen.os_fork into Broker and Pool.
  issue #535: parent: add create_socketpair(size=..) parameter.
  issue #535: introduce mitogen.os_fork module and Corker class.
  issue #535: docs: update Changelog
  issue #535: service: support Pool.defer() like Broker.defer()
  issue #535: core: unicode.encode() may take importer lock on 2.x
  issue #535: docs: fix up Select doc
  issue #535: docs: update Changelog.
  issue #535: core/select: support selecting from Latches.
6 years ago
David Wilson ebbf5ab62c issue #535: update Changelog. 6 years ago
David Wilson 06e52ca89f issue #535: wire mitogen.os_fork into Broker and Pool. 6 years ago
David Wilson c1d73e1f4f issue #535: parent: add create_socketpair(size=..) parameter. 6 years ago
David Wilson 63f4864b21 issue #535: introduce mitogen.os_fork module and Corker class. 6 years ago
David Wilson c119ae8f66 issue #535: docs: update Changelog 6 years ago
David Wilson 514d35fd10 issue #535: service: support Pool.defer() like Broker.defer() 6 years ago
David Wilson eb9ec26622 issue #535: core: unicode.encode() may take importer lock on 2.x
Found on Python 2.4, where import happens immediately following connect.

- Main thread executes import statement, triggers request to parent
- Broker thread attempts to deliver request via Router
- Router discovers parent has disconnected, prepares a dead message
- .dead() calls unicode.encode() to format reason string
- .encode() attemptsto import a codec module
- deadlock

----

(gdb) pystack
/usr/local/python2.4.6/lib/python2.4/encodings/__init__.py (69): search_function
<stdin> (733): dead
<stdin> (2717): _maybe_send_dead
<stdin> (2724): _invoke
<stdin> (2749): _async_route
<stdin> (1635): _receive_one
<stdin> (1603): _internal_receive
<stdin> (1613): on_receive
<stdin> (2931): _call
<stdin> (2942): _loop_once
<stdin> (2988): _do_broker_main
<stdin> (545): _profile_hook
<stdin> (3007): _broker_main
/usr/local/python2.4.6/lib/python2.4/threading.py (420): run
/usr/local/python2.4.6/lib/python2.4/threading.py (424): __bootstrap
6 years ago
David Wilson 72862f0bb9 issue #535: docs: fix up Select doc 6 years ago