Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* shared memory issue with 2.3.99-6 and -8
@ 2000-05-22  2:56 Peter Petrakis
  2000-05-22  7:00 ` Andreas Johansson
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Petrakis @ 2000-05-22  2:56 UTC (permalink / raw)
  To: axp-list

Anyone having a problem with shared memory on 2.3.99 ? Seems im not able to
allocate shared memory. Also X is taking up 80MB of ram just starting and
holds that much ram most of the time.

 10:42pm  up 1 day,  9:38,  8 users,  load average: 0.16, 0.69, 1.10
58 processes: 57 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 44.7% user,  2.5% system,  2.2% nice, 50.4% idle
Mem:   123328K av,  121072K used,    2256K free,       0K shrd,     672K buff
Swap:  523248K av,   87344K used,  435904K free                   54424K
cached

root      2399 59.1 20.6 113464 25448 ?      S    May20 892:15 X :0
This XFree 4.0 with a Voodoo 3000

[ppetrakis@voodoo:~]$ free
             total       used       free     shared    buffers     cached
Mem:        123328     120944       2384          0        672      54488
-/+ buffers/cache:      65784      57544
Swap:       523248      87344     435904

I get "shmget failed" alot when I start gnome apps...

Pre-8 was worse... Copying files between harddrives got me "cannot allocate
memory"
warnings and the copies would fail. Anyone else seen this behavior?

System is a 600LX ,
Linux voodoo.alphalinux.org 2.3.99-pre6 #2 Sat May 13 16:01:33 EDT 2000 alpha
unknown

Thanks,
Peter
--
www.alphalinux.org
Peter Petrakis         Warrior/Engineer        ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: shared memory issue with 2.3.99-6 and -8
  2000-05-22  2:56 shared memory issue with 2.3.99-6 and -8 Peter Petrakis
@ 2000-05-22  7:00 ` Andreas Johansson
  2000-05-22  8:34   ` lbedford
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Johansson @ 2000-05-22  7:00 UTC (permalink / raw)
  To: Peter Petrakis; +Cc: axp-list

On Sun, 21 May 2000, Peter Petrakis wrote:

> Anyone having a problem with shared memory on 2.3.99 ? Seems im not able to
> allocate shared memory. Also X is taking up 80MB of ram just starting and
> holds that much ram most of the time.
> 
>  10:42pm  up 1 day,  9:38,  8 users,  load average: 0.16, 0.69, 1.10
> 58 processes: 57 sleeping, 1 running, 0 zombie, 0 stopped
> CPU states: 44.7% user,  2.5% system,  2.2% nice, 50.4% idle
> Mem:   123328K av,  121072K used,    2256K free,       0K shrd,     672K buff
> Swap:  523248K av,   87344K used,  435904K free                   54424K
> cached
> 
> root      2399 59.1 20.6 113464 25448 ?      S    May20 892:15 X :0
> This XFree 4.0 with a Voodoo 3000

I'm not running XFree 4.0 yet.

> [ppetrakis@voodoo:~]$ free
>              total       used       free     shared    buffers     cached
> Mem:        123328     120944       2384          0        672      54488
> -/+ buffers/cache:      65784      57544
> Swap:       523248      87344     435904
> 
> I get "shmget failed" alot when I start gnome apps...

Add this to /etc/fstab:

none		/shm			shm	defaults	0 0

... and do this ...

mkdir /shm
mount /shm

I don't know what it's for, but things start working as soon as this
filesystem is present.

> Pre-8 was worse... Copying files between harddrives got me "cannot allocate
> memory"
> warnings and the copies would fail. Anyone else seen this behavior?

I haven't tried pre-8.

> System is a 600LX ,
> Linux voodoo.alphalinux.org 2.3.99-pre6 #2 Sat May 13 16:01:33 EDT 2000 alpha
> unknown
> 
> Thanks,
> Peter

/Andreas


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: shared memory issue with 2.3.99-6 and -8
  2000-05-22  7:00 ` Andreas Johansson
@ 2000-05-22  8:34   ` lbedford
  2000-05-22 11:10     ` Peter Petrakis
  0 siblings, 1 reply; 6+ messages in thread
From: lbedford @ 2000-05-22  8:34 UTC (permalink / raw)
  To: axp-list; +Cc: Peter Petrakis

On Mon, May 22, 2000 at 09:00:17AM +0200, Andreas Johansson wrote:
> 
> none		/shm			shm	defaults	0 0
> 
> ... and do this ...
> 
> mkdir /shm
> mount /shm
> 
> I don't know what it's for, but things start working as soon as this
> filesystem is present.
Read /usr/src/linux/Documentation/Change{s|log} (whichever one)

shared memory became a filesystem. I can only assume that it makes things
faster/better somehow. But if you don't mount the filesystem, you can't
allocate shared memory..

(From /var/shm on my machine, there are lots of .IPC_0* files )


L.
-- 
Liam Bedford                  | What we've got here is, failure to
System Administrator          | communicate. Some man you just can't
WBT Systems, Block 2,         | reach... so you get what we had
Harcourt Centre, Harcourt St. | here last week, which is the way
01-4170100                    | he wants it.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: shared memory issue with 2.3.99-6 and -8
  2000-05-22  8:34   ` lbedford
@ 2000-05-22 11:10     ` Peter Petrakis
  2000-05-22 11:11       ` lbedford
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Petrakis @ 2000-05-22 11:10 UTC (permalink / raw)
  To: axp-list

| On Mon, May 22, 2000 at 09:00:17AM +0200, Andreas Johansson wrote:
| >
| > none /shm shm defaults 0 0
| >
| > ... and do this ...
| >
| > mkdir /shm
| > mount /shm

Did all that. rebooted. No more warnings bt it STILL doesnt allocate shared
memory

| > I don't know what it's for, but things start working as soon as this
| > filesystem is present.
| Read /usr/src/linux/Documentation/Change{s|log} (whichever one)

ok

| shared memory became a filesystem. I can only assume that it makes things
| faster/better somehow. But if you don't mount the filesystem, you can't
| allocate shared memory..
|
| (From /var/shm on my machine, there are lots of .IPC_0* files )

my /shm is totaly empty...

Peter
--
www.alphalinux.org
Peter Petrakis         Warrior/Engineer        ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."

| --
| Liam Bedford                  | What we've got here is, failure to
| System Administrator          | communicate. Some man you just can't
| WBT Systems, Block 2,         | reach... so you get what we had
| Harcourt Centre, Harcourt St. | here last week, which is the way
| 01-4170100                    | he wants it.
|


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: shared memory issue with 2.3.99-6 and -8
  2000-05-22 11:10     ` Peter Petrakis
@ 2000-05-22 11:11       ` lbedford
  2000-05-22 11:25         ` Helge Kreutzmann
  0 siblings, 1 reply; 6+ messages in thread
From: lbedford @ 2000-05-22 11:11 UTC (permalink / raw)
  To: axp-list

On Mon, May 22, 2000 at 07:10:02AM -0400, Peter Petrakis wrote:
> | On Mon, May 22, 2000 at 09:00:17AM +0200, Andreas Johansson wrote:
> | >
> | > none /shm shm defaults 0 0
> | >
> | > ... and do this ...
> | >
> | > mkdir /shm
> | > mount /shm
> 
> Did all that. rebooted. No more warnings bt it STILL doesnt allocate shared
> memory
> 
> | > I don't know what it's for, but things start working as soon as this
> | > filesystem is present.
> | Read /usr/src/linux/Documentation/Change{s|log} (whichever one)
> 
> ok
> 
> | shared memory became a filesystem. I can only assume that it makes things
> | faster/better somehow. But if you don't mount the filesystem, you can't
> | allocate shared memory..
> |
> | (From /var/shm on my machine, there are lots of .IPC_0* files )
> 
> my /shm is totaly empty...
Does mount show /shm being mounted?

(after this I'm out of ideas.. <g>)

L.
-- 
Liam Bedford                  | What we've got here is, failure to
System Administrator          | communicate. Some man you just can't
WBT Systems, Block 2,         | reach... so you get what we had
Harcourt Centre, Harcourt St. | here last week, which is the way
01-4170100                    | he wants it.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: shared memory issue with 2.3.99-6 and -8
  2000-05-22 11:11       ` lbedford
@ 2000-05-22 11:25         ` Helge Kreutzmann
  0 siblings, 0 replies; 6+ messages in thread
From: Helge Kreutzmann @ 2000-05-22 11:25 UTC (permalink / raw)
  To: AXP-Liste

Hello !
On Mon, May 22, 2000 at 12:11:49PM +0100, lbedford@wbtsystems.com wrote:
> On Mon, May 22, 2000 at 07:10:02AM -0400, Peter Petrakis wrote:
> > | On Mon, May 22, 2000 at 09:00:17AM +0200, Andreas Johansson wrote:
> > | >
> > | > none /shm shm defaults 0 0
> > | >
> > | > ... and do this ...
> > | >
> > | > mkdir /shm
> > | > mount /shm
> > 
> > Did all that. rebooted. No more warnings bt it STILL doesnt allocate shared
> > memory
> > my /shm is totaly empty...
> Does mount show /shm being mounted?

What kind of permission is /shm set to ?

      Helge
-- 
Helge Kreutzmann, Dipl.-Phys.                      kreutzm@itp.uni-hannover.de
         For gpg-key: finger kreutzm@rigel.itp.uni-hannover.de
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-05-22 11:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-22  2:56 shared memory issue with 2.3.99-6 and -8 Peter Petrakis
2000-05-22  7:00 ` Andreas Johansson
2000-05-22  8:34   ` lbedford
2000-05-22 11:10     ` Peter Petrakis
2000-05-22 11:11       ` lbedford
2000-05-22 11:25         ` Helge Kreutzmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox