<html><head></head><body><div>Thanks, I will disable Coquelicot for the moment.</div><div><br></div><div>I am currently reading through zram and zswap, both sound promising even though I do not fully understand them.</div><div>zram seems to create a space in RAM for a compressed swap, so more user data can be stored in RAM,</div><div>whereas zswap works same as zram as long as possible and when more memory is required, it switches to file Swap.</div><div>Maybe these are alternatives to traditional swap?</div><div><br></div><div>zram is in debian testing, zswap I found in wikipedia.</div><div><br></div><div>I will think about whether to use a USB ext4 device as swap or try zram.</div><div><br></div><div>By the way (but I think these are not related to my issues), </div><div>a) even though I disabled Tor, there is a process still running.</div><div>b) default-mysql-server upgrade is held back in apt</div><div><br></div><div>   Dietmar</div><div><br></div><div>Am Donnerstag, den 31.01.2019, 14:39 +0530 schrieb Joseph Nuthalapati:</div><blockquote type="cite"><pre>We have recently made a switch from apache mod-php to the php-fpm
module. php-fpm runs a daemon in the background which can take up some RAM.

Maybe, you can also keep Coquelicot disabled for a while and see the
results.

We have a feature request to add a swap space by default to FreedomBox
images. Swap not working on btrfs filesystems is a bit disappointing.

This might be a bad idea, but you can probably use an attached USB disk
as the swap partition.


On 31/01/19 2:23 pm, permondes - sagen wrote:
<blockquote type="cite">
Oh Sh....
Swap files are not allowed on btrfs

manpages say:
<blockquote type="cite">
*swapon* may not work correctly when using a swap file with some
versions  of *btrfs*. This is due to btrfs being a copy-on-write
filesystem: the  file location may not be static and corruption can
result. Btrfs actively  disallows the use of swap files on its
filesystems by refusing to map the  file.
</blockquote>

So I have to generate a swap partition on a micro-SD card. I think to
have read this was discouraged because wear leveling was then inefficient.

I would put a remark in our hardware section to avoid devices with <1 GB
RAM.
I will do this after I am sure my issues come from running out of RAM.

Dietmar

Am Donnerstag, den 31.01.2019, 09:32 +0100 schrieb permondes - sagen:
<blockquote type="cite">
Thanks for the hint, but it runs into bug #913481.
I will do it according to the debian wiki > swap

Nevertheless, it would be better to find the cause of the freezes by
investigating some log files.
Currently I just see the authentication errors in coqueliqot and
actually also in mediawiki - but both work.

Dietmar

Am Mittwoch, den 30.01.2019, 23:15 +0100 schrieb Petter Reinholdtsen:
<blockquote type="cite">
[Permondes - Sagen]
<blockquote type="cite">
I am considering to set up a SWAP-file on FBx in order to avoid the
risk of running out of RAM. Will this interfere with the FBx ecosystem? 
</blockquote>


I doubt it, but can not say for sure.  Are you aware of the
dphys-swapfile package?  I suspect just installing it might do what you
want.

--
Happy hacking
Petter Reinholdtsen

_______________________________________________
Freedombox-discuss mailing list
<a href="mailto:Freedombox-discuss@alioth-lists.debian.net">Freedombox-discuss@alioth-lists.debian.net</a> <<a href="mailto:Freedombox-discuss@alioth-lists.debian.net">mailto:Freedombox-discuss@alioth-lists.debian.net</a>>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/freedombox-discuss">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/freedombox-discuss</a>
</blockquote>
_______________________________________________
Freedombox-discuss mailing list
<a href="mailto:Freedombox-discuss@alioth-lists.debian.net">Freedombox-discuss@alioth-lists.debian.net</a> <<a href="mailto:Freedombox-discuss@alioth-lists.debian.net">mailto:Freedombox-discuss@alioth-lists.debian.net</a>>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/freedombox-discuss">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/freedombox-discuss</a>
</blockquote>

_______________________________________________
Freedombox-discuss mailing list
<a href="mailto:Freedombox-discuss@alioth-lists.debian.net">Freedombox-discuss@alioth-lists.debian.net</a>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/freedombox-discuss">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/freedombox-discuss</a>

</blockquote>

</pre></blockquote></body></html>