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


Groups > comp.lang.python > #19077

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!post.news.xs4all.nl!not-for-mail
Return-Path <macsmith.us@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.038
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'ubuntu': 0.04; 'predefined': 0.05; 'received:209.85.210.174': 0.13; 'received :mail-iy0-f174.google.com': 0.13; 'cores': 0.16; 'subject:skip:s 10': 0.18; 'fine,': 0.23; 'starts': 0.24; 'command': 0.24; 'seconds': 0.25; 'tried': 0.27; 'server': 0.30; 'message- id:@gmail.com': 0.33; 'to:addr:python-list': 0.33; 'there': 0.33; 'hi,': 0.34; 'uses': 0.36; 'charset:us-ascii': 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:192': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'header:Message- Id:1': 0.62; 'movie': 0.71; 'drops': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=9SJrfaSPfTkwxOQOf82BQk957RPUyMGGjN6FmyL112M=; b=B+42HBl3FfcEwB/9rD8xZNHh+7Y3YcfAVXPoM9JiOiedACHO0SJF/w2qR+QM4bpfGV vYCtHSPtZ2lovLdif3eB6EUk+b1W5O28jNkX299BwydZSN/IHcN07OX/S/VyjLXONkJQ M5GIekwIxuUBB40PW/DdUlI5Sq0KT7NvUU6vU=
From Mac Smith <macsmith.us@gmail.com>
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding quoted-printable
Subject subprocess.Popen strange bhaviour
Date Wed, 18 Jan 2012 14:44:37 +0530
To python-list@python.org
Mime-Version 1.0 (Apple Message framework v1251.1)
X-Mailer Apple Mail (2.1251.1)
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.4825.1326878086.27778.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1326878086 news.xs4all.nl 6941 [2001:888:2000:d::a6]:44557
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19077

Show key headers only | View raw


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??

--
Mac

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


Thread

subprocess.Popen strange bhaviour Mac Smith <macsmith.us@gmail.com> - 2012-01-18 14:44 +0530
  Re: subprocess.Popen strange bhaviour Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-18 09:23 +0000

csiph-web