Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPSYs-0003En-7K for pgsql-general@arkaria.postgresql.org; Fri, 17 Apr 2020 15:05:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jPSYq-0004lB-RB for pgsql-general@arkaria.postgresql.org; Fri, 17 Apr 2020 15:05:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPSYq-0004iZ-JH for pgsql-general@lists.postgresql.org; Fri, 17 Apr 2020 15:05:44 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPSYn-0001fr-3D for pgsql-general@lists.postgresql.org; Fri, 17 Apr 2020 15:05:43 +0000 Received: from hercules.internal.net (hercules.internal.net [10.9.200.8]) by hermes.gatewaynet.com (8.15.2/8.15.2/Debian-8) with ESMTP id 03HF5b41025043 for ; Fri, 17 Apr 2020 18:05:37 +0300 Received: from [10.9.251.249] (dcmchgw.internal.net [10.9.0.1]) by hercules.internal.net (Postfix) with ESMTPS id AE3931350B69 for ; Fri, 17 Apr 2020 18:05:36 +0300 (EEST) Subject: Re: easy way to acquire height / width from images (PNG, JPEG) stored as bytea? To: pgsql-general@lists.postgresql.org References: <03a79221-6e00-4d8e-c6bc-c01cadb352d9@matrix.gatewaynet.com> From: Achilleas Mantzios Message-ID: <17929604-c97e-a13b-ede7-a2218a4906ca@matrix.gatewaynet.com> Date: Fri, 17 Apr 2020 18:05:34 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: clamav-milter 0.101.4 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=1.0 required=5.0 tests=ALL_TRUSTED,DYN_SPAM_SUBJ autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hermes.gatewaynet.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 17/4/20 5:47 μ.μ., Steve Atkins wrote: > > If running an extension crashed your server you should look at how / > why, especially if it corrupted your filesystem. > That shouldn't happen on a correctly configured system, so the > underlying issue might cause you other problems. Crashing postgresql, > sure, but not anything that impacts the rest of the server. > Hello, This machine runs several extensions with no issues (even pljava for Christ's sake, our heavy modified version of DBMirror, and lots of our own C functions included among others), two bhyve VMs running ubuntu, and one jail. + it functions as my workstation as well (wildfly, eclipse, etc). And it can run for years, without reboot. Apparently lousy memory management (consumed all 32GB of RAM + 8GB swap) by pg_image didn't crash postgresql but brought the system to its knees. Plus this extension was lastly touched in 2013, go figure. > Cheers, >   Steve > > >