all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Sven Bretfeld <sven.bretfeld@gmx.ch>
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacsserver unstable?
Date: Tue, 24 Jul 2007 22:22:58 +0200	[thread overview]
Message-ID: <C6A3F1E5-1912-4A20-8FF3-72F365599A05@Web.DE> (raw)
In-Reply-To: <20070724190845.GG3486@relwi.unibe.ch>


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  
links ...

>
> sven@kamaloka:/usr/bin$ ps aux | grep emacsclient

There are more options to ps. Some can make ps to display the path  
name of a command, or the environment in which the command runs. From  
the listed PATH value you can determine which file 'command' is.

Have you thought of a ps alias like: 'ps <options> | egrep UID\|!:1 |  
grep -v grep' for (t)csh or 'ps <options> | egrep UID\|${1} | grep -v  
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  
command runs – can be a few thousand columns wide!

lsof is a nice tool. It can be used as 'lsof emacs' or 'lsof -p <pid>'

>
> 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  
list it). Have you set network layer to close a socket after some  
time? Or is there a cron job running that removes everything elder  
than a few minutes from the /tmp tree?

--
Mit friedvollen Grüßen

   Pete

Think of XML as Lisp for COBOL programmers.
                               -- Tony-A (some guy on /.)

  reply	other threads:[~2007-07-24 20:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-23 23:40 emacsserver unstable? Sven Bretfeld
2007-07-24 13:44 ` Sven Bretfeld
     [not found] ` <mailman.3864.1185284692.32220.help-gnu-emacs@gnu.org>
2007-07-24 15:05   ` Tassilo Horn
2007-07-24 16:08     ` Sven Bretfeld
2007-07-24 17:44       ` Peter Dyballa
2007-07-24 19:08         ` Sven Bretfeld
2007-07-24 20:22           ` Peter Dyballa [this message]
2007-07-24 21:46             ` Lennart Borgman (gmail)
2007-07-24 21:50               ` Peter Dyballa
2007-07-24 22:01             ` Sven Bretfeld
2007-07-24 22:47               ` Peter Dyballa
2007-07-25 13:43         ` Sven Bretfeld
2007-07-25 15:13           ` Sven Bretfeld
2007-07-25 23:43           ` Sven Bretfeld
     [not found]           ` <mailman.3990.1185406991.32220.help-gnu-emacs@gnu.org>
2007-07-26  8:22             ` Tassilo Horn
     [not found] <mailman.3828.1185234040.32220.help-gnu-emacs@gnu.org>
2007-07-24  7:48 ` Tassilo Horn
2007-07-24  9:09   ` Sven Bretfeld
     [not found]   ` <mailman.3845.1185268221.32220.help-gnu-emacs@gnu.org>
2007-07-25  5:59     ` Stefan Monnier
2007-07-26 13:26       ` Sven Bretfeld
2007-07-26 18:27         ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C6A3F1E5-1912-4A20-8FF3-72F365599A05@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sven.bretfeld@gmx.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.