You're welcome! Thanks for the patch offer, but I can wait for the next release as this was only happening in a test environment.
Cheers, Shawn -----Original Message----- From: Botond Botyanszki [mailto:[email protected]] Sent: Thursday, June 20, 2013 10:28 AM To: [email protected] Subject: Re: [nxlog-ce-users] Fatal Error starting 16 worker threads Hi, Thanks for the bugreport. Took me a while to track it down too. The bug affects windows only. Will be fixed in the next release. I can send a patch if you would like to recompile yourself. Regards, Botond On Wed, 19 Jun 2013 20:45:50 +0000 Shawn French <[email protected]> wrote: > I seem to have hit a limit in the number of worker threads that can be > started on nxlog. > > If I configure enough inputs to warrant more than 15, nxlog crashes with an > access violation (see below). > NOTE: I'm running nxlog-ce-2.4.1054 on windows - haven't verified if same is > true on unix. > > I've been able to work around this bug by explicitly specifying (limiting) > the number of threads in my conf: > Threads 15 > > Unfortunately I'm unable to login to sourceforge to log a bug, but wanted to > put this onto the list since it took me all day to track it down. > > Cheers, > Shawn > > > Here is the DEBUG output when nxlog crashes: > > 2013-06-19 15:47:22 DEBUG nxlog config OK ... > 2013-06-19 15:47:22 DEBUG jobgroup created with priority 10 > 2013-06-19 15:47:22 DEBUG jobgroup created with priority 99 > 2013-06-19 15:47:22 DEBUG spawning 16 worker threads > 2013-06-19 15:47:22 DEBUG worker thread 0 started > 2013-06-19 15:47:22 DEBUG worker thread 1 started > 2013-06-19 15:47:22 DEBUG worker thread 2 started > 2013-06-19 15:47:22 DEBUG worker thread 3 started > 2013-06-19 15:47:22 DEBUG worker thread 4 started > 2013-06-19 15:47:22 DEBUG worker thread 5 started > 2013-06-19 15:47:22 DEBUG worker thread 6 started > 2013-06-19 15:47:22 DEBUG worker thread 7 started > 2013-06-19 15:47:22 DEBUG worker thread 8 started > 2013-06-19 15:47:22 DEBUG worker thread 9 started > 2013-06-19 15:47:22 DEBUG worker thread 10 started > 2013-06-19 15:47:22 DEBUG worker thread 11 started > 2013-06-19 15:47:22 DEBUG worker thread 12 started > 2013-06-19 15:47:22 DEBUG worker thread 13 started > 2013-06-19 15:47:22 DEBUG worker thread 14 started > 2013-06-19 15:47:22 DEBUG worker thread 15 started > > *** Then it crashes with error: > Faulting application name: nxlog.exe, version: 0.0.0.0, time stamp: > 0x517fd234 Faulting module name: libapr-1-0.dll, version: 0.0.0.0, > time stamp: 0x517fd234 Exception code: 0xc0000005 Fault offset: > 0x00011a60 Faulting process id: 0x111c Faulting application start > time: 0x01ce6d25d036e97f Faulting application path: C:\Program Files > (x86)\nxlog\nxlog.exe Faulting module path: C:\Program Files > (x86)\nxlog\libapr-1-0.dll Report Id: > 0ec8449a-d919-11e2-9ce1-005056c00008 > > > If I take any one of my inputs/routes away, or, if I manually specify 15 > threads, then everything starts fine: > > 2013-06-19 15:42:28 DEBUG nxlog config OK ... > 2013-06-19 15:42:28 DEBUG jobgroup created with priority 10 > 2013-06-19 15:42:28 DEBUG jobgroup created with priority 99 > 2013-06-19 15:42:28 DEBUG spawning 15 worker threads > 2013-06-19 15:42:28 DEBUG worker thread 0 started > 2013-06-19 15:42:28 DEBUG worker thread 1 started > 2013-06-19 15:42:28 DEBUG worker thread 2 started > 2013-06-19 15:42:28 DEBUG worker thread 3 started > 2013-06-19 15:42:28 DEBUG worker thread 4 started > 2013-06-19 15:42:28 DEBUG worker thread 5 started > 2013-06-19 15:42:28 DEBUG worker thread 6 started > 2013-06-19 15:42:28 DEBUG worker thread 7 started > 2013-06-19 15:42:28 DEBUG worker thread 8 started > 2013-06-19 15:42:28 DEBUG worker thread 9 started > 2013-06-19 15:42:28 DEBUG worker thread 10 started > 2013-06-19 15:42:28 DEBUG worker thread 11 started > 2013-06-19 15:42:28 DEBUG worker thread 12 started > 2013-06-19 15:42:28 DEBUG worker thread 13 started > 2013-06-19 15:42:28 DEBUG worker thread 14 started > 2013-06-19 15:42:28 DEBUG event thread started > 2013-06-19 15:42:28 DEBUG worker 0 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 1 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 2 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 3 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 4 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 5 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 6 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 7 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 8 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 9 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 10 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 11 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 12 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 13 waiting for new event > 2013-06-19 15:42:28 DEBUG worker 14 waiting for new event > > *** and all is well. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ nxlog-ce-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ nxlog-ce-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users
