Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315952 - Galileo help.eclipse.org is down with error 503
Summary: Galileo help.eclipse.org is down with error 503
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Servers (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL: http://help.eclipse.org/galileo/index...
Whiteboard:
Keywords: helpwanted
Depends on: 310809
Blocks:
  Show dependency tree
 
Reported: 2010-06-07 07:24 EDT by Martin Oberhuber CLA
Modified: 2010-08-16 09:46 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2010-06-07 07:24:15 EDT
+++ This bug was initially created as a clone of Bug #310809 +++

Access http://help.eclipse.org/galileo/index.jsp

--> 

Service unavailable!

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

If you think this is a server error, please contact the webmaster.
Error 503
help.eclipse.org
Mon Jun 7 07:05:33 2010
Apache 

--------------------------

I'm finding errors like this critical because I'm frequently sending out URL's pointing to the Eclipse help servers, and not having the servers run makes these useless.

I think that as a workaround it may be possible to reference some other servers which also serve Eclipse docs; but I don't have such links handy at the moment.
Comment 1 Denis Roy CLA 2010-06-07 08:07:42 EDT
It would be great if it stopped crashing... This is Eclipse running on a server; someone here should be able to help out?  The last time it was restarted was May 31, so it lasted all of seven days before crashing.
Comment 2 Martin Oberhuber CLA 2010-06-07 10:16:14 EDT
As I mentioned on bug 310809, I think you need to increase mem to for instance
   -vmargs -Xmx512m -XX:MaxPermSize=256m
especially when the search index is being generated.

Also, what version of Eclipse is serving here? I would suggest upgrading to 3.6RC4.
Comment 3 Denis Roy CLA 2010-06-07 10:26:55 EDT
(In reply to comment #2)
> As I mentioned on bug 310809, I think you need to increase mem to for instance
>    -vmargs -Xmx512m -XX:MaxPermSize=256m
> especially when the search index is being generated.

I'm not sure where to put those arguments...   Here is the command line that is used to start the help server:

/usr/bin/java \ 
-classpath /home/data/httpd/help.eclipse.org/galileo/eclipse/plugins/org.eclipse.help.base_3.4.0.v200906111540.jar \
org.eclipse.help.standalone.Infocenter -clean -command start \ 
-eclipsehome /home/data/httpd/help.eclipse.org/galileo/eclipse -port 8087 \
-nl en -locales en \ 
-plugincustomization /home/data/httpd/help.eclipse.org/galileo/eclipse/plugin_customization.ini &

> Also, what version of Eclipse is serving here? I would suggest upgrading to
> 3.6RC4.

We run the Infocenter from the actual release... the Ganymede infocenter is being run on the Ganymede version, Galileo on Galileo, etc.
Comment 4 Martin Oberhuber CLA 2010-06-08 05:18:29 EDT
(In reply to comment #3)

Assuming that you are using a Sun JVM, here are the args I suggest:

  -Xmx256m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError

The first two actually match the Galileo default settings from eclipse.ini - which are not taken into account when you launch your Infocenter directly with "java", so you end up with Sun's default max heap size which is pretty small. The 3rd argument is in order to generate a heap dump in case your infocenter should run out of memory. You'll then know for sure that the problem was caused by an OOME and you need to increase your mem sizes. Developers can also use the 

  http://www.eclipse.org/mat

in order to analyze the heap dump and understand who's been the memory pig.

> I'm not sure where to put those arguments...   Here is the command line

Put the args just after "/usr/bin/java". Running off Galileo is fine, of course. In case you are using an IBM JVM, you'll need slightly different arguments. I would suggest just keeping the 1st one, removing the 2nd one, and consulting this document for the 3rd one... but I'm not an expert on IBM JVM's:

http://wiki.eclipse.org/index.php/MemoryAnalyzer#IBM_Java_5.0_and_Java_6_Virtual_Machine_dump_options
Comment 5 Denis Roy CLA 2010-06-09 15:23:48 EDT
Thanks, Martin.  We're using the IBM JVM, but those parameters seem to have worked.  I've added them to Galileo, and also to the new Helios infocenter.
Comment 6 Denis Roy CLA 2010-08-16 09:46:40 EDT
The infocenters seem to be much more stable with the memory settings.  Thanks for the hint, Martin.