memory leak in 5.8.2???

J

joe.cipale

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
 
X

xhoster

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
 
X

xhoster

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
 
J

joe.cipale

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top