From owner-svn-ports-all@freebsd.org Tue Mar 20 02:46:17 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE903F660CB; Tue, 20 Mar 2018 02:46:16 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4EAD676C36; Tue, 20 Mar 2018 02:46:16 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2F3F4170BD; Tue, 20 Mar 2018 02:46:16 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2K2kGvu001674; Tue, 20 Mar 2018 02:46:16 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2K2kF4N001672; Tue, 20 Mar 2018 02:46:15 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803200246.w2K2kF4N001672@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 20 Mar 2018 02:46:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465058 - head/www/chromium X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/www/chromium X-SVN-Commit-Revision: 465058 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2018 02:46:17 -0000 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 Approved by: Carlos J. Puga Medina (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