<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.24.1">
</HEAD>
<BODY>
<BR>
Thank you for getting this written up Phil!<BR>
I will review shortly.<BR>
<BR>
-Josh<BR>
<BR>
<BR>
On Sat, 2010-01-02 at 08:15 -0500, Philip Mather wrote:
<BLOCKQUOTE TYPE=CITE>
    Josh/Guys,<BR>
       I've paraphrased this conversation and put it in the wiki as a known issue...<BR>
    <BR>
    <A HREF="https://fedorahosted.org/spacewalk/wiki/JabberAndOSAD">https://fedorahosted.org/spacewalk/wiki/JabberAndOSAD</A><BR>
    <BR>
    ...feel free to change it.<BR>
    <BR>
    Regards,<BR>
       Phil<BR>
     
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        Message: 2<BR>
        Date: Wed, 30 Dec 2009 21:57:34 -0500<BR>
        From: "Mullis, Josh (CCI - Atlanta)" <<A HREF="mailto:josh.mullis@cox.com">josh.mullis@cox.com</A>><BR>
        To: "'<A HREF="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</A>'" <<A HREF="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</A>><BR>
        Subject: Re: [Spacewalk-list] question about jabber server and osad<BR>
               clients<BR>
        Message-ID: <1262228254.3706.54.camel@localhost.localdomain><BR>
        Content-Type: text/plain; charset="us-ascii"<BR>
        <BR>
        <BR>
        <BR>
        I found out that our firewalls have session timeouts, thus the jabber<BR>
        connections were timing out.<BR>
        (This also causes the strange behavior of a clients 'netstat -an |grep<BR>
        5222' command saying "ESTABLISHED" even though there is no connection on<BR>
        the spacewalk server.)<BR>
        <BR>
        <BR>
        After doing the following, I am having no issues with timeouts...<BR>
        <BR>
        ----------------------<BR>
        sed -i 's/<interval>.*/<interval>120<\/interval>/' /etc/jabberd/*.xml*<BR>
        sed -i 's/<keepalive>.*/<keepalive>120<\/keepalive>/' /etc/jabberd/*.xml*<BR>
        sed -i 's/<idle>.*/<idle>600<\/idle>/' /etc/jabberd/*.xml* |grep '<idle>'<BR>
        <BR>
        rhn-satellite restart<BR>
        Restarted osad on all clients (This step may not be necessary.)<BR>
        ----------------------<BR>
        <BR>
        <BR>
        The above settings are all explained in the .xml configs<BR>
        under /etc/jabberd/ .<BR>
        Essentially, it will send a "whitespace" character as a keepalive.<BR>
        (Every 2 minutes in my case)<BR>
        I verified this in tcpdump and jabber does only send 1 small packet<BR>
        every 2 minutes.<BR>
        <BR>
        Of course depending on your firewall timeout configs, you may need to<BR>
        tweak this a bit.<BR>
        <BR>
        <BR>
        <BR>
        Hope this helps someone else.<BR>
        -Josh
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
    -- <BR>
    Regards,<BR>
      Phil
</BLOCKQUOTE>
</BODY>
</HTML>