<DIV>we want a tcp server that can accpet 500k concurrent connections, the server run on 64bit linux with 16G memory, each client send a message per 30s, the server receive message and nothing to do. but reach about 450k connections, the server crashed,</DIV>
<DIV>Crash dump was written to: erl_crash.dump<BR>ll_alloc: Cannot reallocate 10830000 bytes of memory (of type "driver_event_state").<BR>Aborted</DIV>
<DIV> </DIV>
<DIV>here is a part of erl_crash.dump</DIV>
<DIV>=erl_crash_dump:0.1<BR>Wed Apr  6 19:02:29 2011<BR>Slogan: ll_alloc: Cannot reallocate 10888824 bytes of memory (of type "driver_event_state").<BR>System version: Erlang R14B02 (erts-5.8.3) [source] [64-bit halfword] [smp:8:8] [rq:8] [async-threads:0] [kernel-poll:true]<BR>Compiled: Wed Apr  6 09:44:31 2011<BR>Taints: <BR>Atoms: 6628<BR>=memory<BR>total: 2056754272<BR>processes: 749739128<BR>processes_used: 749736512<BR>system: 1307015144<BR>atom: 462593<BR>atom_used: 437166<BR>binary: 685882200<BR>code: 3536547<BR>ets: 195800</DIV>
<DIV> </DIV>
<DIV>=allocated_areas<BR>sys_misc: 55011874<BR>static: 222822400<BR>atom_space: 98328 73381<BR>atom_table: 95961<BR>module_table: 9084<BR>export_table: 50316<BR>register_table: 276<BR>fun_table: 3266<BR>module_refs: 2048<BR>loaded_code: 3166041<BR>dist_table: 523<BR>node_table: 219<BR>bits_bufs_size: 0<BR>bif_timer: 80184<BR>link_lh: 0<BR>proc: 275970288 275969680<BR>atom_entry: 268304 267824<BR>export_entry: 262256 261776<BR>module_entry: 8088 7688<BR>reg_proc: 1664 904<BR>monitor_sh: 1176 168<BR>nlink_sh: 36651736 36651496<BR>fun_entry: 37696 36328<BR>driver_event_data_state: 48 48<BR>db_tab: 5976 5384<BR>driver_select_data_state: 11067400 11066992<BR>=allocator:sys_alloc<BR>option e: true<BR>option m: libc<BR>option tt: 131072<BR>option tp: 0</DIV>
<DIV> </DIV>
<DIV>anynoe can analyze this error? </DIV>
<DIV>thx</DIV>