Infinite Loop

Hi simon,

I think I need more info about your project in order to help.

Which kind of application are you working on ?

  • interactive GUI app.
  • mod_ruby dynamic-html stuff.
  • non-interactive application.

Are your using mutexes, semaphores, processes, threads ?

my application is a web application server. We are heavily using
mutexes (sync) and threads.

hope this helps,
-g.

More info please… im terrible at guessing :slight_smile:
I cannot yet answer you, until then I can give you questions.

  1. Can you make it fail repeately ? or is it totaly random ?
    What is the shortest sequence leading to the loop ?
  2. Do you have a log-file, what does it say ?
  3. Does it consume resources while being in that loop ?
  4. Do you have a suspicion about where this problem may lie
    or do you have absolutely no idea ?
  5. How does the application behave being within that loop ?
  6. Can you reveal pieces of the code ? is it online ?
    If so then someone at ruby-talk can examine it.
  7. How good are your mutex-skill: hardcore, good, nuby.
  8. What is the purpose with each of your threads?

Try answer as many as possible :slight_smile:

···

On Fri, 06 Jun 2003 04:13:41 +0000, George Moschovitis wrote:

Hi simon,

I think I need more info about your project in order to help.

Which kind of application are you working on ?

  • interactive GUI app.
  • mod_ruby dynamic-html stuff.
  • non-interactive application.

Are your using mutexes, semaphores, processes, threads ?

my application is a web application server. We are heavily using
mutexes (sync) and threads.

hope this helps,


Simon Strandgaard