Problem unstability asterisk

sometimes, i’ve this messages:
“ast_sched_add_variable: Scheduled event in 0 ms”

and also sometives :

channel_find_locked: Avoided initial deadlock for ‘0x8207fc8’, 9 retries!

why do i have this messages?
asterisk is unstable
i use a menu.
Iv’e Asterisk 1.2.19 and i’ve 9 phones

nobody know??
:cry: :cry:


i have also this expereince, sometimes i got dead lock messages

so i think its due to more usage of channels, whn ne channel is used and its not realeased and other call wants to acquire it a dead lock type situation occurs, so restart asterisk after some time, this problem could be solved…
any body else here to justify this type of situation