Package search in WebUI results No Packages

This document (000021336) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Manager Server 4.3

Situation

Package Search in SUSE Manager Server WebUI results in "No packages" for all packages using any search criteria.

The rhn_web_ui.log shows the  below error:
2023-12-05 07:35:58,363 [RHN Message Dispatcher] ERROR com.redhat.rhn.manager.errata.ErrataManager - Errata index not updated. Search server unavailable.ErrorCode = -1
redstone.xmlrpc.XmlRpcFault: java.lang.OutOfMemoryError: Java heap space
        at redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:444) ~[redstone-xmlrpc-client.jar:?]
        at redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:376) ~[redstone-xmlrpc-client.jar:?]
        at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165) ~[redstone-xmlrpc-client.jar:?]
        at com.redhat.rhn.manager.errata.ErrataManager.updateSearchIndex(ErrataManager.java:1621) ~[rhn.jar:?]
        at com.redhat.rhn.manager.errata.ErrataManager.cloneErrata(ErrataManager.java:2269) ~[rhn.jar:?]
        at com.redhat.rhn.manager.errata.ErrataManager.mergeErrataToChannel(ErrataManager.java:277) ~[rhn.jar:?]
 

Resolution

Increase the value of parameter rhn-search.java.maxmemory in the /etc/rhn/rhn.conf configuration file.

The maximum value for the parameter is 4096Mib.

Cause

When the client count increases significantly, "OutOfMemoryException" errors occur due to not enough java memory being available, resulting in package search failure.

Status

Top Issue

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021336
  • Creation Date: 29-Jan-2024
  • Modified Date:09-Feb-2024
    • SUSE Manager Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center