Paul:

Could be something as simple as an out-of-range error on an array;  I’ve seen 
that cause 4D to consume 100% of CPU and then freeze.

If any code was recently modified (especially involving arrays), I’d check on 
that.  Also, run Maintenance & Security Center diagnostics and repair any 
damaged records, if necessary.  

Finally, dropping indexes (quit, then delete the .4Dindx file associated with 
your data file, then restart) and having the indexes automatically regenerate 
can help clean out “gunk”.  (That’s a technical term I just made up.)  
Rebuilding indexes has made weird problems go away for me a few times over the 
years.

Ron Rosell



> On Dec 5, 2017, at 1:17 AM, Paul Lovejoy via 4D_Tech <[email protected]> 
> wrote:
> 
> Hi,
> 
> We’ve have two big freezes in 16 hours on 110 gb database with about 150 
> users. 4D v15.4 is running on Mac OS X 10.10.5 on an xServe with 16gb RAM and 
> 1tb SSD. There don’t appear to be any issues with the hardware. The Console 
> doesn’t show anything in particular, other than a 4D Server spindump.
> 
> Activity monitor showed 100% cpu and the application was unresponsive for 
> about 30 minutes before I force quit it.
> 
> Does anyone know how to interpret this dump from the console?
> 
> 
> 
> Date/Time:       2017-12-05 09:16:47 +0100
> OS Version:      10.10.5 (Build 14F2315)
> Architecture:    x86_64
> Report Version:  21
> 
> Command:         4D Server
> Path:            /Volumes/VOLUME/*/4D Server 32-bit 
> 15.4.app/Contents/MacOS/4D Server
> Version:         15.4 build 15.208269 (15.0.4)
> PID:             340
> 
> Event:           timeout-lite
> Duration:        9.90s
> Steps:           100 (100ms sampling interval)
> 
> Hardware model:  Xserve3,1
> Active cpus:     16
> 
> 
> Heaviest stack for the main thread of the target process:
>  100  start + 53 (4D Server + 7525) [0x2d65]
>  100  _main() + 120 (4D Server + 3708643) [0x38a6e3]
>  100  xbox::VProcess::Run() + 182 (Kernel + 420806) [0x2544bc6]
>  100  V4DApplication::DoRun() + 208 (4D Server + 2511118) [0x26610e]
>  100  scanprocess(bool, bool) + 261 (4D Server + 1940275) [0x1dab33]
>  100  V4DScheduler::ScheduleOneProcess(long, unsigned long) + 422 (4D Server 
> + 1939092) [0x1da694]
>  100  gere1process(long) + 208 (4D Server + 1939316) [0x1da774]
>  100  xbox::VTaskMgr::YieldToFiber(xbox::VTask*) + 27 (Kernel + 448683) 
> [0x254b8ab]
>  100  xbox::XMacTaskMgr::YieldToFiber(xbox::VTask*) + 53 (Kernel + 460389) 
> [0x254e665]
>  100  VMacFiber_thread::Run() + 124 (Kernel + 691628) [0x2586dac]
>  100  SetThreadState + 208 (CarbonCore + 773563) [0x91bd8dbb]
>  100  YieldToThread + 429 (CarbonCore + 773994) [0x91bd8f6a]
>  100  mach_msg_trap + 10 (libsystem_kernel.dylib + 80334) [0x94f239ce]
> *100  ipc_mqueue_receive_continue + 0 (kernel + 1136864) [0xffffff80003158e0]
> 
>  Binary Images:
>              0x1000 -           0xb91fff  com.4D.4DServer 15.4 build 
> 15.208269 (15.0.4)     <5471BA23-F6D6-3583-A4D7-860A07E6F086>  
> /Volumes/VOLUME/*/4D Server 32-bit 15.4.app/Contents/MacOS/4D Server
>           0x24de000 -          0x2623fff  com.4d.kernel 1.0 (1.0)             
>               <84C93DD1-FB82-30C3-8303-F91B49C38E72>  /Volumes/VOLUME/*/4D 
> Server 32-bit 15.4.app/Contents/Frameworks/Kernel.framework/Versions/A/Kernel
>          0x91b1c000 -         0x91e1afff  com.apple.CoreServices.CarbonCore 
> 1108.6 (1108.6) <ABEA5906-26AE-308F-B078-5944ABDF94DF>  
> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
>          0x94f10000 -         0x94f2ffff  libsystem_kernel.dylib 
> (2782.50.9.1.1)            <1D42E368-2011-3E8F-B6FA-F7830147E801>  
> /usr/lib/system/libsystem_kernel.dylib
> *0xffffff8000200000 - 0xffffff80009fffff  kernel (2782.50.9.1.1)              
>               <7BF2F11D-8063-35A4-9FCF-597FF553DFD6>  
> /System/Library/Kernels/kernel
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to