Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: How to limit resources ?by jeroenes (Priest) |
on Oct 24, 2001 at 14:03 UTC ( [id://121060]=note: print w/replies, xml ) | Need Help?? |
Process resource control is something completely done by the operating system. So your mileage may vary.
You can program yourself a form of control by monitoring
the system and kill your childs when they got too greedy.
There are several modules on CPAN for process monitoring/control. Do a CPAN search on 'proces' than 'proc' to find one that fits your OS. Jeroen Update: Did that search on CPAN and found: Proc::ProcessTable and Win32::Process. There are modules for Solaris and Mac as well.
In Section
Seekers of Perl Wisdom
|
|