Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iJ57p-0001pP-CM for pgsql-general@arkaria.postgresql.org; Sat, 12 Oct 2019 00:19:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iJ57l-0003Mz-JU for pgsql-general@arkaria.postgresql.org; Sat, 12 Oct 2019 00:19:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iJ57j-0003MV-NB for pgsql-general@lists.postgresql.org; Sat, 12 Oct 2019 00:19:09 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iJ57g-0002x6-8E for pgsql-general@lists.postgresql.org; Sat, 12 Oct 2019 00:19:07 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 49D3A21AF2; Fri, 11 Oct 2019 20:19:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 11 Oct 2019 20:19:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=q QRYJHqAZUHSX+AwRkMwMVrcxPnttMco3IZt6ObmVAI=; b=OTr607pb2xDsoJ6rc fkmWPbYgGUCM64qWJA5tYGUseC93xQF8TLIU9NFRYQxAmYvHv4ExSRqVVFiRlexU +0kLB2a0MXQEAuEByNpDKQ0Kb80lSDOJq/JiBDJecdxpJ/zf5ZnV/04W+bKgKV4f qwkhK5g9wsfTled3WHdwugiuJK6z5OLVu0jMKWfzUX9SIbfq9HJ2gpAn9s1ipDg5 0Ebx7ygjHYUKQprVWANBg116LggRaaDt1BNDbJz/jh9xNY+rUX4atIJS5sQLo5Su m+BUuUTSbymPfVcDnYAi4v5bd5nXnPUAoFPZ1Fjr6aG6lVHxWu53Oj0G1N0dfech CG36w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=qQRYJHqAZUHSX+AwRkMwMVrcxPnttMco3IZt6ObmV AI=; b=DqPbFmQ1P08cN26BmBCDu/J9r8hF3bCaL8WDEMXvxs/+ok1kaeopF3gAf kBpCIybTgvIIJqJ6bHbcY1l7Tt7nK9qIfz5jLDP3WAWtC10ww4U/Z7489yHSe05H vBxif8SbLtacvVcZwgiBz4EXyJy8fEaUUQqN3KeZX9EewjaPlYg7lr6k/oQYP4Z3 kHuH2aM4Q0FZbSEwoesutkKq5iuQYySYN4spPyQY0RD5lwq0sgZ8EcSnh9ZMiCWD hCuVCDhgGlR4KtxrcBcuQb7O/eXKmmcp7UkchDvOQKddujMrBiAn2WvP3/1KKkAN s9fDBSEOlSwi7GslbbDZ4aZ0qgT7Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrieehgdduleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecukfhppedujeegrddvuddrkeekrddvge egnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhl rghvvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.2] (174-21-88-244.tukw.qwest.net [174.21.88.244]) by mail.messagingengine.com (Postfix) with ESMTPA id 36EDC80061; Fri, 11 Oct 2019 20:19:01 -0400 (EDT) Subject: Re: got error: DELETE FROM planet_osm_line WHERE osm_id = -390840 failed: FEHLER: tuple concurrently updated To: wambacher@posteo.de, pgsql-general@lists.postgresql.org References: <3e664979-a015-bf0c-0569-82b2a797f6a7@aklaver.com> <88cb51a4-3c8d-d62d-e4e3-106f7da1de47@posteo.de> <0bed370e-33fb-b7a6-dc30-02ba697164b5@aklaver.com> <1c57e9ff-f9ab-1d2d-3c1f-5a8ec6067ccb@posteo.de> From: Adrian Klaver Message-ID: <9d34861a-50d0-5e75-acc5-c48f4043bf4e@aklaver.com> Date: Fri, 11 Oct 2019 17:19:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <1c57e9ff-f9ab-1d2d-3c1f-5a8ec6067ccb@posteo.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/11/19 3:42 PM, wambacher@posteo.de wrote: > Hi Adrian, > > no, system hang and i had to do a power reset (nothing else helped) >> >> By system do you mean just Postgres or the computer as a whole? > > The whole system was hanging (Ubuntu). very strange: did a "lshw" not > being root. no idea what was going on. But we don't have to discuss that > here. May be disk io was hanging too. > >> >> Have you tried a REINDEX? >> > not yet because i don't want to change any bit in this table right now. > at least i'll wait until my recovery program finished (about ~ 50% done) > > toast seems to be invalid too. here some lines of the log: Any hardware 'events' recently? > > planet3=# truncate pol_recover;select wno_recover_pol(); > TRUNCATE TABLE > HINWEIS:  wno_recover_pol: 2019-10-11 21:52:18.066759+02 rows=0 > osm_id=633182165 > HINWEIS:  wno_recover_pol: 2019-10-11 21:53:59.233604+02 rows=1000000 > osm_id=701634735 > HINWEIS:  wno_recover_pol: 2019-10-11 21:56:41.457124+02 rows=2000000 > osm_id=513908287 > HINWEIS:  wno_recover_pol: 2019-10-11 22:03:58.663295+02 rows=3000000 > osm_id=36807165 > HINWEIS:  wno_recover_pol: 2019-10-11 22:09:40.59184+02 rows=4000000 > osm_id=-9334086 > HINWEIS:  wno_recover_pol: 2019-10-11 22:25:24.717055+02 rows=5000000 > osm_id=-2242787 > HINWEIS:  wno_recover_pol: Exception -9493166 unexpected chunk number 0 > (expected 1) for toast value 3243289288 in pg_toast_1340113 > HINWEIS:  wno_recover_pol: Exception -9493166 unexpected chunk number 0 > (expected 1) for toast value 3243289288 in pg_toast_1340113 > HINWEIS:  wno_recover_pol: Exception -61549 unexpected chunk number 0 > (expected 1) for toast value 3243289264 in pg_toast_1340113 > HINWEIS:  wno_recover_pol: Exception -240861 unexpected chunk number 0 > (expected 1) for toast value 3243289204 in pg_toast_1340113 > HINWEIS:  wno_recover_pol: Exception -240861 unexpected chunk number 0 > (expected 1) for toast value 3243289204 in pg_toast_1340113 > HINWEIS:  wno_recover_pol: Exception -240861 unexpected chunk number 0 > (expected 1) for toast value 3243289204 in pg_toast_1340113 > HINWEIS:  wno_recover_pol: Exception -240861 unexpected chunk number 0 > (expected 1) for toast value 3243289204 in pg_toast_1340113 > HINWEIS:  wno_recover_pol: Exception -240861 unexpected chunk number 0 > (expected 1) for toast value 3243289204 in pg_toast_1340113 > HINWEIS:  wno_recover_pol: Exception -240861 unexpected chunk number 0 > (expected 1) for toast value 3243289204 in pg_toast_1340113 > HINWEIS:  wno_recover_pol: Exception -240861 unexpected chunk number 0 > (expected 1) for toast value 3243289204 in pg_toast_1340113 > HINWEIS:  wno_recover_pol: Exception -240861 unexpected chunk number 0 > (expected 1) for toast value 3243289204 in pg_toast_1340113 > HINWEIS:  wno_recover_pol: 2019-10-11 22:40:42.696463+02 rows=6000000 > osm_id=303611045 > HINWEIS:  wno_recover_pol: 2019-10-11 22:42:19.535747+02 rows=7000000 > osm_id=439078923 > > ... > > until now "only" 3 damaged records :) > > regards > > walter > > > > -- Adrian Klaver adrian.klaver@aklaver.com