From owner-freebsd-ports-bugs@freebsd.org Thu May 11 05:32:20 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1DC9BD688F6 for ; Thu, 11 May 2017 05:32:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E8C101119 for ; Thu, 11 May 2017 05:32:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v4B5WJZ3009037 for ; Thu, 11 May 2017 05:32:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 219210] net/x11vnc: Clarified the "Shared Memory Attach" failure message Date: Thu, 11 May 2017 05:32:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@rawbw.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dinoex@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2017 05:32:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219210 Bug ID: 219210 Summary: net/x11vnc: Clarified the "Shared Memory Attach" failure message Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: dinoex@FreeBSD.org Reporter: yuri@rawbw.com Assignee: dinoex@FreeBSD.org Flags: maintainer-feedback?(dinoex@FreeBSD.org) Created attachment 182502 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182502&action= =3Dedit patch Hi Dirk, This is a followup to our e-mail conversation. I troubleshooted the problem and found that x11vnc triggers the failure of shmat(2) called by Xorg with errno=3D24 (EMFILE), which indicates that sysc= tl(8) kern.ipc.shmseg limit is exceeded. I added to the error message so that x11vnc message will point users in the right direction should they meet the same error. Some graphics-intense apps can use a lot of shared memory in Xorg, and this eventually causes the limit to be exceeded, and x11vnc to fail. Users should increase the limit as needed for their local conditions. This is the related addition to shmat(2) manpage: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219209 Thanks, Yuri --=20 You are receiving this mail because: You are the assignee for the bug.=