From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 12 13:40:27 2013 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BE89C7D5; Fri, 12 Jul 2013 13:40:27 +0000 (UTC) (envelope-from bsd-lists@1command.com) Received: from udns.ultimateDNS.NET (ultimatedns.net [209.180.214.225]) by mx1.freebsd.org (Postfix) with ESMTP id 7368D16FD; Fri, 12 Jul 2013 13:40:26 +0000 (UTC) Received: from udns.ultimateDNS.NET (localhost [127.0.0.1]) by udns.ultimateDNS.NET (8.14.5/8.14.5) with ESMTP id r6CDeLIU041047; Fri, 12 Jul 2013 06:40:27 -0700 (PDT) (envelope-from bsd-lists@1command.com) Received: (from www@localhost) by udns.ultimateDNS.NET (8.14.5/8.14.5/Submit) id r6CDeG0J041041; Fri, 12 Jul 2013 06:40:16 -0700 (PDT) (envelope-from bsd-lists@1command.com) Received: from udns.ultimatedns.net ([209.180.214.225]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Fri, 12 Jul 2013 06:40:16 -0700 (PDT) Message-ID: <7a0e92dcb2921d9b6bf29476baf09e47.authenticated@ultimatedns.net> In-Reply-To: References: <4640843f1a35075d295f99aa9e8ed951.authenticated@ultimatedns.net> Date: Fri, 12 Jul 2013 06:40:16 -0700 (PDT) Subject: Re: What are the ideal ranges for kern.ipc.shm*? From: "Chris H" To: "freebsd-stable" , "freebsd-amd64" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 13:40:27 -0000 Greetings Alberto, and thank you for the reply. > On Fri, Jul 12, 2013 at 5:24 AM, Chris H wrote: >> Greetings, >> Over the years using the xfce4 desktop, I would occasionally receive >> SHM ERROR messages. As they never interfered (so's I could notice), I >> always put off attempting to track the cause down. However, now having >> performed a fairly major upgrade (~1yr since last), The error appears >> to greatly affect KDE4 (used to use kde3) applications I run within >> xfce4. The windows don't re-draw correctly, and I receive additional >> errors,as well: >> ... >> Resource id: 0x0 >> X Error: BadDrawable (invalid Pixmap or Window parameter) 9 >> Major opcode: 62 (X_CopyArea) >> Resource id: 0x0 >> ... >> After much searching, it would appear to be related to the >> kern.ipc.shm* values. > > $ cat /usr/ports/x11-toolkits/qt4-gui/pkg-message > > Qt paint engine makes common use of shared memory. To avoid MIT-SHM > errors (i.e., blank windows), you probably need to raise shared memory > limits in loader.conf(5). The following should be safe values for the > KDE Plasma Desktop: > > kern.ipc.shmall=32768 > kern.ipc.shmmni=1024 > kern.ipc.shmseg=1024 Yes, I followed those instructions when I received the message after the upgrade from qt3 --> qt4. Entering those numbers in loader.conf(5) caused the server to freeze and re-boot ~20 seconds after starting X. --chris > -- > Alberto Villa, FreeBSD committer > http://people.FreeBSD.org/~avilla > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >