[Spacewalk-list] taskomatic error

Michael Mraka michael.mraka at redhat.com
Tue Aug 19 12:18:46 UTC 2014


Waldirio Manhães Pinheiro wrote:
% Hello Slava
% 
% You can check your files
% 
% /usr/share/rhn/config-defaults/rhn_taskomatic_daemon.conf
% 
% ###
% # Initial Java Heap Size (in MB)
% wrapper.java.initmemory=256
% 
% # Maximum Java Heap Size (in MB)
% wrapper.java.maxmemory=1024
% ###
% 
% and /etc/tomcat6/tomcat6.conf
% 
% ###
% Looking for JAVA_OPTS and add a flag and increase the -Xmx to a higher
% value such as 512MB
% ###
% 
% Restart your spacewalk and try again., probably your channels will be
% created normally without error in log file.

Do not modify /usr/share/rhn/config-defaults/rhn_taskomatic_daemon.conf
otherwise your modifications will vanish in the next spacewalk-java update.
Use 
        taskomatic.java.initmemory=256
and/or
        taskomatic.java.maxmemory=1024
options in /etc/rhn/rhn.conf and similarly
        rhn-search.java.*=XXX
for rhn-search service.


Regards,

--
Michael Mráka
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list