Hi Peter, Strange - "automatic session handling" and "reuse context (4D keeps the values of the variables, good for testing)" are the first things I turn off. Same for "keep a live", I turn it off.
I'd create some spare web processes (there is a DB settings for this). You didn't lower the stack size anywhere, did you? If you are using nightly builds, use a fresh more recent one to avoid the funny web things which popped up lately. Greetings, Peter _____ From: Peter Jakobsson [mailto:[email protected]] To: Active4D Developer Discussion List [mailto:[email protected]] Sent: Wed, 05 Nov 2014 22:47:14 +0100 Subject: Re: [Active4d-dev] v14 Crashing Issue (Detected) Hi I seem to have got to the bottom of this. The issue is with v13’s new “Automatic Session Management” property. With this switched on, performance is amazingly silky smooth and stable (compared with v12). With “Automatic Session Management” off, it is jerky and unstable. In particular, 2 adverse conditions prevail when this feature is switched off: [1] - under moderate loads, every 4th or 5th request “locks up” [2] - if the “Reuse Temporary Contexts (in remote mode)” feature is active and traffic dwindles to the point that some web processes expire due to timeout, the web server will crash when it next receives a request Just so happens that this exactly corresponds to a typical Active4D configuration (since we’ve had automatic session management since the dinosaurs walked the earth). In upgraded databases, the feature is off by default. In v14 native ones, it’s on by default which explains why upgraded ones exhibit the acute condition. In particular: **** Upgraded Structure Defaults ***** Auto Session Man: Off Web Process Timeout: 5 minutes - 1 hour **** v14 New Structure Defaults ***** Auto Session Man: On Web Process Timeout: 8 hours Hopefully this can get addressed before 14.3 is out. I’ll report it on the beta forum. Peter _______________________________________________ Active4D-dev mailing list [email protected] http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://active4d-nabble.aparajitaworld.com/ _______________________________________________ Active4D-dev mailing list [email protected] http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://active4d-nabble.aparajitaworld.com/
