On Fri, Mar 28, 2003 at 09:03:54PM +0100, Sebastian Freund wrote: > Hi! > > Rocco Caputo wrote: > > I can't see anything obviously wrong in the bits of code you posted. > > Is it possible for you to post a small yet complete and runnable test > > case that exhibits the problem? > > Yes, of course. > The appended code shows the problem. > > On my machine it creates the following output:
[...] Thanks for the test case. After modifying the ps flags for FreeBSD, I get: 2) eyrie:~/perl/support% perl sebastian-run-leak.perl Job started! 2: RSS 2: 5980 Job closed! Job started! 3: RSS 3: 5984 Job closed! [...] Job started! 29: RSS 29: 5984 Job closed! Job started! 30: RSS 30: 5952 Job closed! [...] Job started! 495: RSS 495: 5952 Job closed! Job started! 496: RSS 496: 5948 Job closed! [...] Job started! 657: RSS 657: 5948 Job closed! And that's where I ended it. I don't doubt that you're encountering a problem, but it seems to be highly dependent on your environment. At this point I'm inclined to look towards other causes than POE. For reference, I've included uname -a and perl -V output. -- Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/ 2) eyrie:~/perl/support% uname -a FreeBSD eyrie.homenet 4.7-STABLE FreeBSD 4.7-STABLE #3: Mon Feb 24 18:27:44 EST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RC20030210 i386 2) eyrie:~/perl/support% perl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=freebsd, osvers=4.3-rc, archname=i386-freebsd uname='freebsd eyrie.homenet 4.3-rc freebsd 4.3-rc #0: wed apr 11 01:15:54 edt 2001 [EMAIL PROTECTED]:usrobjusrsrcsysrc20010411 i386 ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include', optimize='-O2 -g', cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.3 [FreeBSD] 20010315 (release)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-E -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lm -lc -lcrypt -liconv -lutil perllibs=-lm -lc -lcrypt -liconv -lutil libc=, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-DPIC -fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING USE_LARGE_FILES Built under freebsd Compiled at Apr 16 2001 12:18:12 %ENV: PERL5LIB="/home/troc/perl/poe" @INC: /home/troc/perl/poe /usr/local/perl-561-single/lib/i386-freebsd /usr/local/perl-561-single/lib /usr/local/perl-561-single/site-lib/i386-freebsd /usr/local/perl-561-single/site-lib /usr/local/perl-561-single/site-lib . 2) eyrie:~/perl/support%
