<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.88">
<TITLE>Channel processing problem with 4.11</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=2 FACE="Arial">Testing in two separate hobbit environments. Both environments are able to process BB-PE traffic. Using Hobbit 4.11 server release and a simple client test file to transmit status to the servers (modified hobbitclient-linux.sh and hobbitclient-hpux.sh).</FONT></P>

<P><FONT SIZE=2 FACE="Arial">First environment using Mandrake 9.0 server and Fedora Core 2 client - client transmissions received and processed properly on server.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Second environment using Fedora Core 3 server and HP-UX 11i client, have problems with hobbitd_channel on server.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Initial error was:  Worker process died with exit code 6, terminating</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I reduced down the size of the HP-UX client message - no longer sending ps/top/vmstat output; still blowing up. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Commented out some of the signal handler lines and set to ignore some of the signals to drill into problem in the hobbitd_channel.c file.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">/*  sigaction(SIGPIPE, &sa, NULL); */</FONT>
<BR><FONT SIZE=2 FACE="Arial">signal(SIGPIPE, SIG_IGN);</FONT>
<BR><FONT SIZE=2 FACE="Arial"> /* sigaction(SIGINT, &sa, NULL); */</FONT>
<BR><FONT SIZE=2 FACE="Arial">signal(SIGINT, SIG_IGN);</FONT>
<BR><FONT SIZE=2 FACE="Arial">sigaction(SIGTERM, &sa, NULL);</FONT>
<BR><FONT SIZE=2 FACE="Arial">/* sigaction(SIGCHLD, &sa, NULL); */</FONT>
<BR><FONT SIZE=2 FACE="Arial"> signal(SIGCHLD, SIG_IGN);</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Rerun, error message is now: Our child has failed and will not talk to us....</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Guessing that may have a blocking problem - even though there is only the server and the one client using the channel, increased the sleep value.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">else if (errno == EAGAIN) {</FONT>
<BR><FONT SIZE=2 FACE="Arial">                                /*</FONT>
<BR><FONT SIZE=2 FACE="Arial">                                 * Write would block ... stop for now.</FONT>
<BR><FONT SIZE=2 FACE="Arial">                                 * Wait just a little while before continuing, so we</FONT>
<BR><FONT SIZE=2 FACE="Arial">                                 * dont do busy-waiting when the worker child is not</FONT>
<BR><FONT SIZE=2 FACE="Arial">                                 * accepting more data.</FONT>
<BR><FONT SIZE=2 FACE="Arial">                                 */</FONT>
<BR><FONT SIZE=2 FACE="Arial">                                canwrite = 0;</FONT>
<BR><FONT SIZE=2 FACE="Arial">                                /* usleep(2500); */</FONT>
<BR><FONT SIZE=2 FACE="Arial">                                usleep(25000)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Same error. Any ideas what to look into next?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Also, has anyone configured hobbit server to work with a number of HPUX clients? Looking to handle around 50 HPUX servers and 50 Windows servers into a single Hobbit server. </FONT></P>

<P><FONT SIZE=2 FACE="Arial"> </FONT>
</P>
<BR>

</BODY>
</HTML>