Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3568689pxk; Mon, 5 Oct 2020 13:10:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyM8BUAUOMEotp8yolxn5GFjDi5WAfdnaIjC6APtFuhMN22o8ylLYGWNiWCf4gKjvQBLRIU X-Received: by 2002:a05:6402:602:: with SMTP id n2mr1429062edv.327.1601928613905; Mon, 05 Oct 2020 13:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601928613; cv=none; d=google.com; s=arc-20160816; b=ZWXnJGhZRudYfPZ8FdGZ09p/rEcnA3xLGL2PGT0nJOGB8enWnMht+wm9RDcDwQQkJh 4DnAaJFI+yTyaTR/mwALI2J04GnegZWQJl6oNmqxwfD2soToX/bjR35vby/hJSfh1S88 VY2wFyYLKRvctpekNO1Awk9dxOqOT+BXrhx65/Q97oFklVFT9ZB1c8NNuPL7UDg4jsua iYtLRDbFlQM9vtmIecZAKuJIZU0S7lFEkzGuJ6nEDu5HABIjdMmtUZOqp8sP60R2IL0/ vEKxScKI17Ng950VMSOO7GUhpQKWSsDZSTZniekNScuP6IMSFP3xEIiM6TARD/sJUrr6 DLKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:dkim-signature; bh=DixqxRQLxSCTSdnJbTouAu2cyaF96G8OgDIM1c7ZTnU=; b=PjE+fWQTIpEUkDP3Nv0lBCGcXjlwEdtqHM9fXfWHNxQzyIj2yb1vk/yYtV1NzsKCso 8ZpR19c1Iyf69JM8ckugRW+x9arO447TjM91gEwgq8WL408cukPxjPJSWakgJo7u5c4a uRhEajYoIz06Lxpemxja1NBUYMJyKYWrV+BBns7AQgWGPLcS8Ggf4XaXRB2Ghgv8UWpx kWJZBQjyuVtLyIk095x9ksWzNYkQBJ00a2259eZwbO31Mj+y6oKOFRrCxuU7j+nt4rIc NpaH97m2V1y+mhKmPy12IXUNZQ7qHVWy+DFwkK+ujrY77Ig8YE4QPLh/c/YKb/89myYQ LaqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kenjo.org header.s=mail header.b=mXnjZJy8; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kenjo.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ly27si446887ejb.672.2020.10.05.13.09.36; Mon, 05 Oct 2020 13:10:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@kenjo.org header.s=mail header.b=mXnjZJy8; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kenjo.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729648AbgJEUIA (ORCPT + 99 others); Mon, 5 Oct 2020 16:08:00 -0400 Received: from h-163-233.A498.priv.bahnhof.se ([155.4.163.233]:35962 "EHLO mail.kenjo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729424AbgJEUIA (ORCPT ); Mon, 5 Oct 2020 16:08:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kenjo.org; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version: Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=DixqxRQLxSCTSdnJbTouAu2cyaF96G8OgDIM1c7ZTnU=; b=mXnjZJy8e+J7e2wI/plZjVyRr/ jNeqdG3ADN+5AVlW6gyAEa1j0nZHx7+YjRo/JmSFLG2C+y3OThxc7W+maVE4i7Cozln8LY5LSWKuS pjkK35l4lcM0BFQRMKfX4JmudOaUkgk6fLTjo+Y6pEZBWBwARbUcpx71mVn42ny6Vg80=; Received: from brix.kenjo.org ([172.16.2.16]) by mail.kenjo.org with esmtp (Exim 4.89) (envelope-from ) id 1kPWm4-0005Z2-4K; Mon, 05 Oct 2020 22:07:56 +0200 Subject: Re: nfs home directory and google chrome. To: Patrick Goetz , linux-nfs@vger.kernel.org References: <0ba0cd0c-eccd-2362-9958-23cd1fa033df@kenjo.org> <5326b6a3-0222-fc1a-6baa-ae2fbdaf209d@math.utexas.edu> From: Kenneth Johansson Message-ID: <923003de-7fcf-abee-07a2-0691b25673d8@kenjo.org> Date: Mon, 5 Oct 2020 22:07:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <5326b6a3-0222-fc1a-6baa-ae2fbdaf209d@math.utexas.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 2020-10-05 18:46, Patrick Goetz wrote: > We had a similar problem with Firefox, most notably with Mac OSX users > who have NFS-mounted home directories. There's an about:config > solution for Firefox; namely set > >    storage.nfs_filesystem: true > > This forces a specific network file locking mechanism which makes > sqlite behave better. I'm guessing google chrome has something similar. > Since I have used chrome for years without any problems my guess it that its something that changed with nfs in my setup. I did a strace and the first -EIO I get look like this fdatasync(94) = -1 EIO (Input/output error) then the same thing happens for other files like fdatasync(83) = -1 EIO (Input/output error) fdatasync(74) = -1 EIO (Input/output error) > On 10/4/20 6:53 AM, Kenneth Johansson wrote: >> So I have had for a long time problems with google chrome and suspend >> resume causing it to mangle its sqlite database. >> >> it looks to only happen if I use nfs mounted home directory. I'm not >> sure exactly what is happening but lets first see if this happens to >> anybody else. >> >> How to get the error. >> >> 1. start google from a terminal with "google-chrome" >> >> 2. suspend the computer >> >> 3. wait a while. There is some type of minimum time here I do not >> know what its is but I basically get the error every time of I >> suspend in evening and resume in morning >> >> 4. look for printout that looks like something like this >> >> [16789:18181:1004/125852.529750:ERROR:database.cc(1692)] Passwords >> sqlite error 1034, errno 5: disk I/O error, sql: COMMIT >> [16789:16829:1004/125852.529744:ERROR:database.cc(1692)] Web sqlite >> error 1034, errno 5: disk I/O error, sql: COMMIT >> [16789:16829:1004/125852.530261:ERROR:database.cc(1692)] Web sqlite >> error 1034, errno 5: disk I/O error, sql: INSERT OR REPLACE INTO >> autofill_model_type_state (model_type, value) VALUES(?,?) >> [16789:16789:1004/125852.563571:ERROR:sync_metadata_store_change_list.cc(34)] >> Autofill datatype error was encountered: Failed to update >> ModelTypeState. >> [16789:19002:1004/125902.534103:ERROR:database.cc(1692)] History >> sqlite error 1034, errno 5: disk I/O error, sql: COMMIT >> [16789:19002:1004/125902.536903:ERROR:database.cc(1692)] Thumbnail >> sqlite error 778, errno 5: disk I/O error, sql: COMMIT >> >> >> [16789:19002:1004/130044.120379:ERROR:database.cc(1692)] Passwords >> sqlite error 1034, errno 5: disk I/O error, sql: INSERT OR REPLACE >> INTO sync_model_metadata (id, model_metadata) VALUES(1, ?) >> [16789:16829:1004/130044.120388:ERROR:database.cc(1692)] Web sqlite >> error 1034, errno 5: disk I/O error, sql: INSERT OR REPLACE INTO >> autofill_model_type_state (model_type, value) VALUES(?,?) >> >> >> and so on.  if you use google sync you can also check >> "chrome://sync-internals" to see if something is wrong with the >> database. >> >> >> >>>> This message is from an external sender. Learn more about why this << >>>> matters at https://links.utexas.edu/rtyclf. <<