[Bug 219210] net/x11vnc: Clarified the "Shared Memory Attach" failure message

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 11 05:32:20 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219210

            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 at FreeBSD.org
          Reporter: yuri at rawbw.com
          Assignee: dinoex at FreeBSD.org
             Flags: maintainer-feedback?(dinoex at FreeBSD.org)

Created attachment 182502
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182502&action=edit
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=24 (EMFILE), which indicates that sysctl(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=219209

Thanks,
Yuri

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list