Hi Denis,

Our server is running around 50 applications. They are not all independent (some of them need another application running at startup/initialization time) and the monitor start applications in a random order therefore the firsts applications which were started by the monitor die of multiple time before running well. The solution in our case is to start wotaskd, then applications via a script as the monitor would do (with same arguments " -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor....." but in the right order. And finaly the monitor. You can start your application in the same way: "manualy" with a shell script, after wotaskd and before monitor. Monitor isn't mandatory for starting/runing WebObjects applications but it is useful for managing them (for configuration too).

The value of WOLifebeatDestinationPort is the same for all applications (default 1085), it is very strange that the monitor is changing it. This behavior may conduce to "port already in use" cause if the application start with a wrong WO Life beat destination port, it can't inform wotaskd that it is running and as a result monitor want to start it, believing that the application wasn't started.

Aurelien

Hello,

We have a server with WebObjects Deployment and 40 different independent
applications. I do understand that this situation is probably not typical
but it works for us since all the application have very small memory
footprint and they don't eat up much CPU time.

The only major problem that we are facing is the slow concurrent startup of
all the applications.  We had to increase the "Time Allowed For Startup" to
900 seconds for each application but still some of the apps fail to start
which leads to strange effects like wotaskd not seeing the app that started
up due to wrong value of WOLifebeatDestinationPort (which is to some reason
equal to the port of the previous app), or monitor failing to launch an app
complaining that the port is already in use.

Unfortunately, we are now experiencing some hardware problems that lead to
occasional server reboots and therefore major headaches after each reboot.

Is there any way to do a phased startup of applications? It sounds logical
to launch one app a time.

---
Denis Frolov
Media Agency Design Maximum

Tel: +7 863 2648211
Fax: +7 863 2645229
Web: http://www.designmaximum.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/aurelien.minet%40univ-paris5.fr

This email sent to [EMAIL PROTECTED]


--
------------------
Direction des systèmes d'information
Université Réne Descartes Paris 5 01.40.46.17.09

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to