Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

invalid header received at /usr/local/lib/perl/5.10.1/MongoDB/Cursor.pm line 160.

by vinaybond (Novice)
on Jan 06, 2014 at 05:45 UTC ( #1069459=perlquestion: print w/ replies, xml ) Need Help??
vinaybond has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am getting error "Thread N terminated abnormally: invalid header received at /usr/local/lib/perl/5.10.1/MongoDB/Cursor.pm line 160." (N represents thread number) This happens when I uses multiple threads. But incase when I run my script without thread or single thread then it perfectly works fine. My thought says it has something to do with too many queries performed on mongoDB. Any suggestions. Vinay
  • Comment on invalid header received at /usr/local/lib/perl/5.10.1/MongoDB/Cursor.pm line 160.

Replies are listed 'Best First'.
Re: invalid header received at /usr/local/lib/perl/5.10.1/MongoDB/Cursor.pm line 160.
by ww (Bishop) on Jan 06, 2014 at 12:40 UTC

    ... and a minimal example of the code that exhibits this behavior is ...
                where?

    Your supposition about the problem may be valid, but it's very hard to help you solve it without knowing more, such as 'is N the highest active thread?'
    If I've misconstrued your question or the logic needed to answer it, I offer my apologies to all those electrons which were inconvenienced by the creation of this post.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1069459]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2016-07-01 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (405 votes). Check out past polls.