public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /dev/shm and firefox question
@ 2005-12-28 15:35 Jean Magnan de Bornier
  2005-12-28 15:46 ` Andres Becerra Sandoval
  0 siblings, 1 reply; 4+ messages in thread
From: Jean Magnan de Bornier @ 2005-12-28 15:35 UTC (permalink / raw
  To: gentoo-user

Hello all,
I recently installed qemu; when I launch it I get this message:

"You do not have enough space in '/dev/shm' for the 450 MB of QEMU virtual RAM.
To have more space available provided you have enough RAM and swap, do as root:
umount /dev/shm
mount -t tmpfs -o size=466m none /dev/shm"

OK, it works; so in order to avoid doing this every time i added
"size=466m" to the options column of fstab. It seems to work allright but
for the fact that then firefox does not work anymore: I can launch it, but
then it freezes.

And then if I issue by hand these commands, firefox is as usual again!
What am I doing wrong?

Here's my fstab's tmpfs line:
.................................
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm	/dev/shm  tmpfs	nodev,nosuid,noexec,size=466m	0 0
................................

tia,
-- 
  Jean Magnan de Bornier             |        Cours Victor Hugo
  e-mots: jean at bornier.net        |        13980 Alleins   France
  T 08 70 39 34 03                   |        P 06 09 17 35 87


-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] /dev/shm and firefox question
  2005-12-28 15:35 [gentoo-user] /dev/shm and firefox question Jean Magnan de Bornier
@ 2005-12-28 15:46 ` Andres Becerra Sandoval
  2005-12-28 19:42   ` Jean Magnan de Bornier
  0 siblings, 1 reply; 4+ messages in thread
From: Andres Becerra Sandoval @ 2005-12-28 15:46 UTC (permalink / raw
  To: gentoo-user

On 12/28/05, Jean Magnan de Bornier <jean@bornier.net> wrote:
> Hello all,
> I recently installed qemu; when I launch it I get this message:
>
> "You do not have enough space in '/dev/shm' for the 450 MB of QEMU virtual RAM.
> To have more space available provided you have enough RAM and swap, do as root:
> umount /dev/shm
> mount -t tmpfs -o size=466m none /dev/shm"
>
> OK, it works; so in order to avoid doing this every time i added
> "size=466m" to the options column of fstab. It seems to work allright but
> for the fact that then firefox does not work anymore: I can launch it, but
> then it freezes.
>
> And then if I issue by hand these commands, firefox is as usual again!
> What am I doing wrong?
>
> Here's my fstab's tmpfs line:
> .................................
> # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
> # POSIX shared memory (shm_open, shm_unlink).
> # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
> #  use almost no memory if not populated with files)
> shm     /dev/shm  tmpfs nodev,nosuid,noexec,size=466m   0 0
> ................................
>
> tia,
> --
>   Jean Magnan de Bornier             |        Cours Victor Hugo
>   e-mots: jean at bornier.net        |        13980 Alleins   France
>   T 08 70 39 34 03                   |        P 06 09 17 35 87
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>


Leaving out the noexec option?

--
  Andres

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] /dev/shm and firefox question
  2005-12-28 15:46 ` Andres Becerra Sandoval
@ 2005-12-28 19:42   ` Jean Magnan de Bornier
  2005-12-29  6:13     ` Jean Magnan de Bornier
  0 siblings, 1 reply; 4+ messages in thread
From: Jean Magnan de Bornier @ 2005-12-28 19:42 UTC (permalink / raw
  To: gentoo-user

Le 28 décembre à 16:46:15 Andres Becerra Sandoval <andres.becerra@gmail.com> écrit notamment:

| On 12/28/05, Jean Magnan de Bornier <jean@bornier.net> wrote:
| > Hello all,
| > I recently installed qemu; when I launch it I get this message:
| >
| > "You do not have enough space in '/dev/shm' for the 450 MB of QEMU virtual RAM.
| > To have more space available provided you have enough RAM and swap, do as root:
| > umount /dev/shm
| > mount -t tmpfs -o size=466m none /dev/shm"
| >
| > OK, it works; so in order to avoid doing this every time i added
| > "size=466m" to the options column of fstab. It seems to work allright but
| > for the fact that then firefox does not work anymore: I can launch it, but
| > then it freezes.
| >
| > And then if I issue by hand these commands, firefox is as usual again!
| > What am I doing wrong?
| >
| > Here's my fstab's tmpfs line:
| > .................................
| > # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
| > # POSIX shared memory (shm_open, shm_unlink).
| > # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
| > #  use almost no memory if not populated with files)
| > shm     /dev/shm  tmpfs nodev,nosuid,noexec,size=466m   0 0
| > ................................
| >

[...]


| Leaving out the noexec option?
>
| --
|   Andres

Ok I try this, see what happens tomorrow at boot..
thx
-- 
  Jean Magnan de Bornier             |        Cours Victor Hugo
  e-mots: jean at bornier.net        |        13980 Alleins   France
  T 08 70 39 34 03                   |        P 06 09 17 35 87

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] /dev/shm and firefox question
  2005-12-28 19:42   ` Jean Magnan de Bornier
@ 2005-12-29  6:13     ` Jean Magnan de Bornier
  0 siblings, 0 replies; 4+ messages in thread
From: Jean Magnan de Bornier @ 2005-12-29  6:13 UTC (permalink / raw
  To: gentoo-user

Le 28 décembre à 20:42:39 Jean Magnan de Bornier <jean@bornier.net> écrit notamment:

| | Leaving out the noexec option?
| >
| | --
| |   Andres
>
| Ok I try this, see what happens tomorrow at boot..

Well, this was no solution for firefox; looks like there was a corrupt
file in my ~/.mozilla... strange coincidence!

cheers,
-- 
  Jean Magnan de Bornier             |        Cours Victor Hugo
  e-mots: jean at bornier.net        |        13980 Alleins   France
  T 08 70 39 34 03                   |        P 06 09 17 35 87

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2005-12-29  6:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-28 15:35 [gentoo-user] /dev/shm and firefox question Jean Magnan de Bornier
2005-12-28 15:46 ` Andres Becerra Sandoval
2005-12-28 19:42   ` Jean Magnan de Bornier
2005-12-29  6:13     ` Jean Magnan de Bornier

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