Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
If I uncomment
perl crashes withsub POE::Kernel::TRACE_EVENTS () { 1 }
If I editFaulting application perl.exe, version 0.0.0.0, faulting module perl51 +0.dll, version 0.0.0.0, fault address 0x000ee6ad.
it completes with memory usage peaking at 250mbmy $steps = 1; my $good = 1;
ok 1 - Worker(5) queued Job(58539D19-6C02-1014-81AA-B236FAD9A4AA) # # Worker(5) queued Job(58539D19-6C02-1014-81AA-B236FAD9A4AA) ok 2 - Worker(5) has started processing its 1 jobs # # Worker(5) has started processing its 1 jobs ok 3 - Worker(7) queued Job(5860A574-6C02-1014-81AA-B236FAD9A4AA) # # Worker(7) queued Job(5860A574-6C02-1014-81AA-B236FAD9A4AA) ok 4 - Worker(7) has started processing its 1 jobs # # Worker(7) has started processing its 1 jobs ok 5 - Worker(3) queued Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) # # Worker(3) queued Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) ok 6 - Worker(3) has started processing its 1 jobs # # Worker(3) has started processing its 1 jobs ok 7 - Worker(5) dequeued Job(58539D19-6C02-1014-81AA-B236FAD9A4AA) # # Worker(5) dequeued Job(58539D19-6C02-1014-81AA-B236FAD9A4AA) ok 8 - Worker(7) dequeued Job(5860A574-6C02-1014-81AA-B236FAD9A4AA) # # Worker(7) dequeued Job(5860A574-6C02-1014-81AA-B236FAD9A4AA) ok 9 - Worker(3) dequeued Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) # # Worker(3) dequeued Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) ok 10 - We successfully got the enqueue error exception ok 11 - Worker(3) has started Job(586B0280-6C02-1014-81AA-B236FAD9A4AA +) # # Worker(3) has started Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) ok 12 - Worker(3) is %20 with Job(586B0280-6C02-1014-81AA-B236FAD9A4AA +) # Worker(3) is %20 with Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) # Job(586B0280-6C02-1014-81AA-B236FAD9A4AA) failed with: Died at C:/sn +ipPOEx-WorkerPool-0.092560/t/lib/FailJob.pm line 18. ok 13 - Got the right job isa FailJob ok 14 - Worker(3) has finished processing its jobs. Complete: 0, Faile +d: 1 # # Worker(3) has finished processing its jobs. Complete: 0, Failed: 1
Summary of my perl5 (revision 5 version 10 subversion 1) configuration +: Commit id: 5348debf9fd57fc15c26529386769684fab96e57 Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=und +ef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPL +ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_R +EADFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long lo +ng', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"c:\perl\5.10.1\lib\MSWin32-x86-multi-thr +ead\CORE" -L"C:\MinGW\lib"' libpth=C:\MinGW\lib libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 +-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -l +mpr -lwinmm -lversion -lodbc32 -lodbccp32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdl +g32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_3 +2 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 libc=, so=dll, useshrplib=true, libperl=libperl510.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"c:\perl\5.10.1\lib\MSWin32- +x86-multi-thread\CORE" -L"C:\MinGW\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO Built under MSWin32 Compiled at Aug 29 2009 22:00:18 @INC: C:/perl/5.10.1/lib/MSWin32-x86-multi-thread C:/perl/5.10.1/lib C:/perl/site/5.10.1/lib/MSWin32-x86-multi-thread C:/perl/site/5.10.1/lib .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: POEx-WorkerPool-0.092560/t/01-basic.t memory usage
by Anonymous Monk on Sep 23, 2009 at 07:05 UTC | |
by Anonymous Monk on Oct 08, 2009 at 10:43 UTC |