[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pid leakage in LilyPond

From: Graham Percival
Subject: Re: pid leakage in LilyPond
Date: Mon, 1 Feb 2010 21:40:11 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

On Mon, Feb 01, 2010 at 10:36:46PM +0100, James Bailey wrote:
> On 01.02.2010, at 21:27, Patrick Karl wrote:
>> When I enter music, I incrementally compile it as I go.  
>> I do my work on a Mac running OS 10.4.  There are a fixed number of 
>> pids available for all the programs running on the Mac.

> Excuse my ignorance, but what is this about a fixed number of pids  
> available for all the programs?

He *might* be right about that -- certain OSes have a fixed limit,
say 32,767 pids in use at once.

> I noticed that the pid's 
> were in the 20,000 range. I would assume that they just keep counting up, 

After a while, the OS will start re-using old pids which are no
longer in use.  I've seen numbers in the 30,000 range, but I can't
recall seeing anything over 32,767.  And I definitely *have* seen
newer programs running with a pid in the hundreds, despite having
other programs in the 20,000 still running.

In short, this is exactly the way that unix programs are supposed
to act.

- Graham

reply via email to

[Prev in Thread] Current Thread [Next in Thread]