Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Beating the system

by Aristotle (Chancellor)
on Sep 29, 2002 at 18:20 UTC ( [id://201578]=note: print w/replies, xml ) Need Help??


in reply to Re: Re^2: Beating the system
in thread Beating the system

I meant "would", because I said "under 35kb", in which case, as the original poster says, files upload correctly. It doesn't make sense that he hits a filehandle limit for large but not small files.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re^4: Beating the system
by diotalevi (Canon) on Sep 29, 2002 at 18:33 UTC

    Either I'm addled from cleaning dog poo (I was cleaning up a mess just now) and I've forgotten how to read English or you forgot a 'not'. You said that it would not make sense for there to be enough handles if the file size is under 35KB. I'm not sure what quantities of file handles have to do with file size anyway but that's separate. I always thought a single file handle can take any fize file absent any restrictions the OS has.

    So... if I'm addled don't bother responding. It won't help.

      Exactly your question was mine. Files under 35kb upload perfectly for the poster, larger files don't. As there are sufficient filehandles to upload small files, there must also be enough to upload large ones. Right?

      Makeshifts last the longest.

        So... if the problem was locked memory (I think there might be some other restrictions that mkie either doesn't know about or didn't think of) then how would a perl user know that it had been exceeded? I'm hoping that more sysadminly people will know the answer since while this isn't a problem I have - it might happen later since you never know when you're going to end up with a restrictive environment. Some form of signal trapping?

        mikeirw - that's an idea worth trying. Install some signal traps and see if you can find out what's killing your process that way. Check out the perlipc for more details on the how that works. I'm thinking that if you can just do something like $SIG{SOMETHING} = sub { print "SIGSOMETHING triggered" } to minimally instrument your program.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-29 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found