In a message dated 1/27/2003 11:21:51 AM Eastern Standard Time, [EMAIL PROTECTED] writes:
proc_doc Y {} {
ns_share counter_A
ns_share counter_B
ns_share counter_mutex
ns_mutex lock $counter_mutex
foreach i_index [array names counter_A] {
set temp_counter_A($i_index) $conter_A($i_index)
set temp_counter_B($i_index) $conter_B($i_index)
unset $conter_A($i_index)
unset $conter_B($i_index)
}
Is the above the actual snippet from the code? If so, my guess is the typos ($conter_A, $conter_B instead of $counter_A & $counter_B) are throwing errors and the mutex is not getting freed, causing deadlocking in your app. Removing the ns_mutex lines from the code wouldn't fix the errors, but the deadlocks would not occur. Are there any errors in your server log during the times the proc_doc Y runs?
~Rich
_______________________________
R i c h F r e d e r i c k s
Software Engineer
AOL Web Services & Publishing
p: 703.265.0364
e: [EMAIL PROTECTED]
- Re: [AOLSERVER] ns_mutex is likely causing our AOL web se... Seena Kasmai
- Re: [AOLSERVER] ns_mutex is likely causing our AOL w... Jim Wilcoxson
- Re: [AOLSERVER] ns_mutex is likely causing our AOL w... Rich Fredericks
- Re: [AOLSERVER] ns_mutex is likely causing our AOL w... Seena Kasmai
- Re: [AOLSERVER] ns_mutex is likely causing our AOL w... Michael Richman
- Re: [AOLSERVER] ns_mutex is likely causing our AOL w... Seena Kasmai
- Re: [AOLSERVER] ns_mutex is likely causing our A... Andrew Piskorski
- Re: [AOLSERVER] ns_mutex is likely causing our A... Rob Mayoff
- Re: [AOLSERVER] ns_mutex is likely causing o... Andrew Piskorski
- Re: [AOLSERVER] ns_mutex is likely causing our AOL w... Nathan Folkman
- Re: [AOLSERVER] ns_mutex is likely causing our AOL w... Seena Kasmai
- Re: [AOLSERVER] ns_mutex is likely causing our AOL w... Nathan Folkman
- Re: [AOLSERVER] ns_mutex is likely causing our AOL w... Seena Kasmai