Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 59704 invoked from network); 13 Feb 2011 15:56:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Feb 2011 15:56:21 -0000 Received: (qmail 68070 invoked by uid 500); 13 Feb 2011 15:56:19 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 67926 invoked by uid 500); 13 Feb 2011 15:56:16 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 67918 invoked by uid 99); 13 Feb 2011 15:56:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Feb 2011 15:56:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of amine.benhamza@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Feb 2011 15:56:10 +0000 Received: by iwn37 with SMTP id 37so4065393iwn.11 for ; Sun, 13 Feb 2011 07:55:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=pjnWftmL6Bl+9v3ZbW7f3twoVQkXDII+i+EFZWxF1TU=; b=C6MA+U3ZZczy3VEPoXg6k0uReTQ2KpWrWNkXl5waBbV4BmJbg7YPnaNdUWyXJC2Hb6 QYR8VkuGjGvpqBLigNmCdICBx0xdr72Z96dkKG3coBxq7/lsYQhz3wjwLNq2ETchj4P3 tK0972e/HAfQp3TtxX9t7Kf7/Pr2t+dPmjigk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=m3FKsyzAibJTVeR3xM2CSoC3uZTsVfW3myeztYAilyqgh6h1jfdFhKa3wPb0AxXiyy hMvLojLMNWyTt4bJfMVgF7itcWfTWzX/xXlQBrnabt/9YpXWtIU/CvNscIQ2VGtQ7O7Q /nPiqpiPxt74g1F9noafGGVwTIHWw9Guo2x2w= Received: by 10.231.12.2 with SMTP id v2mr2158671ibv.111.1297612549660; Sun, 13 Feb 2011 07:55:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.191.145 with HTTP; Sun, 13 Feb 2011 07:55:29 -0800 (PST) From: Amine BENHAMZA Date: Sun, 13 Feb 2011 16:55:29 +0100 Message-ID: Subject: External process - Having trouble Half the time To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0022152d7dcf14217a049c2bf7e4 --0022152d7dcf14217a049c2bf7e4 Content-Type: text/plain; charset=ISO-8859-1 Hello Guys, I'm working to launch an external process (ruby script) from couchdb. Half the time, I have this error : "error":"{noproc,{gen_server,call, (i omit the rest). The full log is here : https://gist.github.com/824762 I'm launching the external process this way : http://127.0.0.1:5984/trends_monitoring3/_rts The code I'm running aims to add a Job to Resque queue ( https://github.com/defunkt/resque) as done below : STDOUT.puts "{" + '"code":200' + "," + '"headers":{"Content-Type":"Content-Type"}' + "," + '"json":{}' + "}" module Demo Resque.enqueue(Job, params) end STDOUT.flush Did someone face this issue ? Have you any idea about what could cause this ? Thanks Amine. --0022152d7dcf14217a049c2bf7e4--