Satellite 5.4.1 unresponsive after cloning a channel
I am using the satellite API to clone a channel. The Channel clones fine, but satellite becomes unresponsive and throws 500 errors. What I have found is restarting tomcat 6 resolves the problem, so it looks like it a problem with the ajp connection between apache and tomcat. The only error I can find is in the apache log file:
[Tue Mar 11 11:48:50 2014] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
[Tue Mar 11 12:44:19 2014] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
[Tue Mar 11 12:45:03 2014] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
Has anyone else experienced this? Any ideas on how to correct the problem?
Responses
This is COMPLETE speculation... I wonder if you have exhausted the connection pool for the Web Service, or the JVM heap size?
Either way: I recommend opening a ticket and a backup ;-)
I would also check the logs in
/var/log/rhn
Increase the taskomatic JVM maximum heap size from 512Mb to 1.3Gb to stop the heap dumps from occurring.
Find the following values in /etc/rhn/default/rhn_taskomatic_daemon.conf:
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=256
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=512
Change the value of "wrapper.java.maxmemory" to 1.3Gb, like so:
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=256
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=1331
There is a tunable for the Web Server, but I do not recall where that file was updated.
Joseph, see James' good tips,
Given the bit of searching I did on your errors and the potential "fixes" -- I'd agree with James and highly recommend you open a case with Red Hat support.
Do you have the freedom to go to Satellite version 5.6?
I'm currently taking the last of the 5.4.1 satellite servers we had and putting it (reload) to version 5.6 this week to join the others at 5.6.
Thanks for the update.
That is 1 thing I actually wanted to submit an RFI for:
- easier task manager/progress meter for "the system"
There are SO many things going on, it would be cool to see what was currently running. Also, there are a few jobs that you submit via API/WebUI that simply go off and do their thing, and you cannot really tell.
I have been cloning my channels from the CLI using spacewalk-clone-by-date and that provides a pretty good status.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
