Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl - Linux - Unable to Write Files

by pvaldes (Chaplain)
on Mar 12, 2015 at 22:27 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (9)
As of 2024-04-24 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found