in reply to Re: Re: IO::Handle slowdowns?
in thread IO::Handle slowdowns?

Update: none of below applies, since Windows doesn't use glibc.

What OS is this? I wonder if you are hitting the pathological-free bug with an older glibc.

Update: the bug I'm thinking of is in glibc 2.2.x where free calls will suddenly start taking an enormous amount of time and cpu. If I understand correctly, the malloc library was rewritten for glibc 2.3 and the problem no longer exists there. If you have a glibc 2.2.x, make sure perl is built to use it's own malloc (Configure with -Dusemymalloc) or upgrade to a newer glibc.

Replies are listed 'Best First'.
Re: Re: Re: Re: IO::Handle slowdowns?
by mpaduano (Initiate) on Feb 03, 2004 at 18:14 UTC
    We are using Windows XP/2000/2003 and Active State 5.6.1 build 635.

    interesting comment since we are definitely linking to something other than the malloc() in glibc x.y

    I have someone trying my test programs on some unix boxes and if I am lucky, the bug will be reproducible and perhaps a tool like strace/ltrace/truss will help!

    matt