Josh/Guys, I've paraphrased this conversation and put it in the wiki as a known issue...
https://fedorahosted.org/spacewalk/wiki/JabberAndOSAD ...feel free to change it. Regards, Phil > Message: 2 > Date: Wed, 30 Dec 2009 21:57:34 -0500 > From: "Mullis, Josh (CCI - Atlanta)" <[email protected]> > To: "'[email protected]'" <[email protected]> > Subject: Re: [Spacewalk-list] question about jabber server and osad > clients > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > > > I found out that our firewalls have session timeouts, thus the jabber > connections were timing out. > (This also causes the strange behavior of a clients 'netstat -an |grep > 5222' command saying "ESTABLISHED" even though there is no connection on > the spacewalk server.) > > > After doing the following, I am having no issues with timeouts... > > ---------------------- > sed -i 's/<interval>.*/<interval>120<\/interval>/' /etc/jabberd/*.xml* > sed -i 's/<keepalive>.*/<keepalive>120<\/keepalive>/' /etc/jabberd/*.xml* > sed -i 's/<idle>.*/<idle>600<\/idle>/' /etc/jabberd/*.xml* |grep '<idle>' > > rhn-satellite restart > Restarted osad on all clients (This step may not be necessary.) > ---------------------- > > > The above settings are all explained in the .xml configs > under /etc/jabberd/ . > Essentially, it will send a "whitespace" character as a keepalive. > (Every 2 minutes in my case) > I verified this in tcpdump and jabber does only send 1 small packet > every 2 minutes. > > Of course depending on your firewall timeout configs, you may need to > tweak this a bit. > > > > Hope this helps someone else. > -Josh > -- Regards, Phil
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
