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


Groups > comp.lang.python > #19089

Re: subprocess.Popen strange bhaviour

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <chris@rebertia.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'ubuntu': 0.04; 'predefined': 0.05; 'am,': 0.12; 'cc:addr:python-list': 0.15; 'cores': 0.16; 'wrote:': 0.16; 'wed,': 0.17; 'subject:skip:s 10': 0.18; 'jan': 0.19; 'cheers,': 0.20; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'received:209.85.212.46': 0.23; 'received:mail-vw0-f46.google.com': 0.23; 'fine,': 0.23; 'starts': 0.24; 'command': 0.24; 'cc:2**0': 0.25; 'code': 0.25; 'seconds': 0.25; 'tried': 0.27; 'message-id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.29; 'server': 0.30; 'chris': 0.30; 'there': 0.33; 'received:209.85.212': 0.34; 'hi,': 0.34; 'uses': 0.36; 'post': 0.36; 'but': 0.37; 'received:google.com': 0.37; 'using': 0.37; 'happens': 0.37; 'some': 0.38; 'received:209.85': 0.38; 'received:209': 0.39; 'subject:: ': 0.39; 'your': 0.61; 'movie': 0.71; 'drops': 0.84; 'sender:addr:chris': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1XoxJFC4DtK+pD0s5Nn+BdkGq7Ja8gsyXH5eml+Cwq8=; b=KL76tPfCi5Q+oAO51oh9ToP42oPMXzibD3kTQA/DGKcdew6LajqKGGuIRfRFcb1ICS dPOxUsuMz0S0VeURrML2Ob8vjAQPQZF1mJO6vqGhNvc+ToBQHEKPPdEhTlL18DtzFhac tlQ8QmyqZ/buo+34k4Q9qjxKGsWbKgmgbE+yo=
MIME-Version 1.0
Sender chris@rebertia.com
In-Reply-To <4F7A2376-857C-4C5E-94B7-AC7170C16B48@gmail.com>
References <4F7A2376-857C-4C5E-94B7-AC7170C16B48@gmail.com>
Date Wed, 18 Jan 2012 08:00:36 -0800
X-Google-Sender-Auth K30SdLboo6_HOnqJBJOdNNaI6Ek
Subject Re: subprocess.Popen strange bhaviour
From Chris Rebert <clp2@rebertia.com>
To Mac Smith <macsmith.us@gmail.com>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4835.1326902439.27778.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1326902439 news.xs4all.nl 6941 [2001:888:2000:d::a6]:56740
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19089

Show key headers only | View raw


On Wed, Jan 18, 2012 at 1:14 AM, Mac Smith <macsmith.us@gmail.com> wrote:
> Hi,
>
> I am using subprocess.Popen to start a movie ripping command HandBrakeCLI. My server is 64bit ubuntu server and has 8 cores. When the command starts it uses all 8 cores upto 80%-100% and works fine, but after 270 seconds the cpu usage of all the cores drops to 0% - 1%. I tried this many time this happens exactly after 270 seconds. Is there some predefined timeout??

Please post the part of your code that uses subprocess.Popen().

Cheers,
Chris

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: subprocess.Popen strange bhaviour Chris Rebert <clp2@rebertia.com> - 2012-01-18 08:00 -0800

csiph-web