Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.037 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'output': 0.05; 'suddenly': 0.07; 'received:151': 0.09; 'python': 0.11; 'all,': 0.19; 'trying': 0.19; 'advance.': 0.19; 'header:User-Agent:1': 0.23; '(or': 0.24; 'script': 0.25; '[1]': 0.29; "i'm": 0.30; 'lines': 0.31; 'running': 0.33; 'but': 0.35; 'there': 0.35; 'processed': 0.36; 'should': 0.36; 'starting': 0.37; 'christian': 0.38; 'thank': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'read': 0.60; 'deleting': 0.60; 'dear': 0.65; 'again?': 0.84 X-Greylist: Passed host: 37.201.128.132 X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-07.arcor-online.net 2E6C5107A67 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1401418031; bh=4Njknpm+gSkfZX9UvDISI5K9+E8QaSgCkXulR/mOarU=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=dMsAV/NLD7YyiqaU2XjNqMbbxXsERqmX14MZlF8HXn7M15i6FZf3d8GoBdk7LmlXZ k/BUSUoyAQm1mv38P086rpyGwXG9reqAldlz/n3FEMQUpCMWWtpG5Ors8Vl5wf1eHQ L4+w+k4IvGa9pZRDbxbGWHBm3tzBtohra/4jPEKw= Date: Fri, 30 May 2014 04:47:10 +0200 From: Chris User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: python-list@python.org Subject: Script suddenly stops Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 30 May 2014 08:01:02 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1401429663 news.xs4all.nl 2849 [2001:888:2000:d::a6]:35679 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:72277 Dear All, I'm trying to read ten 200 MB textfiles into a MySQL MyISAM database (Linux, ext4). The script output is suddenly stopping, while the Python process is still running (or should I say sleeping?). It's not in top, but in ps visible. Why is it stopping? Is there a way to make it continue, without calling "kill -9", deleting the processed lines and starting it again? Thank you in advance. [1] http://pastebin.com/CxHCA9eB -- Christian