I'm sure this comes up frequently, so I apoligize...
I am designing a system to process almost 4000 remote sites in a nightly
sweep. This process is controlled from a database which maintains site
status in realtime (or at least that's the goal). I am attempting to fork
off around 100 "drones"
>I guess you could use 'top' in a unix window.
>
>Then kick off 1 drone only and look at the memory usage. Then * it by the
>number of processes you expect.
>55 is a lot of processes On Any unix system.
>
>Perhaps you could stagger the number of processes. so maybe spawn 30
drones
>and have
Jeremy,
>Greetings...
>
>I do something similar, pulling across 400+ log files, 3GB+ total size
every
>night. However, I am using considerably fewer drones than you. We found
>that we reached a saturation point long before that. Disk I/O and network
>I/O both became bottlenecks before we re
Hello all,
Can anyone give an example of how to use IPC::Semaphore to cause a process
to "wait" until another process has finished. I don't see a "lock" or
"unlock" call in there, and that's what I've always thought was the way to
do it.
Also, I see that IPC::Semaphore allows you to get the PID
Hello all,
Can anyone out there point me to a decent Perl based event driven
programming tutorial?
Something maybe using Event.pm, EventServer, POE, or some other such thing
in a real world context?
Or even better, a "roll your own" event handling example using none of the
above, I'd like to kn
This may be a stupid question, or possibly one not even dealing with perl.
But can anyone point me to a way to make a UDP broadcast server?
I mean a true broadcast, or a "one to many" transmission. Is there a
special flag to pass to IO::Socket to make packets replicate across the
network? I've
>[EMAIL PROTECTED] wrote:
>>
>> This may be a stupid question, or possibly one not even dealing with
perl.
>> But can anyone point me to a way to make a UDP broadcast server?
>>
>> I mean a true broadcast, or a "one to many" transmission. Is there a
>> special flag to pass to IO::Socket to make
I'm running a nightly job to fork off several FTP sessions to retrieve
files. The job spawns off ~100 FTP "Drones" and hits about 3700 sites
across our WAN. Twice it has become "hung" when one FTP drone refused to
die. Looking in the drones log showed it had just requested an FTP GET
($ftp->get
Craig,
Take a look at File::Find.
it allows you to have a subroutine called for each file encountered in a
directory tree. You can then build a hash of file extensions and increment
the size in there.
the documentation is quite good, play with it for a little bit and you
should have your scri