[ace-users] Question about Proactor

Douglas C. Schmidt d.schmidt at vanderbilt.edu
Wed Dec 20 16:34:04 CST 2017


Hi Silvano,

> I have a question about the proactor.

Thanks very much for your email.  Please make sure to send all questions
related to ACE to the appropriate mailing list or newsgroup, rather than
to me directly since I travel frequently and often don't have ready
access to email.  See

http://www.dre.vanderbilt.edu/~schmidt/ACE-mail.html

for more info on how to access these resources.

In addition, to ensure that we have proper version/platform/compiler
information, please make sure you fill out the appropriate problem
report form (PRF), which is in

$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM

or in

$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM

in older versions of ACE.  Make sure to include this information when
asking any questions since otherwise we have to "guess" what
version/platform/compiler/options you've using, which is very
error-prone and slows down our responsiveness.  If you don't use the
PRF, therefore, it is less likely that someone from the core developer
team will be able to answer your question.  Naturally, we encourage and
appreciate other members of the ACE user community who can respond to
questions that they have the answers to.

Please note, moreover, that the DOC group at Vanderbilt University
only provides "best effort" support for non-sponsors who are using the
latest release, as described in

http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html

Therefore, please make sure you are using ACE 6.4.6, which you can
download from

http://download.dre.vanderbilt.edu

If you need more "predictable" help or need help for earlier versions
of ACE please see

http://www.dre.vanderbilt.edu/support.html

for a list of companies that will provide you with ACE+TAO+CIAO+DAnCE
commercial support.

> We have developed a server application that manages tcp connections.
> 
> When our server application sends a large amount of data via tcp to
> very slow client applications, we have a high memory consumption.
> Therefore, we need to monitor memory consumption in real time. Is
> there a way to monitor the level of memory consumption in the
> Proactor?
> 
> Below our proactor snipped code:
> 
> ...
> TRB_POSIX_Proactor *proactor_impl;
> TRB_Proactor *proactor;
> 
> size_t max_op  = 0;
> int sig_num    = 0;
> int leader_flg = 0;
> 
> ACE_NEW_NORETURN(proactor_impl, TRB_Event_Poll_Proactor(max_op, sig_num,
> leader_flg));
> ACE_NEW_NORETURN(proactor, TRB_Proactor(proactor_impl, 1));
> ...

Have you checked out:

https://elinux.org/Runtime_Memory_Measurement

https://stackoverflow.com/questions/131303/how-to-measure-actual-memory-usage-of-an-application-or-process

Doug


More information about the ace-users mailing list