Re: [EXT] Re: [qubes-users] Constant firefox crashes because of Qubes shared memory

2020-05-05 Thread Foppe de Haan


On Monday, May 4, 2020 at 10:00:02 PM UTC+2, Ulrich Windl wrote:
>
> >>> Zbigniew Lukasiak > schrieb am 
> 04.05.2020 um 14:34 in 
> Nachricht 
> <25184_1588595663_5EB00BCE_25184_83_1_CAGL_UUtUxkCeqF2xj8Fud5Fwj7dfT5GanOYhxmRx6
>  
>
> sonb...@mail.gmail.com >: 
> > marmarek advised me on irc to add more shared memory: 
> > 
> > mount /dev/shm -o remount,size=10G 
> > 
> > and it seems to work. 10G is close to half of that VM's RAM. Qubes was 
> > assigning only 1G previously. 
>
> Personally I think once your browser uses more than 1GB of memory, it's 
> time 
> to restart it or to restrict scripts from collecting so much information 
> in 
> RAM. 
>
> > 
> > Cheers, 
> > Zbigniew 
>

that sounds nice, but it would mean restarting my browser as soon as I've 
opened it. :p

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/7e113615-4f34-403e-a84c-9e504a1df51f%40googlegroups.com.


Antw: [EXT] Re: [qubes-users] Constant firefox crashes because of Qubes shared memory

2020-05-04 Thread Ulrich Windl
>>> Zbigniew Lukasiak  schrieb am 04.05.2020 um 14:34 in
Nachricht
<25184_1588595663_5EB00BCE_25184_83_1_CAGL_UUtUxkCeqF2xj8Fud5Fwj7dfT5GanOYhxmRx6
sonby...@mail.gmail.com>:
> marmarek advised me on irc to add more shared memory:
> 
> mount /dev/shm -o remount,size=10G
> 
> and it seems to work. 10G is close to half of that VM's RAM. Qubes was
> assigning only 1G previously.

Personally I think once your browser uses more than 1GB of memory, it's time
to restart it or to restrict scripts from collecting so much information in
RAM.

> 
> Cheers,
> Zbigniew
> 
> 
> 
> 
> On Mon, Apr 27, 2020 at 9:19 PM Zbigniew Łukasiak  wrote:
>>
>> I am running fedora-30 in an App-VM (not disposable) and I also
>> experience the crashes. Not only Firefox, Opera also crashes, while
>> Slack app and Thunderbird which also run all the time don't.  I
>> thought this is because of not enough RAM - but out of frustration I
>> assigned 23GB to that machine and it did not help, also top reports
>> 10GB free memory now.
>>
>> In the past I also used Debian and I had those crashes too.
>>
>> --
>> ZŁ
>>
>>
>> On Mon, Apr 27, 2020 at 1:44 PM donoban  wrote:
>> >
>> > -BEGIN PGP SIGNED MESSAGE-
>> > Hash: SHA256
>> >
>> > On 2020-04-25 03:00, Guerlan wrote:
>> > > I started having constant firefox crashes on my debian9 Qube. I
>> > > sent the crash reports to firefox and the said that the problem
>> > > occurs because of the shared memory configuration of Qubes, but he
>> > > don't know how it's configured.
>> > >
>> > > Can somebody help me fixing this? How can I enlarge the shared
>> > > memory?
>> > >
>> >
>> > I am running fedora-30 and never had this kind of crash with firefox.
>> > My AppVms mostly have default 400MB/4000MB and some even less max
>> > limit. Maybe is it related to debian-9? Could you test debian-10?
>> > -BEGIN PGP SIGNATURE-
>> >
>> > iQIzBAEBCAAdFiEEznLCgPSfWTT+LPrmFBMQ2OPtCKUFAl6mxaUACgkQFBMQ2OPt
>> > CKWONg/8DxzS1fwOIBIbCarULt8buq7tAtFa5pl6gUF2sL9hn6Uboz53TJsf1e8g
>> > N75pqb5JjFRaZTf2gGwYkTeAo/HFyWxdEZWRprmWcW/0iLHaB86KzxDRXDaREmEs
>> > AWtZTbH7u6lTBx2U3YhPlW3YvBArMeqvdVY3SRIEk3Dl8c/snzMlQ0BQRwAazhmH
>> > IoRy2jeSAEvG0U0CXbEdxRmqt5ck9mFCndPZTfCxPoBup02B1QhwjfMZmCh14F0/
>> > zHaUZrHszUtVq5iAj6qe2x/PjY5NsAa15cOlM8I1h672vMxEJdv0WzWEYSdwhzEb
>> > i6p/NwtsoeI35DJInedbAk+Z7gTypanqSU23dS9Y77ox7OY+MPuSd+OMNRm+RSl7
>> > 7EVJo+ABg2SoUiX1ESb8Py4zH1jF0EFFOraPbr/N9QppgWVblVBXkW8hAbgwJk6t
>> > UoZJo0lHGbDHMj7TTfaU1nhvfwOmoYfiq/oTbs/+mamztUwYjI+jryOOBH+3JgXv
>> > MreOm0YH0jsLTMwjVfmxv4zmaSoA7mTwt6gCOpoamq4j9P3onVNgMmo0xcvmTxV0
>> > ReT5BPB1bASPH0vC7Kw+lfZndK/gYrptWAYjuw2Fo/jsh8z4zMUv9ppGe6TFu5kO
>> > mnVCBrjP5/ljNtGSYvxUNdzI7L7f3Wn3kOJTcfQfilTyzcdosGk=
>> > =+tb9
>> > -END PGP SIGNATURE-
>> >
>> > --
>> > You received this message because you are subscribed to the Google Groups

> "qubes-users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an

> email to qubes-users+unsubscr...@googlegroups.com.
>> > To view this discussion on the web visit 
>
https://groups.google.com/d/msgid/qubes-users/1670d4bb-ea5b-0ea3-f72e-4284eff

> 9b521%40riseup.net.
>>
>>
>>
>> --
>> Zbigniew Lukasiak
>> https://medium.com/@zby 
>> http://brudnopis.blogspot.com/ 
> 
> 
> 
> -- 
> Zbigniew Lukasiak
> https://medium.com/@zby 
> http://brudnopis.blogspot.com/ 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "qubes-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to qubes-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
>
https://groups.google.com/d/msgid/qubes-users/CAGL_UUtUxkCeqF2xj8Fud5Fwj7dfT5

> GanOYhxmRx6ESonBy3FA%40mail.gmail.com.



-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/5EB0743A02A100038B97%40gwsmtp.uni-regensburg.de.


Re: [qubes-users] Constant firefox crashes because of Qubes shared memory

2020-05-04 Thread Zbigniew Łukasiak
marmarek advised me on irc to add more shared memory:

mount /dev/shm -o remount,size=10G

and it seems to work. 10G is close to half of that VM's RAM. Qubes was
assigning only 1G previously.

Cheers,
Zbigniew




On Mon, Apr 27, 2020 at 9:19 PM Zbigniew Łukasiak  wrote:
>
> I am running fedora-30 in an App-VM (not disposable) and I also
> experience the crashes. Not only Firefox, Opera also crashes, while
> Slack app and Thunderbird which also run all the time don't.  I
> thought this is because of not enough RAM - but out of frustration I
> assigned 23GB to that machine and it did not help, also top reports
> 10GB free memory now.
>
> In the past I also used Debian and I had those crashes too.
>
> --
> ZŁ
>
>
> On Mon, Apr 27, 2020 at 1:44 PM donoban  wrote:
> >
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA256
> >
> > On 2020-04-25 03:00, Guerlan wrote:
> > > I started having constant firefox crashes on my debian9 Qube. I
> > > sent the crash reports to firefox and the said that the problem
> > > occurs because of the shared memory configuration of Qubes, but he
> > > don't know how it's configured.
> > >
> > > Can somebody help me fixing this? How can I enlarge the shared
> > > memory?
> > >
> >
> > I am running fedora-30 and never had this kind of crash with firefox.
> > My AppVms mostly have default 400MB/4000MB and some even less max
> > limit. Maybe is it related to debian-9? Could you test debian-10?
> > -BEGIN PGP SIGNATURE-
> >
> > iQIzBAEBCAAdFiEEznLCgPSfWTT+LPrmFBMQ2OPtCKUFAl6mxaUACgkQFBMQ2OPt
> > CKWONg/8DxzS1fwOIBIbCarULt8buq7tAtFa5pl6gUF2sL9hn6Uboz53TJsf1e8g
> > N75pqb5JjFRaZTf2gGwYkTeAo/HFyWxdEZWRprmWcW/0iLHaB86KzxDRXDaREmEs
> > AWtZTbH7u6lTBx2U3YhPlW3YvBArMeqvdVY3SRIEk3Dl8c/snzMlQ0BQRwAazhmH
> > IoRy2jeSAEvG0U0CXbEdxRmqt5ck9mFCndPZTfCxPoBup02B1QhwjfMZmCh14F0/
> > zHaUZrHszUtVq5iAj6qe2x/PjY5NsAa15cOlM8I1h672vMxEJdv0WzWEYSdwhzEb
> > i6p/NwtsoeI35DJInedbAk+Z7gTypanqSU23dS9Y77ox7OY+MPuSd+OMNRm+RSl7
> > 7EVJo+ABg2SoUiX1ESb8Py4zH1jF0EFFOraPbr/N9QppgWVblVBXkW8hAbgwJk6t
> > UoZJo0lHGbDHMj7TTfaU1nhvfwOmoYfiq/oTbs/+mamztUwYjI+jryOOBH+3JgXv
> > MreOm0YH0jsLTMwjVfmxv4zmaSoA7mTwt6gCOpoamq4j9P3onVNgMmo0xcvmTxV0
> > ReT5BPB1bASPH0vC7Kw+lfZndK/gYrptWAYjuw2Fo/jsh8z4zMUv9ppGe6TFu5kO
> > mnVCBrjP5/ljNtGSYvxUNdzI7L7f3Wn3kOJTcfQfilTyzcdosGk=
> > =+tb9
> > -END PGP SIGNATURE-
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "qubes-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to qubes-users+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/qubes-users/1670d4bb-ea5b-0ea3-f72e-4284eff9b521%40riseup.net.
>
>
>
> --
> Zbigniew Lukasiak
> https://medium.com/@zby
> http://brudnopis.blogspot.com/



-- 
Zbigniew Lukasiak
https://medium.com/@zby
http://brudnopis.blogspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAGL_UUtUxkCeqF2xj8Fud5Fwj7dfT5GanOYhxmRx6ESonBy3FA%40mail.gmail.com.


Re: [qubes-users] Constant firefox crashes because of Qubes shared memory

2020-04-27 Thread Zbigniew Łukasiak
I am running fedora-30 in an App-VM (not disposable) and I also
experience the crashes. Not only Firefox, Opera also crashes, while
Slack app and Thunderbird which also run all the time don't.  I
thought this is because of not enough RAM - but out of frustration I
assigned 23GB to that machine and it did not help, also top reports
10GB free memory now.

In the past I also used Debian and I had those crashes too.

--
ZŁ


On Mon, Apr 27, 2020 at 1:44 PM donoban  wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> On 2020-04-25 03:00, Guerlan wrote:
> > I started having constant firefox crashes on my debian9 Qube. I
> > sent the crash reports to firefox and the said that the problem
> > occurs because of the shared memory configuration of Qubes, but he
> > don't know how it's configured.
> >
> > Can somebody help me fixing this? How can I enlarge the shared
> > memory?
> >
>
> I am running fedora-30 and never had this kind of crash with firefox.
> My AppVms mostly have default 400MB/4000MB and some even less max
> limit. Maybe is it related to debian-9? Could you test debian-10?
> -BEGIN PGP SIGNATURE-
>
> iQIzBAEBCAAdFiEEznLCgPSfWTT+LPrmFBMQ2OPtCKUFAl6mxaUACgkQFBMQ2OPt
> CKWONg/8DxzS1fwOIBIbCarULt8buq7tAtFa5pl6gUF2sL9hn6Uboz53TJsf1e8g
> N75pqb5JjFRaZTf2gGwYkTeAo/HFyWxdEZWRprmWcW/0iLHaB86KzxDRXDaREmEs
> AWtZTbH7u6lTBx2U3YhPlW3YvBArMeqvdVY3SRIEk3Dl8c/snzMlQ0BQRwAazhmH
> IoRy2jeSAEvG0U0CXbEdxRmqt5ck9mFCndPZTfCxPoBup02B1QhwjfMZmCh14F0/
> zHaUZrHszUtVq5iAj6qe2x/PjY5NsAa15cOlM8I1h672vMxEJdv0WzWEYSdwhzEb
> i6p/NwtsoeI35DJInedbAk+Z7gTypanqSU23dS9Y77ox7OY+MPuSd+OMNRm+RSl7
> 7EVJo+ABg2SoUiX1ESb8Py4zH1jF0EFFOraPbr/N9QppgWVblVBXkW8hAbgwJk6t
> UoZJo0lHGbDHMj7TTfaU1nhvfwOmoYfiq/oTbs/+mamztUwYjI+jryOOBH+3JgXv
> MreOm0YH0jsLTMwjVfmxv4zmaSoA7mTwt6gCOpoamq4j9P3onVNgMmo0xcvmTxV0
> ReT5BPB1bASPH0vC7Kw+lfZndK/gYrptWAYjuw2Fo/jsh8z4zMUv9ppGe6TFu5kO
> mnVCBrjP5/ljNtGSYvxUNdzI7L7f3Wn3kOJTcfQfilTyzcdosGk=
> =+tb9
> -END PGP SIGNATURE-
>
> --
> You received this message because you are subscribed to the Google Groups 
> "qubes-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to qubes-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/qubes-users/1670d4bb-ea5b-0ea3-f72e-4284eff9b521%40riseup.net.



-- 
Zbigniew Lukasiak
https://medium.com/@zby
http://brudnopis.blogspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAGL_UUvU9LDpdLS222TRGTxtFu9czi8s%2B1qy8P9UP0W6D5YWmg%40mail.gmail.com.


Re: [qubes-users] Constant firefox crashes because of Qubes shared memory

2020-04-27 Thread donoban
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 2020-04-25 03:00, Guerlan wrote:
> I started having constant firefox crashes on my debian9 Qube. I
> sent the crash reports to firefox and the said that the problem
> occurs because of the shared memory configuration of Qubes, but he
> don't know how it's configured.
>
> Can somebody help me fixing this? How can I enlarge the shared
> memory?
>

I am running fedora-30 and never had this kind of crash with firefox.
My AppVms mostly have default 400MB/4000MB and some even less max
limit. Maybe is it related to debian-9? Could you test debian-10?
-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEznLCgPSfWTT+LPrmFBMQ2OPtCKUFAl6mxaUACgkQFBMQ2OPt
CKWONg/8DxzS1fwOIBIbCarULt8buq7tAtFa5pl6gUF2sL9hn6Uboz53TJsf1e8g
N75pqb5JjFRaZTf2gGwYkTeAo/HFyWxdEZWRprmWcW/0iLHaB86KzxDRXDaREmEs
AWtZTbH7u6lTBx2U3YhPlW3YvBArMeqvdVY3SRIEk3Dl8c/snzMlQ0BQRwAazhmH
IoRy2jeSAEvG0U0CXbEdxRmqt5ck9mFCndPZTfCxPoBup02B1QhwjfMZmCh14F0/
zHaUZrHszUtVq5iAj6qe2x/PjY5NsAa15cOlM8I1h672vMxEJdv0WzWEYSdwhzEb
i6p/NwtsoeI35DJInedbAk+Z7gTypanqSU23dS9Y77ox7OY+MPuSd+OMNRm+RSl7
7EVJo+ABg2SoUiX1ESb8Py4zH1jF0EFFOraPbr/N9QppgWVblVBXkW8hAbgwJk6t
UoZJo0lHGbDHMj7TTfaU1nhvfwOmoYfiq/oTbs/+mamztUwYjI+jryOOBH+3JgXv
MreOm0YH0jsLTMwjVfmxv4zmaSoA7mTwt6gCOpoamq4j9P3onVNgMmo0xcvmTxV0
ReT5BPB1bASPH0vC7Kw+lfZndK/gYrptWAYjuw2Fo/jsh8z4zMUv9ppGe6TFu5kO
mnVCBrjP5/ljNtGSYvxUNdzI7L7f3Wn3kOJTcfQfilTyzcdosGk=
=+tb9
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/1670d4bb-ea5b-0ea3-f72e-4284eff9b521%40riseup.net.


Re: [qubes-users] Constant firefox crashes because of Qubes shared memory

2020-04-26 Thread unman
On Sat, Apr 25, 2020 at 10:21:51PM -0700, Foppe de Haan wrote:
> Firefox crashes a lot for me too, with 7GB ram assigned, mostly on reddit, 
> youtube pages. Makes it nearly unusable.
> 

For the record, I don't have this problem with 800 maxmem on a 16GB
machine. That's with stock firefox on Fedora, and somewhat modified Ff
on Debian 10 minimal template.
The only add-ons I use are combinations of Privacy Badger, No Script,
canvas defender.
Tor Browser is solid.

Very occasionally I see a situation where I have a ghost tab, and the
other tabs grind slowly, but this is recoverable and only happens where
I have stupid numbers of qubes open with displays - that is, not where I
just have qubes open.

Doesn't help any one, but a different perspective.

On OP's original question, you can use:
`qvm-prefs  maxmem XX` in dom0


-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20200426100448.GA26799%40thirdeyesecurity.org.


Re: [qubes-users] Constant firefox crashes because of Qubes shared memory

2020-04-25 Thread Foppe de Haan
Firefox crashes a lot for me too, with 7GB ram assigned, mostly on reddit, 
youtube pages. Makes it nearly unusable.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/e44b6d65-e33a-4ea2-b203-847999085e7e%40googlegroups.com.


Re: [qubes-users] Constant firefox crashes because of Qubes shared memory

2020-04-25 Thread David Hobach



On 4/25/20 12:53 PM, David Hobach wrote:

On 4/25/20 3:00 AM, Guerlan wrote:

I started having constant firefox crashes on my debian9 Qube. I sent the
crash reports to firefox and the said that the problem occurs because of
the shared memory configuration of Qubes, but he don't know how it's
configured.

Can somebody help me fixing this? How can I enlarge the shared memory?


Did you try to enlarge the maximum memory in your disposable VM template 
to 2 GB or so?


In dom0 it's
qubes-vm-settings [your dvm template]

Or do it via qubes manager.

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/857f77d6-be6a-b1fe-b015-0ea3d6579f4f%40hackingthe.net.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [qubes-users] Constant firefox crashes because of Qubes shared memory

2020-04-25 Thread David Hobach

On 4/25/20 3:00 AM, Guerlan wrote:

I started having constant firefox crashes on my debian9 Qube. I sent the
crash reports to firefox and the said that the problem occurs because of
the shared memory configuration of Qubes, but he don't know how it's
configured.

Can somebody help me fixing this? How can I enlarge the shared memory?


Did you try to enlarge the maximum memory in your disposable VM template 
to 2 GB or so?


--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/1129557b-2fd2-3f88-1f8c-2cc351f4c7df%40hackingthe.net.


smime.p7s
Description: S/MIME Cryptographic Signature


[qubes-users] Constant firefox crashes because of Qubes shared memory

2020-04-24 Thread Guerlan
I started having constant firefox crashes on my debian9 Qube. I sent the 
crash reports to firefox and the said that the problem occurs because of 
the shared memory configuration of Qubes, but he don't know how it's 
configured.

Can somebody help me fixing this? How can I enlarge the shared memory?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/9a79daa0-7351-4ce0-b75f-b3f23ffe921a%40googlegroups.com.