From owner-freebsd-ports@FreeBSD.ORG Wed Apr 30 14:26:43 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BAA9C599 for ; Wed, 30 Apr 2014 14:26:43 +0000 (UTC) Received: from mail-we0-x22c.google.com (mail-we0-x22c.google.com [IPv6:2a00:1450:400c:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DADD185D for ; Wed, 30 Apr 2014 14:26:43 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id u57so1781370wes.31 for ; Wed, 30 Apr 2014 07:26:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=gSnqAysV09Yua/CZzbnGiEx4cDA4IdvVyaY7jY+dlm4=; b=bdR9ZAYT0qRgvOMi8IVmdjql5/d2quTN3hfemDMoLa+VjZVfOFTpD3iXLToL9c3cFF Qqlxc9EnZcm5OpDadNnudH9sDSZntcqu8bYJjvHHaE8BQMdZ77b5WGB5KBW3JPWiQIjv CHR6XgJUpuZIP1j5yfppw5LryRTjJe2NJAf0EmODtOfHBhmPyOx32igytpTtPEJKyhpn X8M1t0ZQNEUyJ9G/4VWQMIoEXL8QpNLunIryqGSgiZP268Z4PQTuAq0VZNWcvE3CYHIY A8YeLT/fqQT/uFvAAVdJX2IQohj11aolGrFQ8ZclOO1fZ0zLsUgzrXNtecqjZ4feMySl TQJQ== X-Received: by 10.180.228.42 with SMTP id sf10mr4015944wic.48.1398868001419; Wed, 30 Apr 2014 07:26:41 -0700 (PDT) Received: from x220.optiplex-networks.com (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPSA id fi2sm3983653wib.2.2014.04.30.07.26.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Apr 2014 07:26:40 -0700 (PDT) Message-ID: <5361081F.3000508@gmail.com> Date: Wed, 30 Apr 2014 15:26:39 +0100 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-ports Subject: Plex Media Server unstable won't run anymore? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2014 14:26:43 -0000 Hi, I'm running 10.0-RELEASE on amd64 and for some reason Plex Media Server doesn't want to fire up any more? Running ps aux |grep plex only these can be seen after /usr/local/etc/rc.d/plexmediaserver plex 110 0.0 0.6 223992 52988 - SN 3:11PM 0:03.07 Plex Plug-in [com.plexapp.system] /usr/local/plexdata/Plex Media Server/Plug-ins/F plex 115 0.0 0.3 183660 25368 - S 3:11PM 0:00.67 /usr/local/share/plexmediaserver/Plex DLNA Server Also I've noticed a few core dumps too and additionally the Channels don't seem to work from within the web client or even when using a remote PlexHomeTheater client on a Linux box. The Android app seems to work fine though..... I'm not sure what is going on and I've even been on the Plex FreeBSD forum asking for help but I got sent here from there.... Also I don't know if it's relevant but I was told that there is an update for PMS though it doesn't seem to be translated to FreeBSD yet. I'm wondering if there are bug fixes with the newer version, that perhaps I'm running into on my version? This is my version: plexmediaserver-0.9.9.4.409_2 The Plex Media Server component plexmediaserver-0.9.9.4.409_2 The Plex Media Server component The actual h/w is a Xeon E5 with 8GB RAM and 16GB of Swap so should be plenty to run Plex. Basically I've had to 'kill' the process a few times as it was hanging; /usr/local/etc/rc.d/plexmediaserver stop wasn't able to shut the processes down while the Media Service was actually showing up under 'ps'. Here's the output of the logs: Apr 30, 2014 15:11:10 [0x807806400] DEBUG - Checking for blacklisted version for Framework.bundle (version 279a6af) Apr 30, 2014 15:11:10 [0x807806400] DEBUG - Checking for blacklisted version for System.bundle (version c259f60) Apr 30, 2014 15:11:10 [0x80780b400] DEBUG - File /usr/local/plexdata/Plex Media Server/Plug-ins changed: -1 => 1398833726. Apr 30, 2014 15:11:10 [0x80780b400] DEBUG - Scanning for plug-ins in /usr/local/plexdata/Plex Media Server/Plug-ins Apr 30, 2014 15:11:10 [0x80780b400] DEBUG - Starting plug-in /usr/local/plexdata/Plex Media Server/Plug-ins/System.bundle. Apr 30, 2014 15:11:10 [0x80780b400] DEBUG - [com.plexapp.system] Setting plug-in to always running (daemon mode). Apr 30, 2014 15:11:10 [0x80780b400] DEBUG - Starting file watcher for com.plexapp.system Apr 30, 2014 15:11:10 [0x80780b400] DEBUG - Spawned plug-in com.plexapp.system with PID 110 Apr 30, 2014 15:11:10 [0x80780b400] DEBUG - [com.plexapp.system] Sent command: GET /:/prefixes Apr 30, 2014 15:11:12 [0x80780b400] DEBUG - Reading 486 bytes in the body, code is 200 Apr 30, 2014 15:11:12 [0x80780b400] DEBUG - [com.plexapp.system] Plug-in running on port 49012. Apr 30, 2014 15:11:12 [0x80780b400] DEBUG - * Plug-in handles prefix: /system Apr 30, 2014 15:11:12 [0x80780b400] DEBUG - * Plug-in handles prefix: /player Apr 30, 2014 15:11:12 [0x80780b400] DEBUG - Read configuration for [com.plexapp.system], had 2 prefixes Apr 30, 2014 15:11:12 [0x80780b400] DEBUG - Done with 1 synchronous plug-in starts, starting the rest in parallel. Apr 30, 2014 15:11:12 [0x80780b400] DEBUG - Updating the list of agents known by the system. Apr 30, 2014 15:11:12 [0x80780b400] DEBUG - [com.plexapp.system] Sending command over HTTP (GET): /system/agents Apr 30, 2014 15:11:12 [0x807806400] DEBUG - Image transcode cache directory: /usr/local/plexdata/Plex Media Server/Cache/PhotoTranscoder Apr 30, 2014 15:11:12 [0x80780b400] DEBUG - HTTP requesting to: http://127.0.0.1:49012/system/agents Apr 30, 2014 15:11:12 [0x807806400] DEBUG - NAT: Starting Mapping Thread. Apr 30, 2014 15:11:12 [0x807806400] DEBUG - NAT: Using manually specified port of 32400. Apr 30, 2014 15:11:12 [0x807806400] DEBUG - NAT: Creating NAT puncher thread 0x807af9020 Apr 30, 2014 15:11:12 [0x807806400] DEBUG - Creating NetworkServices singleton. Apr 30, 2014 15:11:12 [0x807806400] DEBUG - NetworkServices: Initializing... Apr 30, 2014 15:11:12 [0x807806400] DEBUG - 0x807b6f000: Creating new Network Service and registering for notifications. Apr 30, 2014 15:11:12 [0x80780c000] DEBUG - NAT: Updating mapping in puncher thread 0x807af9020 Apr 30, 2014 15:11:12 [0x80780c000] DEBUG - NAT: Creating puncher. Apr 30, 2014 15:11:12 [0x80780c000] DEBUG - NAT: Switching to NAT-PMP strategy. Apr 30, 2014 15:11:12 [0x807806400] DEBUG - 0x807b6f000: NetworkService got notification of changed network (first change: 1) Apr 30, 2014 15:11:12 [0x807806400] DEBUG - NetworkService: Quick dispatch of network change. Apr 30, 2014 15:11:12 [0x80780c000] DEBUG - NAT: Creating NATPmPPuncher. Apr 30, 2014 15:11:12 [0x807806400] DEBUG - 0x807b72000: Creating new Network Service and registering for notifications. Apr 30, 2014 15:11:12 [0x807806400] DEBUG - 0x807b72000: NetworkService got notification of changed network (first change: 1) Apr 30, 2014 15:11:12 [0x807806400] DEBUG - NetworkService: Quick dispatch of network change. Apr 30, 2014 15:11:12 [0x80780bc00] DEBUG - HTTP requesting to: https://plex.tv/users/account.xml?auth_token=xxxxxxxxxxxxxxxxxxxx Apr 30, 2014 15:11:12 [0x807806400] DEBUG - 0x807b75000: Creating new Network Service and registering for notifications. Apr 30, 2014 15:11:12 [0x807806400] DEBUG - 0x807b75000: NetworkService got notification of changed network (first change: 1) Apr 30, 2014 15:11:12 [0x807806400] DEBUG - NetworkService: Quick dispatch of network change. Apr 30, 2014 15:11:12 [0x80780c000] DEBUG - NAT: Initializing NAT-PMP, success=1 Apr 30, 2014 15:11:12 [0x80780c000] DEBUG - NAT: Finding public address failed the first way, switching. Apr 30, 2014 15:11:12 [0x80780c000] DEBUG - NAT: Switching to UPnP strategy. Apr 30, 2014 15:11:12 [0x807806400] DEBUG - 0x807b78000: Creating new Network Service and registering for notifications. Apr 30, 2014 15:11:12 [0x807806400] DEBUG - 0x807b78000: NetworkService got notification of changed network (first change: 1) Apr 30, 2014 15:11:12 [0x807806400] DEBUG - NetworkService: Quick dispatch of network change. Apr 30, 2014 15:11:12 [0x80780c000] DEBUG - NAT: Creating NATUPnPPuncher. Apr 30, 2014 15:11:12 [0x80780c400] DEBUG - Network change for advertiser. Apr 30, 2014 15:11:12 [0x807806400] DEBUG - Starting HTTP server. Apr 30, 2014 15:11:12 [0x807806400] DEBUG - Running server... Apr 30, 2014 15:11:12 [0x80780c400] DEBUG - NetworkService: Setting up multicast listener on 0.0.0.0:32414 (outbound: 0) Apr 30, 2014 15:11:12 [0x80780c800] DEBUG - DLNA server starting. Apr 30, 2014 15:11:12 [0x807806400] DEBUG - Waiting for server condition to be signaled. Apr 30, 2014 15:11:12 [0x80780c800] DEBUG - Job running: /usr/local/share/plexmediaserver/Plex DLNA Server Apr 30, 2014 15:11:12 [0x80780cc00] DEBUG - Set up a thread pool for HTTP server with 2 threads. Apr 30, 2014 15:11:12 [0x80780cc00] VERBOSE - [Event] Firing plex.event.server.startup to 2 sink(s) Apr 30, 2014 15:11:12 [0x80780a400] ERROR - Couldn't add a new thread to the pool of size 1: boost thread: failed in pthread_create: Resource temporarily unavailable Apr 30, 2014 15:11:12 [0x808445800] DEBUG - Request: [127.0.0.1:49008] GET /:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_ (5 live) Apr 30, 2014 15:11:12 [0x808022800] DEBUG - Request: [127.0.0.1:49009] GET / (5 live) Apr 30, 2014 15:11:12 [0x80780c400] DEBUG - Network change for advertiser. Apr 30, 2014 15:11:12 [0x80780c400] DEBUG - NetworkService: Setting up multicast listener on 0.0.0.0:32410 (outbound: 0) Apr 30, 2014 15:11:12 [0x808445400] DEBUG - Request: [127.0.0.1:49011] GET /servers (5 live) Apr 30, 2014 15:11:12 [0x808445400] DEBUG - It took 0.000000 sec to serialize a list with 1 elements. Apr 30, 2014 15:11:12 [0x808022800] DEBUG - It took 0.000000 sec to serialize a list with 11 elements. Apr 30, 2014 15:11:12 [0x808445800] DEBUG - [com.plexapp.system] Sending command over HTTP (GET): /:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_ Apr 30, 2014 15:11:12 [0x808022800] VERBOSE - Completed request: GET /: 2200 Apr 30, 2014 15:11:12 [0x808022800] DEBUG - Request: [127.0.0.1:49010] GET / (5 live) Apr 30, 2014 15:11:12 [0x808445800] DEBUG - HTTP requesting to: http://127.0.0.1:49012/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_ Apr 30, 2014 15:11:12 [0x80780c400] DEBUG - Network change for browser (polled=0), closing 0 browse sockets. Apr 30, 2014 15:11:12 [0x80780c400] DEBUG - NetworkService: Setting up multicast listener on 0.0.0.0:32413 (outbound: 0) Apr 30, 2014 15:11:12 [0x80780c400] DEBUG - Network change for browser (polled=1), closing 0 browse sockets. Apr 30, 2014 15:11:12 [0x808022800] DEBUG - It took 0.000000 sec to serialize a list with 11 elements. Apr 30, 2014 15:11:12 [0x80780a000] VERBOSE - Finished writing response for GET /, 0 bytes in 2ms Apr 30, 2014 15:11:12 [0x808022800] VERBOSE - Completed request: GET /: 2200 Apr 30, 2014 15:11:12 [0x808445400] VERBOSE - Completed request: GET /servers: 2200 Apr 30, 2014 15:11:12 [0x80780a000] VERBOSE - Finished writing response for GET /, 0 bytes in 1ms Apr 30, 2014 15:11:12 [0x80780a400] VERBOSE - Finished writing response for GET /servers, 0 bytes in 1ms Any help would highly be appreciated. Thanks. Kaya