>This query has been posted in past also but my search for the
>solutions was unsuccessful:
>
>When I run my NS script with heavy traffic, the execution sometimes
>stop in between giving the error as "Couldn't schedule timer". I am
>also using my own timer for acknowledgement timeout.
>
>Does this refer to the internal timer or my own defined timer?

It seems that this is the internal timer (common/timer-handler.cc), unless you 
fprint the same text with your own timer. Make sure by e.g. editing the line

fprintf(stderr,"Couldn't schedule timer");

in common/timer-handler.cc to

fprintf(stderr,"Couldn't schedule timer from timer-handler.cc");

Then recompile ns-2, reinstall it, and run your tcl script. If the text that 
ns-2 prints out matches your changes in common/timer-handler.cc, then you know 
which timer this text refers to.

>How can I avoid this error?

It seems that your ns-2 sets the timer to idle state somewhere. Try to check 
where it does it.

>Tarun

Regards,
Filip

Reply via email to