incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sleepnova <wanpee...@gmail.com>
Subject Re: concurrent _changes feeds
Date Tue, 09 Aug 2011 12:07:55 GMT
I got series of exception as follow on the CouchDB log.

=ERROR REPORT==== 9-Aug-2011::19:57:45 ===
{mochiweb_socket_server,225,{acceptor_error,{error,accept_failed}}}
[error] [<0.7496.6>] {error_report,<0.34.0>,
              {<0.7496.6>,std_error,
               [{application,mochiweb},
                "Accept failed error","{error,enfile}"]}}

=ERROR REPORT==== 9-Aug-2011::19:57:45 ===
    application: mochiweb
    "Accept failed error"
    "{error,enfile}"
[error] [<0.7496.6>] {error_report,<0.34.0>,
    {<0.7496.6>,crash_report,

 [[{initial_call,{mochiweb_socket_server,acceptor_loop,['Argument__1']}},
       {pid,<0.7496.6>},
       {registered_name,[]},
       {error_info,
           {exit,
               {error,accept_failed},
               [{mochiweb_socket_server,acceptor_loop,1},
                {proc_lib,init_p_do_apply,3}]}},
       {ancestors,

 [couch_httpd,couch_secondary_services,couch_server_sup,<0.35.0>]},
       {messages,[]},
       {links,[<0.106.0>]},
       {dictionary,[]},
       {trap_exit,false},
       {status,running},
       {heap_size,233},
       {stack_size,24},
       {reductions,202}],
      []]}}
[error] [<0.106.0>] {error_report,<0.34.0>,
    {<0.106.0>,std_error,
     {mochiweb_socket_server,225,{acceptor_error,{error,accept_failed}}}}}

Following on the Java client side.

java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at
org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:149)
at
org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:110)
at
org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:260)
at
org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:98)
at
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:252)
at
org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281)
at
org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:247)
at
org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)
at
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:298)
at
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:622)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:454)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
at
CouchChangesFeedStressTest.openConnection(CouchChangesFeedStressTest.java:46)
at CouchChangesFeedStressTest.access$0(CouchChangesFeedStressTest.java:40)
at CouchChangesFeedStressTest$1.run(CouchChangesFeedStressTest.java:29)
at java.lang.Thread.run(Unknown Source)

2011/8/8 Randall Leeds <randall.leeds@gmail.com>

> Can you show us an error message from the 500 or a snippet of the
> CouchDB log at that point?
> CouchDB by default usually has some resource limits[1] and I do not
> know if IrisCouch has changed them.
>
> -Randall
>
> [1] http://wiki.apache.org/couchdb/Performance#Resource_Limits
>
>
> On Sat, Aug 6, 2011 at 11:39, sleepnova <wanpeebaw@gmail.com> wrote:
> > Hi,
> >
> > I was watching the O'Reilly Webcast about CouchDB _changes feed
> > http://www.youtube.com/watch?v=WaH4_Hq33PI
> > and in the video (53:24) it says it's no problem for a single CouchDB
> > to handle thousands and thousands of changes request open.
> > But in my own test, both on my local and IrisCouch instance it can
> > only handles hundreds changes request before running into 500 internal
> > server error.
> >
> > Did I miss something?
> >
> > --
> > - sleepnova
> >
>



-- 
- sleepnova

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message