Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems with database #452

Closed
LauraErhard opened this issue May 9, 2019 · 10 comments
Closed

problems with database #452

LauraErhard opened this issue May 9, 2019 · 10 comments

Comments

@LauraErhard
Copy link

We noticed that we can't find our newly migrated entries via browse/in the internal suggestions while linking references. I wanted to check the backend: https://locdb.bib.uni-mannheim.de/locdb/bibliographicResources to see if our data is even correctly imported, but I always get an error message:
LOCDBerror
I checked the Tübinger backend https://locdb.bib.uni-mannheim.de/locdb-tue/bibliographicResources and this doesn't work either.
The dev seems to work.

Is our newly migrated data properly saved? What is the issue with checking all resources in the backend?

@abdelqader-mohammad
Copy link

Tübingen worked for a while then went down again.
The production is still not working. @stweil is there a capacity problem?

error

@LauraErhard
Copy link
Author

I checked with my colleagues there is no capacity problem, but both prod & tue show this error:

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node /home/anlausch/locdb-prod/source/app.js]
 2: 0x55d1e56dc70e [node /home/anlausch/locdb-prod/source/app.js]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node /home/anlausch/locdb-prod/source/app.js]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node /home/anlausch/locdb-prod/source/app.js]
 5: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node /home/anlausch/locdb-prod/source/app.js]
 6: v8::internal::Runtime_AllocateInTargetSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node /home/anlausch/locdb-prod/source/app.js]
 7: 0x3faf9630eb86

@abdelqader-mohammad
Copy link

@LauraErhard I think there is no problem in the database. Maybe due to the large amount of data you want to retrieve from the database caused this error. I am not sure, but perhaps this is the reason for that error.

@zuphilip
Copy link
Member

FYI it is possible to access an individual resource, e.g. https://locdb.bib.uni-mannheim.de/locdb/bibliographicResources/5cc2f8676fe387398c588dda

@zuphilip
Copy link
Member

@LauraErhard The last error says "JavaScript heap out of memory" and this could be possible as the heap memory in node is limited, see e.g. https://stackoverflow.com/questions/38558989/node-js-heap-out-of-memory .

@LauraErhard
Copy link
Author

LauraErhard commented May 10, 2019

FYI it is possible to access an individual resource, e.g. https://locdb.bib.uni-mannheim.de/locdb/bibliographicResources/5cc2f8676fe387398c588dda

@zuphilip Can I only access an individual resource if I have the key, or can I search somewhere with title/author?

@zuphilip
Copy link
Member

FYI we started all instances with more JS memory now.

@LauraErhard
Copy link
Author

The backend is loading fine now, but the issue that we can't find our newly migrated entries via browse/in the internal suggestions while linking references still exists.

@stweil
Copy link

stweil commented May 21, 2019

CC'ing @JKamlah.

@zuphilip
Copy link
Member

Let us open a new issue #454 for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants