Skip to content

Error occurs while inserting a lot of records #27

@okkez

Description

@okkez

I'm trying to load records from some CSV files.
CSV files include about 10000 records in a file.

I got following errors sometimes.
(sometimes load all records successfully)

groonga-client-0.5.0/lib/groonga/client/protocol/http/synchronous.rb:56:in `rescue in send': Failed to open TCP connection to 127.0.0.1:10041 (Cannot assign requested address - connect(2) for "127.0.0.1" port 10041) (Groonga::Client::Protocol::WrappedError)
        from /home/xxx/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/groonga-client-0.5.0/lib/groonga/client/protocol/http/synchronous.rb:38:in `send'
        from /home/xxx/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/groonga-client-0.5.0/lib/groonga/client/protocol/http/thread.rb:39:in `block in send'
bin/rails r data/load-ekidata.rb all  29.60s user 25.25s system 94% cpu 58.137 total

Why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions