From owner-freebsd-stable Thu May 3 13: 8:28 2001 Delivered-To: freebsd-stable@freebsd.org Received: from imr1.ericy.com (imr1.ericy.com [208.237.135.240]) by hub.freebsd.org (Postfix) with ESMTP id BE56F37B43C for ; Thu, 3 May 2001 13:08:22 -0700 (PDT) (envelope-from Antoine.Beaupre@ericsson.ca) Received: from mr7.exu.ericsson.se (mr7u3.ericy.com [208.237.135.122]) by imr1.ericy.com (8.10.2/8.10.2) with ESMTP id f43K8R810593; Thu, 3 May 2001 15:08:27 -0500 (CDT) Received: from noah.lmc.ericsson.se (noah.lmc.ericsson.se [142.133.1.1]) by mr7.exu.ericsson.se (8.11.3/8.11.3) with ESMTP id f43K8GP19392; Thu, 3 May 2001 15:08:16 -0500 (CDT) Received: from lmc35.lmc.ericsson.se (lmc35.lmc.ericsson.se [142.133.16.175]) by noah.lmc.ericsson.se (8.11.2/8.9.2) with ESMTP id f43K8EG25288; Thu, 3 May 2001 16:08:16 -0400 (EDT) Received: by lmc35.lmc.ericsson.se with Internet Mail Service (5.5.2653.19) id ; Thu, 3 May 2001 16:08:14 -0400 Received: from lmc.ericsson.se (lmcpc100455.pc.lmc.ericsson.se [142.133.23.150]) by LMC37.lmc.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id JQDZMJVC; Thu, 3 May 2001 16:08:07 -0400 From: "Antoine Beaupre (LMC)" To: FreeBSD-STABLE Mailing List Cc: David Wolfskill Message-ID: <3AF1BAA3.3E6D51BB@lmc.ericsson.se> Date: Thu, 03 May 2001 16:08:03 -0400 Organization: LMC, Ericsson Research Canada X-Mailer: Mozilla 4.7 [en]C-CCK-MCD (WinNT; U) X-Accept-Language: en,fr-CA,fr MIME-Version: 1.0 Subject: Re: Should /sys/i386/conf/GENERIC's SysV shared memory settings defaults be re-thought? References: <200105031913.f43JDjw72049@pau-amma.whistle.com> <3AF1B90F.30DA4861@webmail.bmi.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If I may comment on my desktop experience... I have been running E+gnome, with the usual netscape/xemacs/mailer combination for a good while now, on a Pentium 166Mhz with 32M but around 100-150Mb or swap. Never had problems with SHM. I stopped using E because, well, it's not made for a 166Mhz. :) [Now if that darn hub.freebsd.org rejects my mail again...] A. John Merryweather Cooper wrote: > > David Wolfskill wrote: > > > > >Date: Thu, 03 May 2001 12:01:40 -0700 > > >From: John Merryweather Cooper > > > > >After finally getting Amanda up and running on my system, I noticed that > > >my cron jobs for amdump would crash with an error in SHMGET if X was > > >running when the amdump job was scheduled. I have also been plagued by > > >IMLIB SHM memory allocation errors. I have just discovered that, by > > >increasing the defaults for all the SysV settings listed in LINT, I have > > >been able to make all those errors disappear; and Amanda will now run to > > >completion even with X running. I increased all these settings by about > > >a factor of x8--remembering that in OS/2 half of all physical memory was > > >made available for shared memory operations--giving me 32 megs of shared > > >memory. > > > > Hmmm.... > > > > >... > > > > >Thoughts? > > > > I find this somewhat surprising, since I've been backing up not only the > > servers here, but also the important desktops (the ones running FreeBSD) > > on engineers' desks here for around 2.5 years using amanda. And the > > engineers generally run X... but I've never encountered that problem. > > (Before the shared memory stuff was included in GENERIC, I included it > > manually in the kernels when I set up their machines. I just left the > > default settings alone.) > > > Even with just GNOME+Enlightenment running, stderr is full of IMLIB > error messages unless I alter the SysV parameters. Xsreensaver also > triggers what look like shared memory errors with some of the modules. > Netscape (a known memory-hog in any configuration) also generates these > errors. They generally aren't fatal (everything seems to work o.k.), > but I'm glad they're gone now . . . > > > I suppose it may depend on the particular X workload; for example, I use > > tvtwm as a window manager, while I understand that some folks prefer the > > appearance or behavior of a window manager that is a bit more resource- > > intensive. > > I'm using GNOME+Enlightenment with a smattering of KDE tools (I like > KNode) . . . > > > I do tend to kick "maxusers" up a bit; I have it set to 128 on my > > laptop. I haven't checked to see if that affects such things as shared > > memory availability.... (I also tend to be fairly generous with swap > > space: I prefer to avoid swapping, but if the system really needs to > > swap, I much prefer letting it do so to preventing that.) > > Yes, I've also punched up MAXUSERS to 128, but that didn't fix things . > . . so then I tried the SysV settings, they worked . . . . YMMV. > > jmc > > > Cheers, > > david > > -- > > David Wolfskill dhw@whistle.com UNIX System Administrator > > Desk: 650/577-7158 TIE: 8/499-7158 Cell: 650/759-0823 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- La sémantique est la gravité de l'abstraction. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message