> Maybe it would suffice to deallocate free-list memory as soon
> as a large enough portion of it is unused?
This is not the current design, but this could be considered. The
problem will be of course deciding how long to wait and how much
to return to pool. Otherwise, as soon as you return it to pool a
client might come along and ask for it again, and you have not
gained as much by going to a free list. One possibility would be
to maintain an independent free list for each client that
connects thereby return all of what the client requested to pool
when he disconnects. That wouldn't work very well when there are
poorly behaved clients that continuously connect and disconnect.
Jeff
> -----Original Message-----
> From: Benjamin Franksen [mailto:[email protected]]
> Sent: Thursday, May 12, 2005 2:51 PM
> To: [email protected]
> Subject: Re: excessive ioc memory utilization
>
> On Wednesday 11 May 2005 01:13, Jeff Hill wrote:
> > > The culprit was a misbehaving channel access client.
> Somehow
> > > it connected tens of thousands of channels which increased
> the
> > > memory usage by CA. When it was stopped the memory on the
> > > IOC was not returned.
> >
> > [...]
> > > Is this the expected behavior of CA?
> >
> > Yes CA uses free lists by design, and CA does not implement
> > quotas to stop a badly behaved client application from
> > introducing unacceptable load should it create too many
> channels,
> > subscriptions, etc.
>
> Maybe it would suffice to deallocate free-list memory as soon
> as a large
> enough portion of it is unused?
>
> Ben
- References:
- Re: excessive ioc memory utilization Benjamin Franksen
- Navigate by Date:
- Prev:
build base 3.14.7 on Windows XP under cygwin Vladimir Sirotenko
- Next:
RE: build base 3.14.7 on Windows XP under cygwin Jeff Hill
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: excessive ioc memory utilization Benjamin Franksen
- Next:
errlogPrintf in OSD implementation Jun-ichi Odagiri
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|