On Tue, Aug 16, 2011 at 06:24:08PM +0300, about bus wrote:
> On Tue, Aug 16, 2011 at 6:08 PM, Mark Ellzey wrote:
>
> > OK, this makes sense. there have been issues with kqueue being broken on
> > older
> > versions of libevent (a while back, with 1.x), try falling back to either
> > poll or
> > s
On Tue, Aug 16, 2011 at 6:08 PM, Mark Ellzey wrote:
> OK, this makes sense. there have been issues with kqueue being broken on
> older
> versions of libevent (a while back, with 1.x), try falling back to either
> poll or
> select for now to see if it works. I still need to know what version of
>
On Tue, Aug 16, 2011 at 05:59:19PM +0300, about bus wrote:
> I've added debug output to next libevent functions:
> * event_add - add file descriptor to kqueue for monitoring network activity.
> * kq_dispatch - return file descriptor when event appeared on it.
>
> ### Previous request which used th
On Tue, Aug 16, 2011 at 09:47:07AM -0500, Mark Ellzey wrote:
> On Tue, Aug 16, 2011 at 12:28:21PM +0300, about bus wrote:
> > No, I don't, because they output very huge, and I don't know what exactly I
> > should looking there.
>
> I think I have missed asking some basic questions.
>
> - What ve
On Thu, Aug 11, 2011 at 9:19 PM, about bus wrote:
> Hello!
>
> I have a simple my own libevent-based http server written on C, use
> evhttp.h functions.
> I use it like backend with nginx server (about ~2K requests per second).
> Sometimes in nginx error log appears error: "(60: Operation timed o
On Mon, Aug 15, 2011 at 01:53:18PM +0300, about bus wrote:
> Http server use only libevent http functions for network communication.
>
> evthread_use_pthreads;
So the webserver is threaded?
> event_base_new
> evhttp_new
> evhttp_set_gencb
> evhttp_bind_socket
> while (1) {
>event_base_loop
>
On Tue, Aug 16, 2011 at 12:28:21PM +0300, about bus wrote:
> No, I don't, because they output very huge, and I don't know what exactly I
> should looking there.
I think I have missed asking some basic questions.
- What version of libevent are you using?
- What operating system and event backend
On Tue, Aug 16, 2011 at 4:51 AM, Mark Ellzey wrote:
> On Sun, Aug 14, 2011 at 04:15:10PM +0300, about bus wrote:
> > I've checked this, domain name resolution does not take much time.
> > Issue somewhere between end of evhttp_socket_cb and start of
> evhttp_read_cb
> > functions calls.
> >
> > 20