Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > memory leak in 5.8.2???

Reply
Thread Tools

memory leak in 5.8.2???

 
 
joe.cipale@radisys.com
Guest
Posts: n/a
 
      03-22-2005
I have an application written in Perl/tk that will write a small file
(~128 bytes) to disk. At random intervals, the application is unable to
write ti the disk. No error message is given, the write file is
executed but the trap 'or die...' is not. The OS is RedHat 7.2.

I have checked the amount of disk space (~85% in use of a 40GB HDD) and
this tells me that it isn't a disk spave issue. If I shutdown and let
the server sit for about 20 minutes, then boot it back up, the system
will allow files to be written to disk once again. A couple of possible
explanations have come up:
1 - The OS is runnung out of file handles.
2 - There is a (possible) memory in perl 5.8.x

Has anyone seen this behaviour before?

TIA,

Joe

 
Reply With Quote
 
 
 
 
xhoster@gmail.com
Guest
Posts: n/a
 
      03-23-2005
"" <> wrote:
> I have an application written in Perl/tk that will write a small file
> (~128 bytes) to disk. At random intervals, the application is unable to
> write ti the disk. No error message is given,


If no error messages are given, then how do you know that the application
is unable to write to the disk?

> the write file is
> executed but the trap 'or die...' is not. The OS is RedHat 7.2.


It is clear what you mean by this. Show us the code that this sentence
is supposed to describe.

Xho

--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
 
Reply With Quote
 
 
 
 
xhoster@gmail.com
Guest
Posts: n/a
 
      03-23-2005
"" <> wrote:
> I have an application written in Perl/tk that will write a small file
> (~128 bytes) to disk. At random intervals, the application is unable to
> write ti the disk. No error message is given,


If no error messages are given, then how do you know that the application
is unable to write to the disk?

> the write file is
> executed but the trap 'or die...' is not. The OS is RedHat 7.2.


It is not clear what you mean by this. Show us the code that this sentence
is supposed to describe.

Xho

--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
 
Reply With Quote
 
joe.cipale@radisys.com
Guest
Posts: n/a
 
      03-28-2005
To all who replied,

Thanks for your advice. It turns out their was a code condition that
was not being performed properly based on a decision tree I had
implemented. The crummy thing was it took 3 of us nearly a week to find
it.

The offending code has been removed and shelved for the time being,
pending a design rewwork.

Joe

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory leak even after deleting memory pointers from vector cham C++ 5 09-25-2008 10:30 AM
Leak or no leak ?? Richard Heathfield C Programming 4 07-10-2006 11:37 AM
Dynamic memory allocation and memory leak... s.subbarayan C Programming 10 03-22-2005 02:48 PM
Memory leak??? (top reporting high memory usage under Solaris) Mark Probert Ruby 4 02-09-2005 06:13 PM
Wireless Zero Configuration Memory Leak?? =?Utf-8?B?Umlja3NjaHVsdHox?= Wireless Networking 3 01-19-2005 11:26 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57