What is the correct behaviour for local socket(AF_UNIX) in the following scenario?

Mayank Kumar mayank at microsoft.com
Fri Nov 25 05:34:59 GMT 2005


I have not measured this leak.
This is just my feeling that the behaviour would be like
this. If the behavior is not this way, then how do we take
account of this in FREEBSD is what I want to know. 
I mean, if p1 has written data and exits and there
is no p1 to read it, then what happens to the data
written by p1.


Regards
Mayank

-----Original Message-----
From: Joseph Koshy [mailto:joseph.koshy at gmail.com] 
Sent: Thursday, November 24, 2005 11:38 PM
To: Mayank Kumar
Cc: freebsd-current at freebsd.org
Subject: Re: What is the correct behaviour for local socket(AF_UNIX) in
the following scenario?

> Now if there is no process p2 to read the data written by process p1 
> from the same localsocket, then this has resulted in a huge memory 
> leak on a FreeBSD system.

How are you measuring the 'leak', and which version of FreeBSD are you
using?

--
FreeBSD Volunteer,     http://people.freebsd.org/~jkoshy


More information about the freebsd-current mailing list