BUG REPORT - Too many open files, bearclaw fails silently #11
Labels
bug
Something isn't working
good first issue
Good for newcomers
will-do
this sounds like something that can be added.
What happened?
I have more than 600 blog posts in the input folder. For each file bearclaw opens a Markdown input file and an HTML output file. After opening 1024 files the operating system (Debian) default limit is reached, no more file will be opened. Bearclaw failes silently by not creating HTML output files.
What should have happened?
More information:
Improved main.go attached. This is how I found the bug
The time the Markdown input needs to be closed
The time the HTML file needs to be closed
Minor improvement (open htmlTemplateHeader only once per run instead of once per input file) included
The text was updated successfully, but these errors were encountered: