svn commit: r465058 - head/www/chromium

Yuri Victorovich yuri at FreeBSD.org
Tue Mar 20 02:46:17 UTC 2018


Author: yuri
Date: Tue Mar 20 02:46:15 2018
New Revision: 465058
URL: https://svnweb.freebsd.org/changeset/ports/465058

Log:
  www/chromium: Workaround description for the hanging tabs problem
  
  Thanks to the solution suggested by Dmitri Goutnik, I am amending
  pkg-message with the workaround for the hanging tabs problem.
  
  Putting ~/.cache/chromium on memory-fs solved the problem for me.
  Now chromium doesn't hang even on a heavily loaded machine.
  
  PR:		226793
  Reported by:	Dmitri Goutnik <dg at syrec.org>
  Approved by:	Carlos J. Puga Medina <cpm at freebsd.org> (maintainer)

Modified:
  head/www/chromium/Makefile
  head/www/chromium/pkg-message

Modified: head/www/chromium/Makefile
==============================================================================
--- head/www/chromium/Makefile	Tue Mar 20 02:32:39 2018	(r465057)
+++ head/www/chromium/Makefile	Tue Mar 20 02:46:15 2018	(r465058)
@@ -3,7 +3,7 @@
 
 PORTNAME=	chromium
 PORTVERSION=	64.0.3282.186
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES?=	www
 MASTER_SITES=	https://commondatastorage.googleapis.com/chromium-browser-official/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}

Modified: head/www/chromium/pkg-message
==============================================================================
--- head/www/chromium/pkg-message	Tue Mar 20 02:32:39 2018	(r465057)
+++ head/www/chromium/pkg-message	Tue Mar 20 02:46:15 2018	(r465058)
@@ -1,7 +1,8 @@
+--I--
 For correct operation, shared memory support has to be enabled
 in Chromium by performing the following command as root :
 
-sysctl kern.ipc.shm_allow_removed=1
+# sysctl kern.ipc.shm_allow_removed=1
 
 To preserve this setting across reboots, append the following
 to /etc/sysctl.conf :
@@ -9,3 +10,14 @@ to /etc/sysctl.conf :
 kern.ipc.shm_allow_removed=1
 
 FreeBSD 11.0-R and newer have this set by default.
+
+--II--
+Chromium has a known problem of hanging tabs. The workaround
+for this problem is to mount ~/.cache/chromium as memory-fs.
+In order to do this, before you run chromium, please run these
+commands once as root for each user who uses chromium (replace
+{user}/{group} with your user/group names):
+
+# [ -d ~{user}/.cache/chromium ] || mkdir ~{user}/.cache/chromium
+# echo "md $(echo ~{user})/.cache/chromium mfs rw,late,-w{user}:{group},-s300m 2 0" >> /etc/fstab
+# mount ~{user}/.cache/chromium


More information about the svn-ports-all mailing list