Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #67897 > unrolled thread

Re: script uses up all memory

Started byLarry Martell <larry.martell@gmail.com>
First post2014-03-05 19:20 -0500
Last post2014-03-05 19:20 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: script uses up all memory Larry Martell <larry.martell@gmail.com> - 2014-03-05 19:20 -0500

#67897 — Re: script uses up all memory

FromLarry Martell <larry.martell@gmail.com>
Date2014-03-05 19:20 -0500
SubjectRe: script uses up all memory
Message-ID<mailman.7851.1394065648.18130.python-list@python.org>
On Wed, Mar 5, 2014 at 5:39 PM, Chris Angelico <rosuav@gmail.com> wrote:
> On Thu, Mar 6, 2014 at 9:27 AM, Larry Martell <larry.martell@gmail.com> 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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web