[Asterisk-Users] Crashed Asterisk
duncan
duncan at impede.net
Tue Nov 25 18:25:39 MST 2003
>------------------------
> > Stop using RH9 since its majorly broken and that wont happen
>
>Since not all of us are so enlightened, please complete the sentence
>so that at least some of us have a clue as to the non-partisan issues?
>No offense intended, but there really are folks here that would like to
>learn from other's experience however boring that might be.
my experience with redhat 9 resulted in this nugget of information to solve
the problems i was having. asterisk threads sometimes cause the processor
to max out all resources - and when a new thread is initiated it takes a
while to fight back enough processing power. theres a bit of a config that
needs to be done to make sure it doesnt happen. in /etc/init.d/asterisk
(installed by running "make config") make sure:
case "$1" in
start)
# Start daemons.
echo -n "Starting asterisk: "
daemon safe_asterisk
should be
case "$1" in
start)
# Start daemons.
export LD_ASSUME_KERNEL=2.4.1
echo -n "Starting asterisk: "
daemon safe_asterisk
this makes redhat 9 use the old thread model rather than the new one, and
stops asterisk from getting all messed up. this is the only change ive had
to make to stop asterisk behaving differently from my 7.3 and 8 machines.
duncan
More information about the asterisk-users
mailing list