From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: emacsserver unstable? Date: Tue, 24 Jul 2007 22:22:58 +0200 Message-ID: References: <20070723234016.GC2967@relwi.unibe.ch> <878x95j0z7.fsf@baldur.tsdh.de> <20070724160858.GF3486@relwi.unibe.ch> <6554B8F7-CBBD-4C97-860F-2AA4C204EB45@Web.DE> <20070724190845.GG3486@relwi.unibe.ch> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1185308604 3176 80.91.229.12 (24 Jul 2007 20:23:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Jul 2007 20:23:24 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sven Bretfeld Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 24 22:23:22 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IDQud-0007vM-2O for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jul 2007 22:23:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDQuc-0001W2-8W for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jul 2007 16:23:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IDQuP-0001Vx-3J for help-gnu-emacs@gnu.org; Tue, 24 Jul 2007 16:23:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IDQuM-0001Vf-P5 for help-gnu-emacs@gnu.org; Tue, 24 Jul 2007 16:23:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDQuM-0001Vc-MP for help-gnu-emacs@gnu.org; Tue, 24 Jul 2007 16:23:02 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IDQuM-0006i8-6p for help-gnu-emacs@gnu.org; Tue, 24 Jul 2007 16:23:02 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id 72D4D8F3A7F4; Tue, 24 Jul 2007 22:23:01 +0200 (CEST) Original-Received: from [62.134.214.95] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1IDQuL-0006Lo-00; Tue, 24 Jul 2007 22:23:01 +0200 In-Reply-To: <20070724190845.GG3486@relwi.unibe.ch> X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/VAuBhkHbQb3yKNKkAflgSbDZRoHnMqTKjAW0w nxnKfCBI7JjaLbimRhneqWUQEPZDB/N2r+XJpiWiJZlj2S3BCJ LhQUBh+FosMK/yLRKEoA== X-detected-kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45999 Archived-At: Am 24.07.2007 um 21:08 schrieb Sven Bretfeld: > There are two softlinks pointing to this executable: Softlinks are found in men's trousers. You probably mean symbolic =20 links ... > > sven@kamaloka:/usr/bin$ ps aux | grep emacsclient There are more options to ps. Some can make ps to display the path =20 name of a command, or the environment in which the command runs. =46rom =20= the listed PATH value you can determine which file 'command' is. Have you thought of a ps alias like: 'ps | egrep UID\|!:1 | =20= grep -v grep' for (t)csh or 'ps | egrep UID\|${1} | grep -v =20= grep' ? > >> Do you have LD_LIBRARY or such environment variables set? Could be >> they have in an interactive session a different effect than in tool >> launched by so gadgetry. lsof can exactly show which shared library >> files are used in some process. > > Hm. At least not in my .bashrc. I'm not familiar with libraries, > sorry. The only help I knew after Google returned unintelligible > information on LD_LIBRARY, was to search for it with apt-utils-search, > to find out that none of the resulting packages is installed on my > system. Again, ps -e or such would show the process environment in which =20 command runs =96 can be a few thousand columns wide! lsof is a nice tool. It can be used as 'lsof emacs' or 'lsof -p ' > > By the way, the emacsserver seems to die only when it has no > clients. The communication works over a "socket" in the /tmp tree (lsof should =20= list it). Have you set network layer to close a socket after some =20 time? Or is there a cron job running that removes everything elder =20 than a few minutes from the /tmp tree? -- Mit friedvollen Gr=FC=DFen Pete Think of XML as Lisp for COBOL programmers. -- Tony-A (some guy on /.)