You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python examples/raw_largemsg_bench.py
181003-15:59:30.050 INFO: Creating data ...
181003-15:59:32.034 INFO: Data size: 762.939453125 MBytes
181003-15:59:33.800 INFO: Test with raw pipe...
181003-15:59:34.582 INFO: Sending data
Traceback (most recent call last):
File "C:\Python36-x64\lib\site-packages\gevent\threadpool.py", line 281, in _worker
value = func(*args, **kwargs)
OSError: [Errno 22] Invalid argument
2018-10-03T15:59:35Z (<ThreadPool at 0xca080a6828 0/1/10 hub=<Hub at 0xca08029240 thread_ident=0x2252>>, <built-in function write>) failed with OSError
Process _GProcess-1:
Traceback (most recent call last):
File "C:\Python36-x64\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Python36-x64\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "C:\Python36-x64\lib\site-packages\gipc\gipc.py", line 375, in _child
target(*args, **kwargs)
File "C:\projects\gipc\examples\raw_largemsg_bench.py", line 96, in child
data = childhandler.get()
File "C:\Python36-x64\lib\site-packages\gipc\gipc.py", line 915, in get
bindata = self._recv_in_buffer(msize).getvalue()
File "C:\Python36-x64\lib\site-packages\gipc\gipc.py", line 869, in _recv_in_buffer
"Most likely, the other pipe end is closed.")
EOFError: Most likely, the other pipe end is closed.
Traceback (most recent call last):
File "examples/raw_largemsg_bench.py", line 103, in <module>
main()
File "examples/raw_largemsg_bench.py", line 66, in main
spawn_child_transfer(c, p, data, checksum)
File "examples/raw_largemsg_bench.py", line 80, in spawn_child_transfer
parenthandler.put(data)
File "C:\Python36-x64\lib\site-packages\gipc\gipc.py", line 990, in put
self._write(struct.pack("!i", len(bindata)) + bindata)
File "C:\Python36-x64\lib\site-packages\gipc\gipc.py", line 958, in _write
bytes_written = _write_nonblocking(self._fd, bindata)
File "C:\Python36-x64\lib\site-packages\gevent\os.py", line 165, in tp_write
return get_hub().threadpool.apply(_write, (fd, buf))
File "C:\Python36-x64\lib\site-packages\gevent\pool.py", line 159, in apply
return self.spawn(func, *args, **kwds).get()
File "src\gevent\event.py", line 381, in gevent._event.AsyncResult.get
File "src\gevent\event.py", line 409, in gevent._event.AsyncResult.get
File "src\gevent\event.py", line 399, in gevent._event.AsyncResult.get
File "src\gevent\event.py", line 379, in gevent._event.AsyncResult._raise_exception
File "C:\Python36-x64\lib\site-packages\gevent\_compat.py", line 47, in reraise
raise value.with_traceback(tb)
File "C:\Python36-x64\lib\site-packages\gevent\threadpool.py", line 281, in _worker
value = func(*args, **kwargs)
OSError: [Errno 22] Invalid argument
This is fixed by transmitting much less than 700 MB. This is surprising. gipc can however surely work around that by sending chunks on Windows.
The text was updated successfully, but these errors were encountered:
This is fixed by transmitting much less than 700 MB. This is surprising.
gipc
can however surely work around that by sending chunks on Windows.The text was updated successfully, but these errors were encountered: