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

"magic mime db is already open" error #3

Closed
1tayH opened this issue Jul 6, 2018 · 1 comment
Closed

"magic mime db is already open" error #3

1tayH opened this issue Jul 6, 2018 · 1 comment

Comments

@1tayH
Copy link

1tayH commented Jul 6, 2018

Hi,
Thanks for this awesome tool, really makes my work a lot easier.

I ran into an issue while trying to automate the web service, it happens when I submit the same file multiple times, not simultaneously:
fileinfo_1 | 2018/07/06 15:44:28 cannot open; magic mime db is already open

any help would be highly appreciated 👍

@blacktop
Copy link
Member

blacktop commented Jul 6, 2018

That was a dumb race condition. This was my first MaliceIO plugin and I was trying to get fancy with concurrency to minimize the scan time as much as possible. I believe I have fixed the issue.

Please feel free to reopen this issue it the problem persists.

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

2 participants