[Bug 236104] multimedia/plexmediaserver-plexpass 1.15.1.707_1: hangs while stopping service
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Feb 28 11:08:26 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236104
Bug ID: 236104
Summary: multimedia/plexmediaserver-plexpass 1.15.1.707_1:
hangs while stopping service
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: feld at FreeBSD.org
Reporter: alexandre.labarre at gmail.com
Flags: maintainer-feedback?(feld at FreeBSD.org)
Assignee: feld at FreeBSD.org
Box: 12.0-STABLE FreeBSD 12.0-STABLE r343863 GENERIC amd64
Port: multimedia/plexmediaserver-plexpass version 1.15.1.707_1
Each time I stop the service "plexmediaserver_plexpass" for a reboot or
manually, I get this issue: stop process hangs at this step:
Cleaning up leftover child processes.
Waiting for PIDS: XXXX
Example if I stop the service manually:
$ sudo service plexmediaserver_plexpass stop
Stopping plexmediaserver_plexpass.
Waiting for PIDS: 2942, 2942.
Cleaning up leftover child processes.
Waiting for PIDS: 2950 2948 2943
So I searched info about this PID 2943
$ ps -aux | grep 2943
plex 2943 0.0 0.7 127360 58340 - IN 11:52 0:08.80 Plex
Plug-in [com.plexapp.system]
/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap
root 2984 0.0 0.0 10664 2156 5 I+ 11:53 0:00.00 pwait 2950
2948 2943
alexandre 2995 0.0 0.0 11504 2796 7 S+ 11:53 0:00.00 grep 2943
In the log /usr/local/plexdata-plexpass/Plex Media Server/Logs/PMS Plugin
Logs/com.plexapp.system.log I get this during the stop of the process
2019-02-28 11:54:07,449 (806ed8d00) : DEBUG (runtime:1156) - Starting timed
thread named 'refresh_servers'
│
│2019-02-28 11:54:07,450 (806ed8d00) : DEBUG (peerservice:164) - Fetching the
current list of servers
│
│2019-02-28 11:54:07,451 (806ed8d00) : DEBUG (networking:166) - Requesting
'http://127.0.0.1:32400/servers'
│
│2019-02-28 11:54:07,457 (806ed8d00) : CRITICAL (runtime:1128) - Exception in
thread named 'refresh_servers' (most recent call last):
│
│ File
"/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py",
line 1126, in _start_thread │
│ f(*args, **kwargs)
│
│ File
"/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/System.bundle/Contents/Code/peerservice.py",
line 169, in refresh_servers
│
│ servers_el = self.get_servers_el()
│
│ File
"/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/System.bundle/Contents/Code/peerservice.py",
line 165, in get_servers_el
│
│ return XML.ElementFromURL('http://127.0.0.1:32400/servers', cacheTime = 0)
│
│ File
"/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py",
line 344, in ElementFromURL │
│ method=method,
│
│ File
"/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/networkkit.py",
line 67, in _http_request │
│ req = self._core.networking.http_request(url, *args, **kwargs)
│
│ File
"/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py",
line 370, in http_request │
│ return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors,
timeout, immediate, sleep, opener, follow_redirects, method)
│
│ File
"/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py",
line 141, in __init__ │
│ self.load()
│
│ File
"/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py",
line 181, in load │
│ f = self._opener.open(req, timeout=self._timeout)
│
│ File
"/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py",
line 438, in open │
│ response = self._open(req, data)
│
│ File
"/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py",
line 456, in _open │
│ '_open', req)
│
│ File
"/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py",
line 416, in _call_chain │
│ result = func(*args)
│
│ File
"/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py",
line 1217, in http_open │
│ return self.do_open(httplib.HTTPConnection, req)
│
│ File
"/usr/local/share/plexmediaserver-plexpass/Resources/Plug-ins-d893009fb/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py",
line 1192, in do_open │
│ raise URLError(err)
│
│URLError: <urlopen error [Errno 61] Connection refused>
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list