On Thu, 10 Mar 2011, Hagberg, Keith wrote:


Running Spacewalk 1.3 with osad and jabberd. Noticed that jabberd is eating up 
disk space


we're still on 1.2 here, but had a similar problem.
the files in /var/lib/jabberd/db/ were taking up huge amounts of space, and the database was frequently becoming corrupt, and needing to be re-created. in the end we switched to sqlite, which solved both the space problem, and the the corruption problem.

looking through command history, it looks like this is how to set up sqlite:

#-
cd /var/lib/jabberd/db
cp /usr/share/jabberd/db-setup.sqlite .
sqlite3 sqlite.db < db-setup.sqlite
#-

probably after removing/moving the original db folder.
after this, on each client, we had to run:

#-
rm -f /etc/sysconfig/rhn/osad-auth.conf
/etc/init.d/osad restart
#-

to get osad running again - though i don't think this should necessarily be required.

also, i don't believe this is expected behaviour, so there may be a better known fix.

thanks,

richard.

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to