Okay, it seems the 500 connection limit is coming from nxlog.h file.Is the current release compiled with NX_POLLSET_NUM 500?
Are there any instructions on how to compile nxlog on windows platform? Looking at src Nxlog.h #ifdef WIN32 // windows 2003 gives an invalid argument in apr_pollset_create if this is too large # define NX_POLLSET_NUM 500 #else # define NX_POLLSET_NUM 10000 #endif Sent from my Mobile Device! > On Feb 26, 2014, at 13:41, Shedis <she...@gmail.com> wrote: > > I configured another nxlog service with im_tcp. Reconfigured 500 clients to > this port. After 500 conn memory was approx. at 38Mb. Next I reconfigured > another 500 clients and the log starts to show the following error message. > > It seems there are two issues: > 1. When using im_tcp, once it reaches 500 connections it starts to drop any > new connections. > 2. When using im_ssl, 500 connection limit is reached but also memory seems > to leak until it reaches 2GB and then the process crashes. > > [nxlog server side] > 2014-02-26 13:20:51 INFO connection accepted from x.x.x.x:51914 > 2014-02-26 13:20:51 ERROR ### PANIC at line 2326 in > module.c/nx_module_pollset_add_socket(): "failed to add descriptor to > pollset: Not enough space ; [cannot dump backtrace on this platform]" ### > 2014-02-26 13:20:51 INFO connection accepted from x.x.x.x:64562 > 2014-02-26 13:20:51 ERROR ### PANIC at line 2326 in > module.c/nx_module_pollset_add_socket(): "failed to add descriptor to > pollset: Not enough space ; [cannot dump backtrace on this platform]" ### > 2014-02-26 13:20:51 INFO connection accepted from x.x.x.x:62912 > 2014-02-26 13:20:51 ERROR ### PANIC at line 2326 in > module.c/nx_module_pollset_add_socket(): "failed to add descriptor to > pollset: Not enough space ; [cannot dump backtrace on this platform]" ### > 2014-02-26 13:20:51 INFO connection accepted from x.x.x.x:52125 > 2014-02-26 13:20:51 ERROR ### PANIC at line 2326 in > module.c/nx_module_pollset_add_socket(): "failed to add descriptor to polls > > > And clients are not able to connect, keeps retrying. > > 2014-02-26 13:29:02 INFO connecting to MYSERVER:MYPORT > 2014-02-26 13:29:02 INFO reconnecting in 1 seconds > 2014-02-26 13:29:03 INFO connecting to MYSERVER:MYPORT > 2014-02-26 13:29:03 INFO reconnecting in 1 seconds > 2014-02-26 13:29:04 INFO connecting to MYSERVER:MYPORT > 2014-02-26 13:29:04 INFO reconnecting in 1 seconds > > Regards, > >> On Feb 26, 2014, at 10:51, Shedis <she...@gmail.com> wrote: >> >> Looking at blog server side log, I noticed that once service is started, >> 500 client connections (im_ssl) are made, and then the following appear in >> log: >> >> Do you think changing to im_tcp would help? >> >>>>> ….. >>>>> 2014-02-25 15:16:05 ERROR last message repeated 1076 times >>>>> 2014-02-25 15:16:05 ERROR ### PANIC at line 2326 in >>>>> module.c/nx_module_pollset_add_socket(): "failed to add descriptor to >>>>> pollset: Not enough space ; [cannot dump backtrace on this platform]" ### >>>>> 2014-02-25 15:16:08 ERROR last message repeated 643 times >>>>> 2014-02-25 15:16:08 ERROR ### PANIC at line 2326 in >>>>> module.c/nx_module_pollset_add_socket(): "failed to add descriptor to >>>>> pollset: Not enough space ; [cannot dump backtrace on this platform]" ### >>>>> …… >> >> >> >>> On Feb 26, 2014, at 8:47, Shedis <she...@gmail.com> wrote: >>> >>> Hi, >>> rename_field is not used. >>> I have logged the issue under ticket #35, with conf, resource monitor >>> screen shot showing memory is 2Gb. >>> >>> https://sourceforge.net/apps/trac/nxlog-ce/ticket/35 >>> >>> Currently I have set windows service to restart upon termination. >>> >>> Regards, >>> >>> >>>> On Feb 25, 2014, at 21:39, Botond Botyanszki <b...@nxlog.org> wrote: >>>> >>>> Hi, >>>> >>>> Can you please create a ticket in trac and attach your conf. >>>> https://sourceforge.net/apps/trac/nxlog-ce >>>> Are you are using rename_field()? >>>> >>>> Regards, >>>> Botond >>>> >>>> On Tue, 25 Feb 2014 20:42:50 +0200 >>>> Shedis <she...@gmail.com> wrote: >>>> >>>>> Hi, >>>>> >>>>> I’m running nxlog with its im_ssl (output type binary) on a windows 2012 >>>>> R2 box, received messages are then directed to a csv file. Client’s are >>>>> running nxlog configured to input evenltog output to om_ssl back to >>>>> server. >>>>> >>>>> I see clients are connected and messages are being written to csv files. >>>>> As messages arrive i see memory consumption of nxlog keep increasing >>>>> until it reaches 2GB and then it crashes. Following lines are visible in >>>>> nxlog on the server end. Yes the no of messages should be causing this >>>>> memory balloon. Should nxlog memory consumption be increasing this much. >>>>> what i can do overcome this situation. >>>>> >>>>> ….. >>>>> 2014-02-25 15:16:05 ERROR last message repeated 1076 times >>>>> 2014-02-25 15:16:05 ERROR ### PANIC at line 2326 in >>>>> module.c/nx_module_pollset_add_socket(): "failed to add descriptor to >>>>> pollset: Not enough space ; [cannot dump backtrace on this platform]" ### >>>>> 2014-02-25 15:16:08 ERROR last message repeated 643 times >>>>> 2014-02-25 15:16:08 ERROR ### PANIC at line 2326 in >>>>> module.c/nx_module_pollset_add_socket(): "failed to add descriptor to >>>>> pollset: Not enough space ; [cannot dump backtrace on this platform]" ### >>>>> …… >>>>> >>>>> >>>>> Regards, >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Flow-based real-time traffic analytics software. Cisco certified tool. >>>>> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >>>>> Customize your own dashboards, set traffic alerts and generate reports. >>>>> Network behavioral analysis & security monitoring. All-in-one tool. >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk >>>>> _______________________________________________ >>>>> nxlog-ce-users mailing list >>>>> nxlog-ce-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users >>>> >>>> ------------------------------------------------------------------------------ >>>> Flow-based real-time traffic analytics software. Cisco certified tool. >>>> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >>>> Customize your own dashboards, set traffic alerts and generate reports. >>>> Network behavioral analysis & security monitoring. All-in-one tool. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> nxlog-ce-users mailing list >>>> nxlog-ce-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ nxlog-ce-users mailing list nxlog-ce-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users