<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2096" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi ...!!!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I got the below error after running my system about 
30-45 min. But I'm sure that I'm not using any database in my code. But the 
error referes to ** Too many db tables **. I have try to search the community 
replies & found that another person get the similer error when using mnisia. 
But in my case I don't use mnesia at all.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So ... I dig down to my xml server & parser. 
Found that in xmerl it self uses exacly the same code as error shows (i.e Tab = 
ets:new(rules, [set, public]), )</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This occurs when I try to increase the load of xml 
parssing.</FONT></DIV>
<DIV><FONT face=Arial size=2>    i.e. I have set my dialout 
thread to check the dialout calls every second (earlier was 15 seconds), so each 
check should pass the xml file (or parse_error.xml ). Also each of that dialout 
call need to pass 5-6 xml files to initiate a call.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Except to that dialout thing, all the call flow 
running on the xml & all xml files should pass. So the xml processing is 
high in the system.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT 
face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>As I have wrote about, the system works properly 
about 30-45 min without any problem & later gives the below 
error.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>=ERROR REPORT==== 9-Oct-2005::17:41:43 ===<BR>** 
Too many db tables **</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>***Failed to Parse parse_error.xml, 
{error,{'EXIT',<BR>                                               
{system_limit,<BR>                                                   
[{ets,new,[rules,[set,public]]},<BR>                                                    
{xmerl_scan,initial_state,2},<BR>                                                    
{xmerl_scan,int_string,4},<BR>                                                    
{xmerl_scan,file,2},<BR>                                                    
{ivr_xml_psr,parseXMLFile_parse_error,1},<BR>                                                    
{ivr_xml_svr,do_passError,1},<BR>                                                    
{ivr_xml_svr,handle_info, 
2},<BR>                                                    
{gen_server,handle_msg,6}]}}}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It continues up to several time & system 
crashes giving below error reports</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>=ERROR REPORT==== 9-Oct-2005::17:43:00 
===<BR>Mnesia(<A href="mailto:omni_ivr@cctrl1">omni_ivr@cctrl1</A>): ** ERROR ** 
(ignoring core) ** FATAL ** mnesia_recover crashed: 
{system_limit,<BR>                                                                                             
[{ets,<BR>                                                                                                  
new,<BR>                                                                                                  
[mnesia_transient_decision,<BR>                                                                                                   
[{keypos,<BR>                                                                                                        
2},<BR>                                                                                                    
set,<BR>                                                                                                    
public]]},<BR>                                                                                              
{mnesia_recover,<BR>                                                                                                  
create_transient_decision,<BR>                                                                                                  
0},<BR>                                                                                              
{mnesia_recover,<BR>                                                                                                  
do_allow_garb,<BR>                                                                                                  
0},<BR>                                                                                              
{mnesia_recover,<BR>                                                                                                  
handle_cast,<BR>                                                                                                  
2},<BR>                                                                                              
{gen_server,<BR>                                                                                                  
handle_msg,<BR>                                                                                                  
6},<BR>                                                                                              
{proc_lib,<BR>                                                                                                  
init_p,<BR>                                                                                                  
5}]} state: 
{state,<BR>                                                                                                                  
<0.51.0>,<BR>                                                                                                                  
undefined,<BR>                                                                                                                  
undefined,<BR>                                                                                                                  
undefined,<BR>                                                                                                                  
0,<BR>                                                                                                                  
true,<BR>                                                                                                                  
[]}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>=SUPERVISOR REPORT==== 9-Oct-2005::17:43:00 
===<BR>     Supervisor: 
{local,mnesia_kernel_sup}<BR>     Context:    
child_terminated<BR>     Reason:     
shutdown<BR>     Offender:   
[{pid,<0.52.0>},<BR>                  
{name,mnesia_monitor},<BR>                  
{mfa,{mnesia_monitor,start,[]}},<BR>                  
{restart_type,permanent},<BR>                  
{shutdown,3000},<BR>                  
{child_type,worker}]</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>=SUPERVISOR REPORT==== 9-Oct-2005::17:43:00 
===<BR>     Supervisor: 
{local,mnesia_kernel_sup}<BR>     Context:    
shutdown<BR>     Reason:     
reached_max_restart_intensity<BR>     Offender:   
[{pid,<0.52.0>},<BR>                  
{name,mnesia_monitor},<BR>                  
{mfa,{mnesia_monitor,start,[]}},<BR>                  
{restart_type,permanent},<BR>                  
{shutdown,3000},<BR>                  
{child_type,worker}]</DIV>
<DIV> </DIV>
<DIV>-------------------------------------------------</DIV>
<DIV> </DIV>
<DIV>=ERROR REPORT==== 9-Oct-2005::17:43:10 ===<BR>** Generic server 
mnesia_monitor terminating <BR>** Last message in was 
{'EXIT',<0.51.0>,killed}<BR>** When Server state == 
{state,<0.51.0>,[],[],true,[],undefined,[]}<BR>** Reason for termination 
== <BR>** killed</DIV>
<DIV> </DIV>
<DIV>=CRASH REPORT==== 9-Oct-2005::17:43:10 ===<BR>  
crasher:<BR>    pid: <0.52.0><BR>    
registered_name: mnesia_monitor<BR>    error_info: 
killed<BR>    initial_call: 
{gen,init_it,<BR>                      
[gen_server,<BR>                       
<0.51.0>,<BR>                       
<0.51.0>,<BR>                       
{local,mnesia_monitor},<BR>                       
mnesia_monitor,<BR>                       
[<0.51.0>],<BR>                       
[{timeout,infinity}]]}<BR>    ancestors: 
[mnesia_kernel_sup,mnesia_sup,<0.48.0>]<BR>    messages: 
[]<BR>    links: [<0.20.0>]<BR>    
dictionary: []<BR>    trap_exit: true<BR>    
status: running<BR>    heap_size: 987<BR>    
stack_size: 21<BR>    reductions: 6172<BR>  
neighbours:</DIV>
<DIV> </DIV>
<DIV>=ERROR REPORT==== 9-Oct-2005::17:43:10 ===<BR>Mnesia(<A 
href="mailto:omni_ivr@cctrl1">omni_ivr@cctrl1</A>): ** ERROR ** mnesia_event got 
unexpected event: 
{'EXIT',<BR>                                                                            
<0.53.0>,<BR>                                                                            
killed}</DIV>
<DIV> </DIV>
<DIV>-----------------------------------------------------------------------------------<BR>=CRASH 
REPORT==== 9-Oct-2005::17:43:10 ===<BR>  crasher:<BR>    
pid: <0.50.0><BR>    registered_name: 
mnesia_event<BR>    error_info: killed<BR>    
initial_call: 
{gen,init_it,<BR>                      
[gen_event,<BR>                       
<0.49.0>,<BR>                       
<0.49.0>,<BR>                       
{local,mnesia_event},<BR>                       
[],<BR>                       
[],<BR>                       
[]]}<BR>    ancestors: 
[mnesia_sup,<0.48.0>]<BR>    messages: 
[]<BR>    links: []<BR>    dictionary: 
[]<BR>    trap_exit: true<BR>    status: 
running<BR>    heap_size: 233<BR>    stack_size: 
21<BR>    reductions: 203<BR>  neighbours:<BR>nms_adi_drv.c 
(239): stop<BR>nms_adi_drv.c (476): finish<BR>na_drv.c (558): stop<BR>na_drv.c 
(2164): finish<BR>ctaError: CTAERR_NOT_IMPLEMENTED</DIV>
<DIV> </DIV>
<DIV>=CRASH REPORT==== 9-Oct-2005::17:43:10 ===<BR>  
crasher:<BR>    pid: <0.47.0><BR>    
registered_name: []<BR>    error_info: 
killed<BR>    initial_call: 
{application_master,init,<BR>                                     
[<0.5.0>,<BR>                                      
<0.46.0>,<BR>                                      
{appl_data,<BR>                                          
mnesia,<BR>                                          
[mnesia_dumper_load_regulator,<BR>                                           
mnesia_event,<BR>                                           
mnesia_fallback,<BR>                                           
mnesia_controller,<BR>                                           
mnesia_kernel_sup,<BR>                                           
mnesia_late_loader,<BR>                                           
mnesia_locker,<BR>                                           
mnesia_monitor,<BR>                                           
mnesia_recover,<BR>                                           
mnesia_substr,<BR>                                           
mnesia_sup,<BR>                                           
mnesia_tm],<BR>                                          
undefined,<BR>                                          
{mnesia_sup,[]},<BR>                                          
[mnesia,<BR>                                           
mnesia_backup,<BR>                                           
mnesia_bup,<BR>                                           
mnesia_checkpoint,<BR>                                           
mnesia_checkpoint_sup,<BR>                                           
mnesia_controller,<BR>                                           
mnesia_dumper,<BR>                                           
mnesia_event,<BR>                                           
mnesia_frag,<BR>                                           
mnesia_frag_hash,<BR>                                           
mnesia_frag_old_hash,<BR>                                           
mnesia_index,<BR>                                           
mnesia_kernel_sup,<BR>                                           
mnesia_late_loader,<BR>                                           
mnesia_lib,<BR>                                           
mnesia_loader,<BR>                                           
mnesia_locker,<BR>                                           
mnesia_log,<BR>                                           
mnesia_monitor,<BR>                                           
mnesia_recover,<BR>                                           
mnesia_registry,<BR>                                           
mnesia_schema,<BR>                                           
mnesia_snmp_hook,<BR>                                           
mnesia_snmp_sup,<BR>                                           
mnesia_subscr,<BR>                                           
mnesia_sup,<BR>                                           
mnesia_sp,<BR>                                           
mnesia_text,<BR>                                           
mnesia_tm],<BR>                                          
[],<BR>                                          
infinity,<BR>                                          
infinity},<BR>                                      
normal]}<BR>    ancestors: [<0.46.0>]<BR>    
messages: []<BR>    links: [<0.5.0>]<BR>    
dictionary: []<BR>    trap_exit: true<BR>    
status: running<BR>    heap_size: 987<BR>    
stack_size: 21<BR>    reductions: 1484<BR>  
neighbours:</DIV>
<DIV> </DIV>
<DIV>=INFO REPORT==== 9-Oct-2005::17:43:12 ===<BR>    
application: mnesia<BR>    exited: killed<BR>    
type: permanent</DIV>
<DIV> </DIV>
<DIV>=INFO REPORT==== 9-Oct-2005::17:43:12 ===<BR>    
"Application preparing to stop."<BR>    module: ivr_app</DIV>
<DIV> </DIV>
<DIV>=ERROR REPORT==== 9-Oct-2005::17:43:12 ===<BR>    
"IVR_APP_FSM terminated"<BR>    shutdown<BR>    
idle</DIV>
<DIV> </DIV>
<DIV>...... Terninate all the 60 channels ..... same as this</DIV>
<DIV> </DIV>
<DIV>=INFO REPORT==== 9-Oct-2005::17:43:12 ===<BR>    
"Application stopped."<BR>    module: ivr_app<BR></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Is this the internal bug of xmerl ??? Why this happens ??? What should I do 
to avoid this ??? What is the proper way to handle xmerl to pass this kind of 
heavy xml passing situations ??</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks in advance,<BR></DIV>
<DIV>Sanjaya Vitharana</DIV></FONT></BODY></HTML>