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 each drone process 2 sites in serial, one after the other?

I've seen some pretty large perl processes on very simillar spec machines as
yours.

Marty

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: Wednesday 21 March 2001 16:00
> To: [EMAIL PROTECTED]
> Subject: [Perl-unix-users] memory usage of perl processes
>
>
> 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" to process 100 concurrent sites.  Each drone will
> need a connection to the database.  In doing some impromptu testing I've
> had the following results...
>
> Writing a queen, who does nothing, and sets nothing (no variables or
> filehandles are open)  except fork off drones, and writing a
> drone who only
> connects to the database and nothing else had the following
> results on this
> machine config:
>
> RedHat Linux 6.2, PIII 600, 256MB RAM, 256MB Swap - Anything more than 55
> drones and the system is entirely out of memory.
>
> Is Perl really using that much memory?  There is approx 190MB of RAM free,
> and nearly ALL the swap space free when I kick off the Queen process.
>
> Do there results seem typical?  Is there any way to optimize this?
>
> Thanks
>
> Chuck
>
>
>
> _______________________________________________
> Perl-Unix-Users mailing list. To unsubscribe go to
> http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to