ysgtlacuicedu via rt veyjhbyfbuaeanjperlorg new ticket created ysgtlacuicedu please include string perl 45981 subject line future correspondence issue bug report perl ysgtlacuicedu generated help perlbug 135 running perl v588 please enter report following simple program leak memory make sure nothing listening localhost1220 watch resident size grow quickly please advise workaround thank michal usrbinperl use warnings use strict use socket qwdefault ipproto_tcp tcp_nodelay sigpipe ignore 1 sock undef socketsock pf_inet sock_stream getprotobynametcp die error socket failed n remoteaddr sockaddr_in1220 inet_atonlocalhost die error sockaddr_in failed n connectsock remoteaddr sendsock hello theren 0 else print connect status n shutdownsock2 print debug shutdown status n closesock print debug close status n please change anything line flags categorycore severityhigh site configuration information perl v588 configured debian project wed dec 6 231741 utc 2006 summary perl5 revision 5 version 8 subversion 8 configuration platform osnamelinux osvers26183 archnamei486linuxgnuthreadmulti unamelinux saens 26183 1 smp sat nov 25 133952 est 2006 i686 gnulinux config_argsdusethreads duselargefiles dccflagsddebian dcccdlflagsfpic darchnamei486linuxgnu dprefixusr dprivlibusrshareperl58 darchlibusrlibperl58 dvendorprefixusr dvendorlibusrshareperl5 dvendorarchusrlibperl5 dsiteprefixusrlocal dsitelibusrlocalshareperl588 dsitearchusrlocallibperl588 dman1dirusrsharemanman1 dman3dirusrsharemanman3 dsiteman1dirusrlocalmanman1 dsiteman3dirusrlocalmanman3 dman1ext1 dman3ext3perl dpagerusrbinsensiblepager uafs ud_csh uusesfio uusenm duseshrplib dlibperllibperlso588 dd_dosuid des hintrecommended useposixtrue d_sigactiondefine usethreadsdefine use5005threadsundef useithreadsdefine usemultiplicitydefine useperliodefine d_sfioundef uselargefilesdefine usesocksundef use64bitintundef use64bitallundef uselongdoubleundef usemymallocn bincompat5005undef compiler cccc ccflags d_reentrant d_gnu_source dthreads_have_pids ddebian fnostrictaliasing pipe iusrlocalinclude d_largefile_source d_file_offset_bits64 optimizeo2 cppflagsd_reentrant d_gnu_source dthreads_have_pids ddebian fnostrictaliasing pipe iusrlocalinclude ccversion gccversion412 20061115 prerelease debian 41120 gccosandvers intsize4 longsize4 ptrsize4 doublesize8 byteorder1234 d_longlongdefine longlongsize8 d_longdbldefine longdblsize12 ivtypelong ivsize4 nvtypedouble nvsize8 off_toff_t lseeksize8 alignbytes4 prototypedefine linker libraries ldcc ldflags lusrlocallib libpthusrlocallib lib usrlib libslgdbm lgdbm_compat ldb ldl lm lpthread lc lcrypt perllibsldl lm lpthread lc lcrypt libcliblibc236so soso useshrplibtrue libperllibperlso588 gnulibc_version236 dynamic linking dlsrcdl_dlopenxs dlextso d_dlsymunundef ccdlflagswle cccdlflagsfpic lddlflagsshared lusrlocallib locally applied patches inc perl v588 homesaahbsperl etcperl usrlocallibperl588 usrlocalshareperl588 usrlibperl5 usrshareperl5 usrlibperl58 usrshareperl58 usrlocallibsite_perl environment perl v588 homehomesaahbs lang unset languageen_usen_gben lc_ctypepl_pl ld_library_path unset logdir unset pathhomesaahbsbinusrlocalbinusrbinbinusrbinx11usrgames perllibhomesaahbsperl perl_badlang unset shellbinbash michal sabala 10 types research programmer system administrator people world lacncdm university illinois chicago understand binary tel 3129969546 dont tue 05 aug 2008 011703 0700 perl 45981 socket memory leak test case