Re: Inactive instance but no deaths and no logs
Chuck Hill <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Organization | Global Village Consulting, Inc. |
| Message-ID | <[email protected]> |
Sounds like your code is deadlocking. Do the logs indicate a growing number of worker threads? See WO specific info here: http://wodev.spearway.com/cgi-bin/WebObjects/WODev.woa/wa/Main?wikiPage=AvoidingDeadlock I don't have any quick pointers on getting a thread dump from a running app. Check the archives for 'thread dump'. Chuck Simon wrote: > > hi all, i'm having a troublesome deployment week ! > > we have an app that is running with 8 instances configured. every now > and then (at least a couple of times per week) we get the odd instance > become completely unresponsive. the strange thing is that there is no > output in the logs, and monitor records no deaths. if i try and stop the > instance in monitor nothing happens, but i can delete it. however if i > then add a new instance and try and start it up monitor will complain > that it's allocated port is still in use. > > i'm a little puzzled as to how to debug this one, but what's more > annoying is that it is virtually impossible to pick up the error as > there is no indication in the logs that something is wrong, and because > the instance doesn't die monitor doesn't send me an email! we only > noticed it because a user reported the site being slow, which was > actually due to them being allocated the unresponsive instance upon > their first request and the adaptor waiting 30 seconds before shifting > them to another instance. > > any pointers would be most appreciated. > > thanks, simon > > _______________________________________________ > WebObjects-admin mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/webobjects-admin -- Chuck Hill [email protected] Global Village Consulting Inc. http://www.global-village.net It is a funny thing about life; if you refuse to accept anything but the best, you very often get it." -- W. Somerset Maugham <shamelessPlug> Practical WebObjects http://www.amazon.com/exec/obidos/tg/detail/-/1590592964 </shamelessPlug>