[
https://issues.apache.org/jira/browse/ARROW-1327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16112732#comment-16112732
]
Chris Bartak commented on ARROW-1327:
-------------------------------------
Thanks! Apparently this came up because `mod_wsgi` uses sub-interpreters,
workaround is add {{WSGIApplicationGroup %{GLOBAL}} to the config to prevent
this.
http://modwsgi.readthedocs.io/en/develop/configuration-directives/WSGIApplicationGroup.html
Some additional reference - sounds like a pain to fully support in the general
case, so an acceptable answer may be to not and document as such.
https://emptysqua.re/blog/python-c-extensions-and-mod-wsgi/
> [Python] Failing to release GIL in MemoryMappedFile._open causes deadlock
> -------------------------------------------------------------------------
>
> Key: ARROW-1327
> URL: https://issues.apache.org/jira/browse/ARROW-1327
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.5.0
> Reporter: Wes McKinney
> Assignee: Wes McKinney
> Fix For: 0.6.0
>
>
> This is occurring at
> https://github.com/apache/arrow/blob/master/python/pyarrow/io.pxi#L450
> This call is missing a {{with nogil:}}, the deadlock is occurring when this
> function attempts to reacquire the GIL to raise an exception. See discussion
> in ARROW-1282
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)