Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Large collection of jobs throw an exception #32

Open
seivan opened this issue Dec 29, 2016 · 1 comment
Open

Large collection of jobs throw an exception #32

seivan opened this issue Dec 29, 2016 · 1 comment

Comments

@seivan
Copy link

seivan commented Dec 29, 2016

[error] Process #PID<0.8253.0> raised an exception
** (Protocol.UndefinedError) protocol String.Chars not implemented for {:noproc, {:gen_server, :call, [#PID<0.30669.0>, :stop]}}
    (elixir) lib/string/chars.ex:3: String.Chars.impl_for!/1
    (elixir) lib/string/chars.ex:17: String.Chars.to_string/1
    (toniq) lib/toniq/job_process.ex:40: Toniq.JobProcess.wait_for_result/0
    (toniq) lib/toniq/job_process.ex:3: Toniq.JobProcess.run/1
    (toniq) lib/toniq/job_concurrency_limiter.ex:26: Toniq.JobConcurrencyLimiter.run/2
    (toniq) lib/toniq/job_runner.ex:17: anonymous fn/1 in Toniq.JobRunner.handle_cast/2

My guess is

"The job runner crashed. The reason that was given is: #{error}"

Trying to convert {:noproc, {:gen_server, :call, [#PID<0.30669.0>, :stop]}} into a string
But chances are I'm wrong.

@gen1321
Copy link

gen1321 commented Mar 7, 2017

I have almost same issue

(Protocol.UndefinedError) protocol String.Chars not implemented for {:connection_error, {:connection_error, :emfile}}

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

No branches or pull requests

2 participants