Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Perl interpreter stops when writing logfile - why?

by Ratazong (Monsignor)
on Dec 09, 2014 at 14:37 UTC ( [id://1109741]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl interpreter stops when writing logfile - why?
in thread Perl interpreter stops when writing logfile - why?

Dear LanX, Corion and Anonymous Monk!

Thanks for your suggestions! Here are some results of my tests:

  • It is depending on the perl-version ... perl 5.14.2 works without problems
  • It really seems to depend on the size of the dump - the result is the same independently if I write directly to the logfile or if I redirect
  • Even with dumping the data in a loop (with redirection), the same error occured (there might be a problem that the perl-script writes the data faster than it could be processed ...)
Summary: I "solved" the problem by reducing the amount of debugging-info, and by using a newer perl-version when all data is really needed. Your comments helped me reaching this solution :-) .

Thanks a lot! Rata

  • Comment on Re^2: Perl interpreter stops when writing logfile - why?

Replies are listed 'Best First'.
Re^3: Perl interpreter stops when writing logfile - why?
by LanX (Saint) on Dec 09, 2014 at 15:32 UTC
    > Even with dumping the data in a loop 

    Maybe try to sleep or usleep between iterations ... just to nail down the original problem. :)

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1109741]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-18 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found