Hi All I am trying to understand the behavior of localsockets in the following scenario. A process p1 writes a huge amoount of data to a AF_UNIX,DGRAM socket and exits. 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. I want to understand, if there is a mechanism in FreeBsd to take care of this leak or this is the expected behaviour and application writers should take care of this situation. Also what should be the behaviour on such a socket if shutdown or close is issued on such a socket. Any help on the behaviour on other unixes in the same scenario would also help a lot. Thanks & Regards MayankReceived on Thu Nov 24 2005 - 15:46:59 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:48 UTC