Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Perl - Linux - Unable to Write Files

by pvaldes (Chaplain)
on Mar 12, 2015 at 22:27 UTC ( #1119885=note: print w/replies, xml ) Need Help??

in reply to Perl - Linux - Unable to Write Files

Script stops processing after 138 files

If this is a fixed number, sounds like maybe you are running out of filehandles (but 138 is not too much), or maybe running out of memory. Just my two cents. Check your ulimit

Updated: You could be able to open more files if needed using a cache. This should not be necessary, but take a look to Cache::Cache or CHI

  • Comment on Re: Perl - Linux - Unable to Write Files

Replies are listed 'Best First'.
Re^2: Perl - Linux - Unable to Write Files
by Anonymous Monk on Mar 13, 2015 at 05:11 UTC
    sorry, i could not post the exact compiling code. The issue was that disk was full after 138 files. However i also found an issue with my code, where when i split the file, i am not doing close FILEHNDL

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2019-10-15 06:02 GMT
Find Nodes?
    Voting Booth?