David Wilson
3ff6123483
issue #557 : support correct cpu_set_t size
2019-03-06 17:55:31 +00:00
David Wilson
408a96f284
Merge remote-tracking branch 'origin/026'
...
* origin/026:
docs: update Changelog for release.
Bump version for release.
2019-03-06 15:46:30 +00:00
David Wilson
13643b7268
docs: update Changelog for release.
2019-03-06 15:19:53 +00:00
David Wilson
c255a8b562
Bump version for release.
2019-03-06 15:18:42 +00:00
David Wilson
fda1647ad0
Merge remote-tracking branch 'origin/dmw'
...
* origin/dmw:
issue #555 : ansible: workaround ancient reload(sys) hack.
2019-03-06 14:28:54 +00:00
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
2019-03-06 14:05:29 +00:00
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.
2019-03-06 13:43:56 +00:00
David Wilson
30b8172573
issue #554 : mitogen_action_script fix
2019-03-06 13:15:45 +00:00
David Wilson
6309774be2
issue #554 : fix Ansible 2.4 compatibility
2019-03-06 12:06:55 +00:00
David Wilson
f36b4b47bf
issue #554 : don't rely on tmp_path autoremoval in test.
...
Ansible doesn't do this, so we shouldn't either.
2019-03-06 11:22:40 +00:00
David Wilson
7743e57ff3
issue #554 : track and remove multiple make_tmp_path() calls.
2019-03-06 10:55:07 +00:00
David Wilson
d1ba077f0e
docs: update Changelog.
2019-02-28 06:35:44 +00:00
David Wilson
ffae035584
docs: drastically simplify install/changelog.
2019-02-28 06:33:12 +00:00
David Wilson
7dacb68eeb
issue #552 : include process identity in log messages.
2019-02-25 17:25:09 +00:00
David Wilson
2226c23c91
issue #550 : update Changelog.
2019-02-23 16:21:33 +00:00
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.
2019-02-23 16:18:53 +00:00
David Wilson
bd4d55dc90
issue #550 : parent: add explanatory comment.
2019-02-23 15:53:59 +00:00
David Wilson
87c8ab4323
issue #550 : fix up TTY ioctls on WSL 2016 Anniversary Update
2019-02-23 15:52:52 +00:00
David Wilson
0b177f1491
docs: update Changelog.
2019-02-22 00:48:56 +00:00
David Wilson
ae8ba24f59
service: make service list optional.
...
Used by the new work.
2019-02-21 04:15:16 +00:00
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=.
2019-02-19 16:51:30 +00:00
David Wilson
79af8ef680
docs: update Changelog; closes #548 .
2019-02-19 16:29:37 +00:00
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.
2019-02-19 16:26:47 +00:00
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.
2019-02-19 04:58:50 +00:00
David Wilson
b7742a4b5f
docs: better intro paragraph.
2019-02-19 04:24:21 +00:00
David Wilson
36a5968ee2
.ci: copy private key file to tempdir.
2019-02-18 19:58:54 +00:00
David Wilson
d51e70636d
os_fork: more doc tweaks
2019-02-18 18:33:50 +00:00
David Wilson
7763549653
os_fork: more doc tweaks
2019-02-18 18:30:47 +00:00
David Wilson
add357a029
os_fork: yet more doc tidyup
2019-02-18 18:30:27 +00:00
David Wilson
0a66ca72ef
os_fork: more doc tweaks
2019-02-18 18:22:32 +00:00
David Wilson
5dc0bd6f8d
os_fork: clean up docs
2019-02-18 18:21:25 +00:00
David Wilson
021cfda112
.ci: import soak scripts.
2019-02-18 18:01:54 +00:00
David Wilson
ad7185444d
.ci: allow containers for different jobs to run simultaneously
2019-02-18 18:01:54 +00:00
David Wilson
c413d53144
os_fork: python 3 fixes and tests.
2019-02-18 17:50:28 +00:00
David Wilson
45e66541e0
Merge remote-tracking branch 'origin/dmw'
...
* origin/dmw:
issue #535 : activate Corker on 2.4 in master too.
2019-02-18 00:34:52 +00:00
David Wilson
18b984a0b4
issue #535 : activate Corker on 2.4 in master too.
2019-02-17 23:12:30 +00:00
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.
2019-02-17 22:23:53 +00:00
David Wilson
ebbf5ab62c
issue #535 : update Changelog.
2019-02-17 21:58:24 +00:00
David Wilson
06e52ca89f
issue #535 : wire mitogen.os_fork into Broker and Pool.
2019-02-17 21:56:21 +00:00
David Wilson
c1d73e1f4f
issue #535 : parent: add create_socketpair(size=..) parameter.
2019-02-17 21:55:46 +00:00
David Wilson
63f4864b21
issue #535 : introduce mitogen.os_fork module and Corker class.
2019-02-17 21:55:14 +00:00
David Wilson
c119ae8f66
issue #535 : docs: update Changelog
2019-02-17 21:54:41 +00:00
David Wilson
514d35fd10
issue #535 : service: support Pool.defer() like Broker.defer()
2019-02-17 21:53:11 +00:00
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
2019-02-17 21:53:11 +00:00
David Wilson
72862f0bb9
issue #535 : docs: fix up Select doc
2019-02-17 21:53:07 +00:00
David Wilson
28aa8b3b27
issue #535 : docs: update Changelog.
2019-02-17 21:53:02 +00:00
David Wilson
b3f592acee
issue #535 : core/select: support selecting from Latches.
2019-02-17 21:52:52 +00:00
David Wilson
1397c0eec3
Merge remote-tracking branch 'origin/dmw'
...
* origin/dmw:
core: increase cookie field lengths to 64-bit; closes #545 .
tests: ensure serialization restrictions are in effect
tests/bench: set process affinity in throughput.py.
docs: update copyright year.
docs: update Changelog.
core: Make Latch.put(obj=) optional.
2019-02-16 17:16:09 +00:00
David Wilson
7d0480e8bd
core: increase cookie field lengths to 64-bit; closes #545 .
2019-02-16 16:54:57 +00:00
David Wilson
e517810e5a
tests: ensure serialization restrictions are in effect
2019-02-15 12:18:44 +00:00