Hi
I have a very persistent but elusive server hanging problem I'm trying
to track down. (Runs under 4D Client v11.7, Windows, Active 4D 5.0 r19).
The live web server hangs every 24-36 hours. Some kind of un-handled
error happens inside a web process in between a semaphore set/unset,
leaving the semaphore set and blocking all other web processes. Error
handling is on.
On the other hand, the test server (running under a much higher load)
gets a runtime error after about 3-5 hours . . . "An array was
expected" in a DELETE FROM ARRAY command.
I'm into my 4th week trying to fix this and I don't even know if the 2
symptoms are the same problem or different ones.
What puzzles me is that the runtime error (on the test server) is
reported by the 'Internal bridge Process' which I don't know anything
about or why it would be executing one of my methods.
One line I'm pursuing (re. the R/T error) at the moment is Active4D
timing out (although it's not 8 hours). One suspected source is this
block (which runs inside a component):
****************************** POSSIBLE SUSPECTED PROBLEM BLOCK
********************************
ARRAY LONGINT(arrIDS;0)
ARRAY REAL(arrTIMOUTS;0)
ARRAY LONGINT(arrREMAINING;0)
ARRAY LONGINT(arrSIZES;0)
A4D GET SESSION STATS (arrIDS; arrTIMOUTS; arrREMAINING; arrSIZES)
CLEAR_ARRAY(»arrIDS) ` <------ 4 consecutive runtime
errors reported here by the 'Internal Bridge Process'
CLEAR_ARRAY(»arrTIMOUTS)
CLEAR_ARRAY(»arrREMAINING)
CLEAR_ARRAY(»arrSIZES)
*******************************************************************************************************************
If Active4D timed out, could it cause the problem I'm seeing ?
Is there any way I can accelerate the timeout so I can eliminate this
line of enquiry or otherwise ? (I tried moving the system clock
forward but I think A4D just uses an elapsed timer internally so I
presume there isn't any way of simulating it).
Best Regards
Peter Jakobsson
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/