{"action":"created","issue":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4361","labels_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4361/labels{/name}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4361/comments","events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4361/events","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4361","id":119433525,"number":4361,"title":"Fixing hanging Ice callback","user":{"login":"aleksandra-tarkowska","id":1065155,"avatar_url":"https://avatars.githubusercontent.com/u/1065155?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandra-tarkowska","html_url":"https://github.com/aleksandra-tarkowska","followers_url":"https://api.github.com/users/aleksandra-tarkowska/followers","following_url":"https://api.github.com/users/aleksandra-tarkowska/following{/other_user}","gists_url":"https://api.github.com/users/aleksandra-tarkowska/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandra-tarkowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandra-tarkowska/subscriptions","organizations_url":"https://api.github.com/users/aleksandra-tarkowska/orgs","repos_url":"https://api.github.com/users/aleksandra-tarkowska/repos","events_url":"https://api.github.com/users/aleksandra-tarkowska/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandra-tarkowska/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/labels/develop","name":"develop","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-30T07:09:41Z","updated_at":"2015-12-02T12:14:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4361","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4361","diff_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4361.diff","patch_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4361.patch"},"body":"1. hanging web\r\n\r\n > For each vhost Django site should use a separate daemon process group. WSGIApplicationGroup %{GLOBAL} https://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIApplicationGroup is forcing the use of the main interpreter context within the respective process groups. It is not shared across process groups.\r\n\r\n Looks like we are using Python modules (IcePy?) that are not loaded correctly in Python sub interpreters, see https://code.google.com/p/modwsgi/wiki/ApplicationIssues#Python_Simplified_GIL_State_API\r\n\r\n To test:\r\n - delete image and check activities, it shouldn't hang anymore.\r\n\r\n1. I also updated python-path as it was missing env, cc @kennethgillen \r\n\r\n To test:\r\n - custom PYTHONPATH:\r\n  - set ``bin/omero config set omero.web.application_server 'wsgi'``\r\n  - export ``$PYTHONPATH=/some/location:$PYTHONPATH``\r\n  - generate config ``bin/omero web config {apache22|apache24}``\r\n  - check if ``WSGIDaemonProcess`` contains ``/some/location`` in ``python-path=..python2.7/site-packages:..dist/lib/python:/some/location``\r\n -  default ``PYTHONPATH``"},"comment":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/comments/161274254","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4361#issuecomment-161274254","issue_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4361","id":161274254,"user":{"login":"aleksandra-tarkowska","id":1065155,"avatar_url":"https://avatars.githubusercontent.com/u/1065155?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandra-tarkowska","html_url":"https://github.com/aleksandra-tarkowska","followers_url":"https://api.github.com/users/aleksandra-tarkowska/followers","following_url":"https://api.github.com/users/aleksandra-tarkowska/following{/other_user}","gists_url":"https://api.github.com/users/aleksandra-tarkowska/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandra-tarkowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandra-tarkowska/subscriptions","organizations_url":"https://api.github.com/users/aleksandra-tarkowska/orgs","repos_url":"https://api.github.com/users/aleksandra-tarkowska/repos","events_url":"https://api.github.com/users/aleksandra-tarkowska/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandra-tarkowska/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T12:14:30Z","updated_at":"2015-12-02T12:14:30Z","body":"did you ``chmod a+X``"}}