incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Rollins <mark_roll...@hotmail.com>
Subject RE: Enomen error on building view
Date Mon, 15 Apr 2013 08:13:46 GMT
I enabled debug and the error manifested with a different error thrown to the UI “Error:
An error occurred accessing the view No
response”  On further investigation, erl.exe crashes and is restarted when the issue is
encountered (only in debug mode) The following is written to the O/S event log Version=1
EventType=APPCRASH
EventTime=130100748893264424
ReportType=2
Consent=1
ReportIdentifier=587100e9-a1e4-11e2-ad45-005056944d78
IntegratorReportIdentifier=587100e8-a1e4-11e2-ad45-005056944d78
WOW64=1
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=erl.exe
Sig[1].Name=Application Version
Sig[1].Value=0.0.0.0
Sig[2].Name=Application Timestamp
Sig[2].Value=4f0c55b7
Sig[3].Name=Fault Module Name
Sig[3].Value=beam.smp.dll
Sig[4].Name=Fault Module Version
Sig[4].Value=0.0.0.0
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=4f0c53e6
Sig[6].Name=Exception Code
Sig[6].Value=c0000005
Sig[7].Name=Exception Offset
Sig[7].Value=0006edd0
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7601.2.1.0.272.7
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=2057
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=0a9e
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=0a9e372d3b4ad19135b953a78882e789
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=0a9e
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=0a9e372d3b4ad19135b953a78882e789
UI[2]=D:\sealInstall\Seal\couchdb\erts-5.9\bin\erl.exe
UI[5]=Check online for a solution (recommended)
UI[6]=Check for a solution later (recommended)
UI[7]=Close
UI[8]=erl.exe stopped working and was closed
UI[9]=A problem caused the application to stop working correctly. Windows will notify you
if a solution is available.
UI[10]=&Close
LoadedModule[0]=D:\sealInstall\Seal\couchdb\erts-5.9\bin\erl.exe
LoadedModule[1]=C:\Windows\SysWOW64\ntdll.dll
LoadedModule[2]=C:\Windows\syswow64\kernel32.dll
LoadedModule[3]=C:\Windows\syswow64\KERNELBASE.dll
LoadedModule[4]=C:\Windows\system32\MSVCR100.dll
LoadedModule[5]=D:\sealInstall\Seal\couchdb\erts-5.9\bin\erlexec.dll
LoadedModule[6]=C:\Windows\syswow64\USER32.dll
LoadedModule[7]=C:\Windows\syswow64\GDI32.dll
LoadedModule[8]=C:\Windows\syswow64\LPK.dll
LoadedModule[9]=C:\Windows\syswow64\USP10.dll
LoadedModule[10]=C:\Windows\syswow64\msvcrt.dll
LoadedModule[11]=C:\Windows\syswow64\ADVAPI32.dll
LoadedModule[12]=C:\Windows\SysWOW64\sechost.dll
LoadedModule[13]=C:\Windows\syswow64\RPCRT4.dll
LoadedModule[14]=C:\Windows\syswow64\SspiCli.dll
LoadedModule[15]=C:\Windows\syswow64\CRYPTBASE.dll
LoadedModule[16]=C:\Windows\system32\IMM32.DLL
LoadedModule[17]=C:\Windows\syswow64\MSCTF.dll
LoadedModule[18]=C:\Windows\system32\apphelp.dll
LoadedModule[19]=D:\SEALIN~1\Seal\couchdb\erts-5.9\bin\beam.smp.dll
LoadedModule[20]=C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
LoadedModule[21]=C:\Windows\syswow64\SHLWAPI.dll
LoadedModule[22]=C:\Windows\syswow64\COMDLG32.dll
LoadedModule[23]=C:\Windows\syswow64\SHELL32.dll
LoadedModule[24]=C:\Windows\syswow64\WS2_32.dll
LoadedModule[25]=C:\Windows\syswow64\NSI.dll
LoadedModule[26]=C:\Windows\system32\IPHLPAPI.DLL
LoadedModule[27]=C:\Windows\system32\WINNSI.DLL
LoadedModule[28]=C:\Windows\system32\mswsock.dll
LoadedModule[29]=C:\Windows\System32\wshtcpip.dll
LoadedModule[30]=C:\Windows\system32\NLAapi.dll
LoadedModule[31]=C:\Windows\system32\napinsp.dll
LoadedModule[32]=C:\Windows\system32\DNSAPI.dll
LoadedModule[33]=C:\Windows\System32\winrnr.dll
LoadedModule[34]=D:\sealInstall\Seal\couchdb\lib\couch-1.2.0\priv\lib\couch_icu_driver.dll
LoadedModule[35]=D:\sealInstall\Seal\couchdb\bin\icuuc46.dll
LoadedModule[36]=D:\sealInstall\Seal\couchdb\bin\icudt46.dll
LoadedModule[37]=D:\sealInstall\Seal\couchdb\bin\icuin46.dll
LoadedModule[38]=C:\Windows\system32\MSVCP100.dll
LoadedModule[39]=d:\SEALIN~1\Seal\couchdb\lib\crypto-2.1\priv\lib\crypto.dll
LoadedModule[40]=D:\sealInstall\Seal\couchdb\bin\LIBEAY32.dll
LoadedModule[41]=C:\Windows\system32\WSOCK32.dll
LoadedModule[42]=C:\Windows\system32\CRYPTSP.dll
LoadedModule[43]=C:\Windows\system32\rsaenh.dll
LoadedModule[44]=d:\SEALIN~1\Seal\couchdb\lib\ejson-0.1.0\priv\ejson.dll
FriendlyEventName=Stopped working
ConsentKey=APPCRASH
AppName=erl.exe 
There seems to a memory ceiling issue and this maybe environmental (still under investigation,
as I'm unable to reproduce on several other environments. the problematic environment is VMware
ESXi). I have noticed in perfmon that the working set (total) counter starts at circa 964,757,224
bytes, the view is touched, and this counter rises and then reaches 2,xxxx,xxxx,xxx bytes
and the Enomen error is thrown. This is repeatable.  > Date: Mon, 8 Apr 2013 22:25:03 +0200
> Subject: Re: Enomen error on building view
> From: dch@jsonified.com
> To: user@couchdb.apache.org
> 
> Weird. Even msdn agrees this is likely to be insufficient ram to spawn a
> child process http://msdn.microsoft.com/en-us/library/5814770t.aspx so I
> guess this is a RAM fragmentation problem, or you're exceeding ~ 2GB RAM
> which is a fair bit. NB CouchDB on Windows is still using a 32-bit Erlang
> VM; the 64-bit VM is only a year old.
> 
> Especially for windows you should upgrade to 1.2.2 (either erlang release
> will do), e.g.
> http://www.apache.org/dyn/closer.cgi?path=/couchdb/binary/win/1.2.2/setup-couchdb-1.2.2_R15B03-1.exeas
> it nails a couple of critical security fixes.
> 
> 
> Seeing as you can trigger the problem easily, can you
> 
> - run couch using the .couchdb.bat file
> - turn debug mode on via `curl  -XPUT $COUCH/_config/log/level -d '"debug"'`
> - use Process Explorer to get the virtual memory size before triggering the
> issue
> -  trigger it
> - collect the same info
> 
> let us know how that works out + use a pastie service to put the couch.log
> file somewhere. Ensure its clean and/or send me a link privately if you
> prefer.
> 
> It's worth checking the system and application event log also in case they
> shed some light.
> 
> 
> 
> On 8 April 2013 17:57, Mark Rollins <mark_rollins@hotmail.com> wrote:
> 
> > Windows 2008 R2 (x64)
> > Couch DB 1.2.0
> >
> >
> > Getting the following error when I touch a view in couch, have tried via
> > the browser and curl, runs for a few minutes and then throws a enomen
> > dialog box. The system has plenty of available memory.
> >
> > [Mon, 08 Apr 2013 14:04:16 GMT] [error] [<0.1702.0>]
> > {error_report,<0.34.0>,
> >                       {<0.1702.0>,crash_report,
> >                        [[{initial_call,
> >                           {couch_view_group,init,['Argument__1']}},
> >                          {pid,<0.1702.0>},
> >                          {registered_name,[]},
> >                          {error_info,
> >                           {exit,enomem,
> >                            [{gen_server,terminate,6,
> >                              [{file,"gen_server.erl"},{line,737}]},
> >                             {proc_lib,init_p_do_apply,3,
> >                              [{file,"proc_lib.erl"},{line,227}]}]}},
> >                          {ancestors,[<0.1701.0>]},
> >                          {messages,[]},
> >                          {links,[<0.1703.0>,<0.127.0>]},
> >                          {dictionary,[]},
> >                          {trap_exit,true},
> >                          {status,running},
> >                          {heap_size,1597},
> >                          {stack_size,24},
> >                          {reductions,424}],
> >                         []]}}
> > [Mon, 08 Apr 2013 14:04:16 GMT] [error] [<0.145.0>] Uncaught server error:
> > enomem
> > [Mon, 08 Apr 2013 14:04:16 GMT] [error] [<0.1703.0>] ** Generic server
> > <0.1703.0> terminating
> > ** Last message in was {'EXIT',<0.1702.0>,enomem}
> > ** When Server state ==
> > {file,{file_descriptor,prim_file,{#Port<0.5001>,604}},
> >                               54005900}
> > ** Reason for termination ==
> > ** enomem
> >
> > [Mon, 08 Apr 2013 14:04:16 GMT] [error] [<0.1703.0>]
> > {error_report,<0.34.0>,
> >                       {<0.1703.0>,crash_report,
> >                        [[{initial_call,{couch_file,init,['Argument__1']}},
> >                          {pid,<0.1703.0>},
> >                          {registered_name,[]},
> >                          {error_info,
> >                           {exit,enomem,
> >                            [{gen_server,terminate,6,
> >                              [{file,"gen_server.erl"},{line,737}]},
> >                             {proc_lib,init_p_do_apply,3,
> >                              [{file,"proc_lib.erl"},{line,227}]}]}},
> >                          {ancestors,[<0.1702.0>,<0.1701.0>]},
> >                          {messages,[{'EXIT',<0.1705.0>,shutdown}]},
> >                          {links,[]},
> >                          {dictionary,[]},
> >                          {trap_exit,true},
> >                          {status,running},
> >                          {heap_size,610},
> >                          {stack_size,24},
> >                          {reductions,1064}],
> >                         []]}}
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message