From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: easy way to acquire height / width from images (PNG, JPEG) stored as bytea?
Date: Fri, 17 Apr 2020 18:05:34 +0300
Message-ID: <17929604-c97e-a13b-ede7-a2218a4906ca@matrix.gatewaynet.com> (raw)
In-Reply-To: <fb9729cd-4ab4-057b-3831-db688257e1e9@blighty.com>
References: <03a79221-6e00-4d8e-c6bc-c01cadb352d9@matrix.gatewaynet.com>
<fb9729cd-4ab4-057b-3831-db688257e1e9@blighty.com>
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
>
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: achill@matrix.gatewaynet.com
Subject: Re: easy way to acquire height / width from images (PNG, JPEG) stored as bytea?
In-Reply-To: <17929604-c97e-a13b-ede7-a2218a4906ca@matrix.gatewaynet.com>
References: <03a79221-6e00-4d8e-c6bc-c01cadb352d9@matrix.gatewaynet.com> <fb9729cd-4ab4-057b-3831-db688257e1e9@blighty.com> <17929604-c97e-a13b-ede7-a2218a4906ca@matrix.gatewaynet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox