Re: gimp fails suddenly

From: Odhiambo Washington <wash_at_wananchi.com>
Date: Tue, 9 Dec 2003 18:53:18 +0300
* Doug White <dwhite_at_gumbysoft.com> [20031208 23:27]: wrote:
> On Sun, 7 Dec 2003, Viktor Vasilev wrote:
> 
> > > Well that would imply that somehow SYSVSHM got removed from your kernel.
> > > What does 'ipcs -a' say?
> >
> > Actually the kernel is compiled with the SYSVSHM option. IIRC gimp was
> > installed with pkg_add -r.
> 
> ok.
> 
> > Shared Memory:
> > T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP NATTCH  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
> 
> hm... I think we have a winner. FreeBSD, by default, only allocates 32MB
> 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.
> 
> > 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)
> 
> You probably need to add
> 
> kern.ipc.shmmax="67108864"
> 
> to /boot/loader.conf, then reboot your system.  This should give you ~64MB
> of shm space.


My sysctl -a gives:

kern.ipc.shmmax: 268435456

and I have the same problem ;)



-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash_at_wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
How wonderful opera would be if there were no singers.
Received on Tue Dec 09 2003 - 06:53:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:33 UTC