From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62957 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: calling ConTeXt as a background process (SOLVED) Date: Tue, 26 Oct 2010 21:28:34 +0200 Message-ID: <4CC72BE2.20901@elvenkind.com> References: <4CAD8800.2010909@elvenkind.com> <4CAD8D8A.6040802@elvenkind.com> <5A1428AE-DA31-4120-9B35-102E7B42D8AC@fiee.net> <90F33E64-7BB9-4DEB-9E89-A4FC99169401@awi.de> <48470924-D44D-4010-B895-12EA664C4D90@fiee.net> <93934DF3-21F9-4F68-99B1-75A09A7835C8@fiee.net> <67380489-10BF-4A55-8519-5BC981426F3C@awi.de> <2F3F5D5C-FA78-4EA2-885E-A6DB86880B34@fiee.net> <95274FC9-42F1-4842-9943-103608507CB4@awi.de> <21C6E902-A3A4-4C4A-A9A0-2874DA107559@fiee.net> <6221687B-B252-4B09-BE36-4868261B78E1@awi.de> <2EDDB365-D3B3-448A-B854-55F768FA791D@fiee.net> <4CAF227D.3000703@elvenkind.com> <26119B9C-134E-4106-9EA9-06 034A4DD083@fiee.net> <90D46F76-AE5F-4A42-9FDC-8FAA3CE91EEF@awi.de> <8F16AAE5-1206-43F6-B6DD-FD0F0D187E19@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288121326 30531 80.91.229.12 (26 Oct 2010 19:28:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Oct 2010 19:28:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 26 21:28:44 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PApCN-0006gP-7A for gctc-ntg-context-518@m.gmane.org; Tue, 26 Oct 2010 21:28:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 96CF8C9A7C; Tue, 26 Oct 2010 21:28:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Hj53PPdehTnn; Tue, 26 Oct 2010 21:28:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90B1ECA79B; Tue, 26 Oct 2010 21:28:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0D9E9CA79B for ; Tue, 26 Oct 2010 21:28:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oyA4dl6fQzlk for ; Tue, 26 Oct 2010 21:28:36 +0200 (CEST) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id CB23EC9A7C for ; Tue, 26 Oct 2010 21:28:36 +0200 (CEST) Original-Received: from plane.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9QJSZwu020304 for ; Tue, 26 Oct 2010 21:28:36 +0200 Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by plane.elvenkind.com (Postfix) with ESMTP id F1E0D8026A3C for ; Tue, 26 Oct 2010 21:28:34 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100919 Mandriva/3.0.8-0.1mdv2010.1 (2010.1) Thunderbird/3.0.8 In-Reply-To: <8F16AAE5-1206-43F6-B6DD-FD0F0D187E19@fiee.net> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=82.95.203.226; country=NL; region=11; city=Ameide; latitude=51.9500; longitude=4.9667; http://maps.google.com/maps?q=51.9500,4.9667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BDnvsz1H - ee6a90bf39ea - 20101026 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:62957 Archived-At: Hi Henning, On 10/08/10 21:44, Henning Hraban Ramm wrote: > Ok, the failures were the same with fcgi and gunicorn app servers. > > But it _works_ with django's dev server (which you must not use in > production due to memory/security holes etc.). We just had a somewhat similar problem (texlua hung at 100% cpu when run via apache) and it turns out, after lots of debugging, that mtxrun cannot do anything without $HOME. Perhaps yours was a different symptom of the same problem ? try this if you want to test CPU heat generation: $ env HOME= context knuth (use one process for each available cpu thread, of course) Best wishes, Taco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________