Under a fair load of calls, my machine locks up after 3 or so hours. Under a lighter load, it takes quite a bit longer to grind to a halt. It appears that asterisk is keeping lots of open network connections using h323.
This box is receiving h323 calls from a telco and is sending them out 8 FXO lines.
[First Start Up]
MACHINE:/tmp # lsof | grep ^asterisk | wc -l
230
[Noticing Problems]
MACHINE:/tmp # grep ^asterisk earlyon | wc -l
775
[Major Errors]
Sep 23 13:40:34 WARNING[1163508656]: pbx.c:1933 ast_pbx_run: Timeout, but no rule 't' in context 'default'
Sep 23 13:40:35 WARNING[1171270576]: channel.c:311 ast_channel_alloc: Alert pipe creation failed!
Sep 23 13:40:35 WARNING[1171270576]: chan_h323.c:783 oh323_new: Unable to allocate channel structure
Sep 23 13:40:35 ERROR[1171270576]: chan_h323.c:1210 answer_call: Couldn't create channel. This is bad
MACHINE:/tmp # grep ^asterisk beforereboot | wc -l
1124
[MORE INFO]
MACHINE:/tmp # cat beforereboot | grep ^asterisk |grep CLOSE_WAIT | wc -l
241
MACHINE:/tmp # cat earlyon | grep ^asterisk |grep CLOSE_WAIT | wc -l
142