[ace-users] REgarding ACE_Asynch_Acceptor

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Tue Jun 19 01:45:08 CDT 2007


Hi KrishnaKumar,

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+TAO.  Make sure to include this information
when asking any questions about ACE+TAO 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
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers
to.

Thanks,

        Doug


>I have written a TCP server using Asynchronous I/O in Windows 2003, SP1.
>The server works for some time in without issues, but after sometime,
>the ACE_Asynch_Acceptor::make_handler() method throws exception while
>creating the handler object, though there is enough memory available in
>the system. I have overridden the Asynch_Acceptor's handle_connect
>method to print some log messages. I have also overridden the handler's
>open and addresses method and both methods has a log message as the
>first statement. This message has never got into the log file once the
>issues crops up.
>
>=20
>
>Has anyone faced such problems? Since we are having this problem for
>quite sometime I would like to get some pointers as to where to look
>into for this issue or if there is any problems with windows 2003 SP1.
>
>=20
>
>Thanks in advance,
>
>Regards,
>
>KrishnaKumar
>
>
>
>DISCLAIMER:
>This email (including any attachments) is intended for the sole use of =
>the intended recipient/s and may contain material that is CONFIDENTIAL =
>AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or =
>copying or distribution or forwarding of any or all of the contents in =
>this message is STRICTLY PROHIBITED. If you are not the intended =
>recipient, please contact the sender by email and delete all copies; =
>your cooperation in this regard is appreciated.
>
>------_=_NextPart_001_01C7B239.0CBD6016
>Content-Type: text/html;
>	charset="us-ascii"
>Content-Transfer-Encoding: quoted-printable
>
><html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
>xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
>xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
>xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
>xmlns=3D"http://www.w3.org/TR/REC-html40">
>
><head>
><meta http-equiv=3DContent-Type content=3D"text/html; =
>charset=3Dus-ascii">
><meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
><style>
><!--
> /* Font Definitions */
> @font-face
>	{font-family:"Cambria Math";
>	panose-1:2 4 5 3 5 4 6 3 2 4;}
>@font-face
>	{font-family:Calibri;
>	panose-1:2 15 5 2 2 2 4 3 2 4;}
> /* Style Definitions */
> p.MsoNormal, li.MsoNormal, div.MsoNormal
>	{margin:0in;
>	margin-bottom:.0001pt;
>	font-size:11.0pt;
>	font-family:"Calibri","sans-serif";}
>a:link, span.MsoHyperlink
>	{mso-style-priority:99;
>	color:blue;
>	text-decoration:underline;}
>a:visited, span.MsoHyperlinkFollowed
>	{mso-style-priority:99;
>	color:purple;
>	text-decoration:underline;}
>span.EmailStyle17
>	{mso-style-type:personal-compose;
>	font-family:"Calibri","sans-serif";
>	color:windowtext;}
>.MsoChpDefault
>	{mso-style-type:export-only;}
>@page Section1
>	{size:8.5in 11.0in;
>	margin:1.0in 1.0in 1.0in 1.0in;}
>div.Section1
>	{page:Section1;}
>-->
></style>
><!--[if gte mso 9]><xml>
> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
></xml><![endif]--><!--[if gte mso 9]><xml>
> <o:shapelayout v:ext=3D"edit">
>  <o:idmap v:ext=3D"edit" data=3D"1" />
> </o:shapelayout></xml><![endif]-->
></head>
>
><body lang=3DEN-US link=3Dblue vlink=3Dpurple>
>
><div class=3DSection1>
>
><p class=3DMsoNormal>Hi All,<o:p></o:p></p>
>
><p class=3DMsoNormal><o:p>&nbsp;</o:p></p>
>
><p class=3DMsoNormal>I have written a TCP server using Asynchronous I/O =
>in Windows
>2003, SP1. The server works for some time in without issues, but after
>sometime, the ACE_Asynch_Acceptor::make_handler() method throws =
>exception while
>creating the handler object, though there is enough memory available in =
>the
>system. I have overridden the Asynch_Acceptor&#8217;s =
><b>handle_connect</b> method
>to print some log messages. I have also overridden the handler&#8217;s =
>open and
>addresses method and both methods has a log message as the first =
>statement.
>This message has never got into the log file once the issues crops =
>up.<o:p></o:p></p>
>
><p class=3DMsoNormal><o:p>&nbsp;</o:p></p>
>
><p class=3DMsoNormal>Has anyone faced such problems? Since we are having =
>this
>problem for quite sometime I would like to get some pointers as to where =
>to
>look into for this issue or if there is any problems with windows 2003 =
>SP1.<o:p></o:p></p>
>
><p class=3DMsoNormal><o:p>&nbsp;</o:p></p>
>
><p class=3DMsoNormal>Thanks in advance,<o:p></o:p></p>
>
><p class=3DMsoNormal>Regards,<o:p></o:p></p>
>
><p class=3DMsoNormal>KrishnaKumar<o:p></o:p></p>
>
></div>
>
><p></p><p>DISCLAIMER:<br>This email (including any attachments) is =
>intended for the sole use of the intended recipient/s and may contain =
>material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any =
>review or reliance by others or copying or distribution or forwarding of =
>any or all of the contents in this message is STRICTLY PROHIBITED. If =
>you are not the intended recipient, please contact the sender by email =
>and delete all copies; your cooperation in this regard is =
>appreciated..</body>
>
></html>
>
>------_=_NextPart_001_01C7B239.0CBD6016--
>


-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu



More information about the Ace-users mailing list