mercredi 5 mars 2014

Re: script uses up all memory topic




On Wed, Mar 5, 2014 at 5:39 PM, Chris Angelico <(E-Mail Removed)> wrote:
> On Thu, Mar 6, 2014 at 9:27 AM, Larry Martell <(E-Mail Removed)> wrote:
>> I have a script that forks off other processes and attempts to manage
>> them. Here is a stripped down version of the script:
>>
>> self.sleepTime = 300

>
> That's not a stand-alone script.


No, that is just the part that does the work (inside the 'while
true'). I'll try and post a standalone script tomorrow.

> What environment is it running in?


CentOS 6,4

> Can you reproduce the problem outside of that environment?


I will try that tomorrow.

> Also: Can you simply use multiprocessing rather than going through all
> the effort of subprocess.Popen?


Perhaps. I didn't write this. A client gave it to me and said 'figure
out why it uses up all the memory and hangs.' I've messed around with
for days and cannot see anything that would consume so much memory.





2 commentaires:

  1. Hi, this is a comment.
    To delete a comment, just log in and view the post's comments. There you will have the option to edit or delete them.

    RépondreSupprimer
  2. When it comes to the SAG TV noms, Kate Winslet, Juliana Margulies, Tina Fey, Julie Bowen and Sofia Vergara will all have many designer options -- with Winslet getting the most, of course. But Margulies always looks amazing at any awards show.

    RépondreSupprimer