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

Explore the possibility of closing appender logs when not used #17

Open
thilinamb opened this issue Apr 2, 2020 · 0 comments
Open

Explore the possibility of closing appender logs when not used #17

thilinamb opened this issue Apr 2, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@thilinamb
Copy link
Collaborator

thilinamb commented Apr 2, 2020

During load testing with larger number of entities per node (~520,000), following error can be observed.

sustain.synopsis.dht.store.StorageException: Error initializing journal log. Dir: /s/lattice-80/a/nobackup/granules/thilinab/sustain-logs/cfm8f_metadata.slog
	at sustain.synopsis.dht.journal.Logger.initAppenders(Logger.java:39)
	at sustain.synopsis.dht.journal.Logger.append(Logger.java:45)
	at sustain.synopsis.dht.store.entity.EntityStoreJournal.startSession(EntityStoreJournal.java:148)
	at sustain.synopsis.dht.store.entity.EntityStore.startSession(EntityStore.java:108)
	at sustain.synopsis.dht.store.entity.EntityStore.store(EntityStore.java:121)
	at sustain.synopsis.dht.store.node.NodeStore.store(NodeStore.java:215)
	at sustain.synopsis.dht.store.node.NodeStore.store(NodeStore.java:141)
	at sustain.synopsis.dht.IngestionRequestDispatcher.lambda$getNodeMappingCompletableFuture$0(IngestionRequestDispatcher.java:29)
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: /s/lattice-80/a/nobackup/granules/thilinab/sustain-logs/cfm8f_metadata.slog (Too many open files)
	at java.io.FileOutputStream.open0(Native Method)
	at java.io.FileOutputStream.open(FileOutputStream.java:270)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
	at sustain.synopsis.dht.journal.Logger.initAppenders(Logger.java:32)
	... 11 more
@thilinamb thilinamb added the enhancement New feature or request label Apr 2, 2020
@thilinamb thilinamb self-assigned this Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant