Angular "dspace-ui-deploy" directory large "core.*" files

42 views
Skip to first unread message

hb wooley

unread,
Apr 13, 2023, 1:59:38 PM4/13/23
to DSpace Technical Support
Hoping someone can help.
Under the Angular "dspace-ui-deploy" directory where you copy the Angular "dist" folder, I'm seeing large core.* files. These (binary) files keep growing in this directory, can someone tell me what these files are for and can the number of them be limited, since they can fill up a drive if not monitored?
Example:
2.3G Mar 24 15:28 core.18471
2.3G Mar 25 00:58 core.23446
2.3G Mar 25 21:18 core.10618
2.3G Mar 26 22:59 core.3294
2.3G Mar 28 01:15 core.19507
2.3G Mar 28 12:49 core.16889
2.4G Mar 30 12:30 core.3287
2.3G Apr  1 00:25 core.4652
2.3G Apr  3 14:10 core.7601
2.3G Apr  5 00:59 core.28903
2.3G Apr  5 19:18 core.12439
2.3G Apr  7 09:17 core.9281
2.3G Apr  8 00:19 core.6379
2.3G Apr  8 00:49 core.7008
2.3G Apr  8 12:25 core.18488
2.3G Apr  9 12:23 core.32223
2.3G Apr 10 12:23 core.1507
2.3G Apr 11 20:29 core.3029
2.3G Apr 13 12:22 core.6437

Thank you -

hb wooley

unread,
Apr 13, 2023, 2:01:26 PM4/13/23
to DSpace Technical Support
Forgot I'm using dspace-angular 7.5

Tim Donohue

unread,
Apr 13, 2023, 2:47:03 PM4/13/23
to DSpace Technical Support
Hi,

Those "core.*" files are not being created by DSpace.   DSpace never writes/creates new files to that folder once it is running.

It's likely those are memory dumps created by Linux.  It sounds like some process (maybe Node.js, or whatever else you are using the run the DSpace UI?) is running out of memory and/or crashing frequently. That is likely what is creating these "core.*" files.  See this StackOverflow for example: https://stackoverflow.com/a/20530587/3750035

Tim

hb wooley

unread,
Apr 13, 2023, 3:45:01 PM4/13/23
to DSpace Technical Support
The server might be doing as you said, I really haven't tuned it and the server is a development server without many resources.  I did checkout the link and it sounds like this could be the issue, thank you for the insight.

hbwooley

Hardy Pottinger

unread,
Apr 13, 2023, 3:52:06 PM4/13/23
to hb wooley, DSpace Technical Support
Hi, while core dumps can be helpful for troubleshooting, if you're simply deleting these files without looking at them, you might consider disabling core dump creation. Here's a writeup on how:

https://www.cyberciti.biz/faq/disable-core-dumps-in-linux-with-systemd-sysctl/

I am not recommending that you do this, it's up to you. But... it's an option.

--Hardy

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/d5923f59-2012-4c6a-a736-4c5c067adeb4n%40googlegroups.com.

hb wooley

unread,
Apr 13, 2023, 4:30:00 PM4/13/23
to DSpace Technical Support
Hardy,
That is great information. Thanks

hbwooley
Reply all
Reply to author
Forward
0 new messages