[Spacewalk-list] Spacewalk-list Digest, Vol 20, Issue 1

Philip Mather phil at philipmather.me.uk
Sat Jan 2 13:15:03 UTC 2010


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)" <josh.mullis at cox.com>
> To: "'spacewalk-list at redhat.com'" <spacewalk-list at redhat.com>
> Subject: Re: [Spacewalk-list] question about jabber server and osad
>        clients
> Message-ID: <1262228254.3706.54.camel at localhost.localdomain>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100102/71cba665/attachment.htm>


More information about the Spacewalk-list mailing list