Poof crashes / instability

acertain
Posts: 66
Joined: 06 Jan 16 6:35

Re: Poof crashes / instability

Post by acertain » 03 Apr 21 18:28

Finally was able to get back to this. First time I verified the 2004 folder, I got a poof crash when it was scanning for changes. The next time it scanned through the whole folder and presented me with the import options, and then started importing and died somewhere during that process. So I divided it up and did 2004-01 through 2004-06 in one pass and 2004-07 through 2004-12 in a second. Both of them found changes and successfully imported without crashing. So from my standpoint, it's still just normal when trying to work with a lot of stuff that the application is going to crash without explanation.

Andrew

acertain
Posts: 66
Joined: 06 Jan 16 6:35

Re: Poof crashes / instability

Post by acertain » 03 Apr 21 18:57

Well, I just started a scan on the rest of the folders (2011 - 2021) and just came back and it has crashed. Do you run with Postgres on a separate machine? Is it possible the database connection is timing out and killing the process?

Hert
Posts: 6811
Joined: 13 Sep 03 7:24

Re: Poof crashes / instability

Post by Hert » 03 Apr 21 19:02

I do run PostgreSQL on a stand alone machine. But on one machine also on the same machine. Connection timeouts should be no issue because PSU has connection recovery in case a connection is lost.

Did you also check the PostgreSQL logs?
This is a user-to-user forum. If you need product support then please send a message

acertain
Posts: 66
Joined: 06 Jan 16 6:35

Re: Poof crashes / instability

Post by acertain » 03 Apr 21 21:33

Nothing in the logs at default logging levels.

Hert
Posts: 6811
Joined: 13 Sep 03 7:24

Re: Poof crashes / instability

Post by Hert » 04 Apr 21 13:28

If there's nothing in the PostgreSQL log then the database connection is fine.

Maybe you can start a new catalog and import your images to that and see if it's perhaps something in your current catalog that causes the crash. Start a new catalog from the Catalog menu in the hamburger menu. Start importing a smaller set first to see if there's a difference.
This is a user-to-user forum. If you need product support then please send a message

acertain
Posts: 66
Joined: 06 Jan 16 6:35

Re: Poof crashes / instability

Post by acertain » 04 Apr 21 18:21

If I make sure everything is written out to the files, is there any other data or setting I need to save somewhere to make sure I don't lose anything?

Hert
Posts: 6811
Joined: 13 Sep 03 7:24

Re: Poof crashes / instability

Post by Hert » 04 Apr 21 22:34

You can create a PostgreSQL backup as described in the Maintenance manual.
But you can create a second catalog in your database with a different name so that the old one also stays available. But creating a backup of the catalog database is always recommended.
This is a user-to-user forum. If you need product support then please send a message

acertain
Posts: 66
Joined: 06 Jan 16 6:35

Re: Poof crashes / instability

Post by acertain » 15 Apr 21 0:43

I have been super busy at work, so haven't gotten back here yet. I know about creating a backup of the catalog. But if I write everything out to the image files and then reimport them all to a new catalog, will all the information be preserved?

Hert
Posts: 6811
Joined: 13 Sep 03 7:24

Re: Poof crashes / instability

Post by Hert » 15 Apr 21 9:27

First make sure you have a backup.

PSU keeps a "last resort" backup in the metadata, called the ICS (IDimager Core Schema). By default PSU is configured to write the ICS.

If you want to rebuild a catalog from the ICS then make sure that after creating a new catalog that you enable ICS reading in the Sync settings. Try it with a few images first.

Please don't forget to switch ICS reading off after your import has completed. ICS writing should be kept switched ON, but ICS reading must be switched OFF for normal operation.
This is a user-to-user forum. If you need product support then please send a message

User avatar
G8DHE
Posts: 302
Joined: 21 Aug 17 13:58

Re: Poof crashes / instability

Post by G8DHE » 15 Apr 21 9:50

Does reading the ICS take precedence over the other metadata then Hert, or are any changes in the metadata included as well ?
Geoff Mather (G8DHE)

Hert
Posts: 6811
Joined: 13 Sep 03 7:24

Re: Poof crashes / instability

Post by Hert » 15 Apr 21 10:09

ICS complements the standard metadata and contains the data that is not in other metadata (like version info, stacks, etc).
This is a user-to-user forum. If you need product support then please send a message

acertain
Posts: 66
Joined: 06 Jan 16 6:35

Re: Poof crashes / instability

Post by acertain » 15 Apr 21 18:47

I just created a new catalog. And then tried to exit PSu. Instead, I got an exception.


So I killed PSu, restarted, opened the new, empty catalog, created another new one. And the same thing happened.
Attachments
Capture.PNG
Capture.PNG (25.63 KiB) Viewed 712 times

acertain
Posts: 66
Joined: 06 Jan 16 6:35

Re: Poof crashes / instability

Post by acertain » 15 Apr 21 19:33

Well, back to verifying folders, and another poof crash. This one came with an exception report. Although unfortunately this looks like an after-effect of the crash rather than the cause. Looks like maybe heap corruption?
Attachments
Capture.PNG
Capture.PNG (35.98 KiB) Viewed 710 times

acertain
Posts: 66
Joined: 06 Jan 16 6:35

Re: Poof crashes / instability

Post by acertain » 15 Apr 21 22:26

Hert wrote:
15 Apr 21 9:27
First make sure you have a backup.

PSU keeps a "last resort" backup in the metadata, called the ICS (IDimager Core Schema). By default PSU is configured to write the ICS.

If you want to rebuild a catalog from the ICS then make sure that after creating a new catalog that you enable ICS reading in the Sync settings. Try it with a few images first.

Please don't forget to switch ICS reading off after your import has completed. ICS writing should be kept switched ON, but ICS reading must be switched OFF for normal operation.
I have a backup. So can you explain how to do this? If I create a new catalog, won't it have an empty ICS? Can you give me step-by-step instructions? Because I've got 4 days left on my trial and right now, giving up seems like the best option.

Thanks.

Andrew

acertain
Posts: 66
Joined: 06 Jan 16 6:35

Re: Poof crashes / instability

Post by acertain » 16 Apr 21 5:00

OK. So how does restore work at all? I have a backup from before all of this started happening. It's 50MB, so I think it is a real backup. But then when I create a new catalog and select restore, it just immediately pops up a window saying that restore is finished and that PSu will restart. Which it doesn't. I've tried restoring in on several computers, and with both the stand-alone and server editions and always get the same thing.

Post Reply