From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62967 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: calling ConTeXt as a background process (SOLVED) Date: Tue, 26 Oct 2010 23:32:12 +0200 Message-ID: <4CC748DC.6040201@wxs.nl> 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-06034A4DD083@fiee.net> <90D46F76-AE5F-4A42-9FDC-8F AA3CE91EEF@awi.de> <8F16AAE5-1206-43F6-B6DD-FD0F0D187E19@fiee.net> <4CC72BE2.20901@elvenkind.com> <4CC7358E.4080306@wxs.nl> <4CC74086.4090906@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288128755 872 80.91.229.12 (26 Oct 2010 21:32:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Oct 2010 21:32:35 +0000 (UTC) Cc: mailing list for ConTeXt users To: Taco Hoekwater Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 26 23:32:33 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 1PAr8D-0006mh-90 for gctc-ntg-context-518@m.gmane.org; Tue, 26 Oct 2010 23:32:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7D9CECA795; Tue, 26 Oct 2010 23:32:32 +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 xQrZ77tQ+Bv9; Tue, 26 Oct 2010 23:32:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CECF0CA77E; Tue, 26 Oct 2010 23:32:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8DE3ECA77E for ; Tue, 26 Oct 2010 23:32:28 +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 mLM6T27HIauv for ; Tue, 26 Oct 2010 23:32:26 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 46DFCC9A7C for ; Tue, 26 Oct 2010 23:32:26 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9QLWP2Z021463 for ; Tue, 26 Oct 2010 23:32:25 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by pragma-net.nl (SurgeMail 4.3g4) with ESMTP id 11490-1713362 for multiple; Tue, 26 Oct 2010 23:29:36 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.11) Gecko/20101013 Lightning/1.0b2 Thunderbird/3.1.5 ThunderBrowse/3.3.2 In-Reply-To: <4CC74086.4090906@elvenkind.com> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=11; city=Den Haag; latitude=52.0833; longitude=4.3000; http://maps.google.com/maps?q=52.0833,4.3000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DnxwpBa - e476bc02441d - 20101026 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:62967 Archived-At: On 26-10-2010 10:56, Taco Hoekwater wrote: > > > On 10/26/10 22:09, Hans Hagen wrote: >> On 26-10-2010 9:28, Taco Hoekwater wrote: >>> >>> 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 >> >> so what should HOME default to then? "."? > > Not a default is what is needed, what is needed is that it should work > without a HOME at all (server processes typically dont have one). sure, but I guess that some path specs have ~ and that we get a loop in the resolver due to this and for these patsh with ~ we need a proper default then > Let's sort this out offlist. okay Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________