From owner-freebsd-current@FreeBSD.ORG Tue Dec 9 09:11:56 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0210016A4CE for ; Tue, 9 Dec 2003 09:11:56 -0800 (PST) Received: from ms-smtp-01-eri0.southeast.rr.com (ms-smtp-01-lbl.southeast.rr.com [24.25.9.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id A29F543D13 for ; Tue, 9 Dec 2003 09:11:53 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu74-159-108.nc.rr.com [24.74.159.108])hB9HBoxj004015; Tue, 9 Dec 2003 12:11:50 -0500 (EST) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) hB9HAfu5069099; Tue, 9 Dec 2003 12:10:41 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Odhiambo Washington In-Reply-To: <20031209155318.GA12820@ns2.wananchi.com> References: <200312070945.hB79jKds039814@www.kukulies.org> <20031207113607.GB301@rbg.informatik.tu-darmstadt.de> <20031207215711.GC301@rbg.informatik.tu-darmstadt.de> <20031208115608.F15361@carver.gumbysoft.com> <20031209155318.GA12820@ns2.wananchi.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-35Fo+j0OeJRy3e3OyeBv" Organization: MarcusCom, Inc. Message-Id: <1070989760.736.2.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 09 Dec 2003 12:11:49 -0500 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on creme-brulee.marcuscom.com X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-current@freebsd.org cc: Viktor Vasilev Subject: Re: gimp fails suddenly X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2003 17:11:56 -0000 --=-35Fo+j0OeJRy3e3OyeBv Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2003-12-09 at 10:53, Odhiambo Washington wrote: > * Doug White [20031208 23:27]: wrote: > > On Sun, 7 Dec 2003, Viktor Vasilev wrote: > >=20 > > > > Well that would imply that somehow SYSVSHM got removed from your ke= rnel. > > > > What does 'ipcs -a' say? > > > > > > Actually the kernel is compiled with the SYSVSHM option. IIRC gimp wa= s > > > installed with pkg_add -r. > >=20 > > ok. > >=20 > > > Shared Memory: > > > T ID KEY MODE OWNER GROUP CREATOR CGROUP N= ATTCH SEGSZ CPID LPID ATIME DTIME CTIME > > > m 196608 0 --rw-r--r-- root myuser root myuser = 7 151552 228 22821:49:32 21:49:32 12:14:10 > > > m 65537 0 --rw-r--r-- root myuser root myuser = 6 122880 228 104221:29:46 21:29:46 12:14:10 > > > m 65538 0 --rw------- myuser myuser myuser myuser = 2 393216 255 22812:15:18 22:35:00 12:15:18 > > > m 65539 0 --rw-r--r-- root myuser root myuser = 2 790528 228 29812:15:54 12:15:54 12:15:54 > > > m 393220 0 --rw-r--r-- root myuser root myuser = 2 110592 228 35412:21:49 15:32:20 12:21:49 > > > m 262149 0 --rw-r--r-- root myuser root myuser = 4 110592 228 35412:21:49 15:32:20 12:21:49 > >=20 > > hm... I think we have a winner. FreeBSD, by default, only allocates 32M= B > > max to shm segments. You have a bunch already loaded and gimp wants 7MB > > more, and thats probably putting you over the limit. It returns EINVAL= if > > there isn't enough space available. > >=20 > > > shminfo: > > > shmmax: 33554432 (max shared memory segment size) > > > shmmin: 1 (min shared memory segment size) > > > shmmni: 192 (max number of shared memory identifiers) > > > shmseg: 128 (max shared memory segments per process) > > > shmall: 8192 (max amount of shared memory in pages) > >=20 > > You probably need to add > >=20 > > kern.ipc.shmmax=3D"67108864" > >=20 > > to /boot/loader.conf, then reboot your system. This should give you ~6= 4MB > > of shm space. >=20 >=20 > My sysctl -a gives: >=20 > kern.ipc.shmmax: 268435456 >=20 > and I have the same problem ;) Did you install gimp from ports or packages? Joe >=20 >=20 >=20 > -Wash >=20 > http://www.netmeister.org/news/learn2quote.html >=20 > -- > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ > |\ _,,,---,,_ | Odhiambo Washington > Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com > |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 > '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ > How wonderful opera would be if there were no singers. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-35Fo+j0OeJRy3e3OyeBv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD4DBQA/1gHAb2iPiv4Uz4cRAgYWAKCPkQaCYFHqTlHkAdWCHOEUONsBygCXUm61 Uq0QHmleYRiIyOSeNRhFzA== =tUtx -----END PGP SIGNATURE----- --=-35Fo+j0OeJRy3e3OyeBv--