This is just an update on a previous post "Limbo Land..." and maybe
something else.
Aparajita and I have been looking at this for a couple weeks and have
both concluded that it is 4D Web Server running on a client with
2003.8. Just though I'd update the post to see if anyone else has
experienced this problem in the past (or runs into it in the future).
Hopefully it will go away next week if we can get Foundation 3
working with 2004. (extras.4cx crashing 4D on some commands)
The clues:
4D Web server on client will stop responding - sometimes twice a day
- maybe every 15 hours or so, sometimes not for a day or two.
The hang will more often than not last for 180 seconds (+-2 seconds).
No other processes running on client - other than custom menu and
housekeeper.
During the hang, the 4D Client is responsive - can open tables,
queries etc. (it is headless/KVM switch) - Obviously finder responding.
Can do timing because I have AppleScript that hits a test script
every 30 seconds and logs hangs - launches tools etc.
No spinning beach ball.
No consistent time of day(not cron, launchd, timed process)
During the hang, Apache, running on same machine is responsive (not
ipfw that does some forwarding).
During the hang, Active4D will not serve and 4D will not serve from
webdecoy. (not Active4D)
I have had hangs at 5 in the morning with no traffic, other than the
test script - not code in a script - not record locking - not trigger.
Active4D housekeeper keeps on trucking during the hang, deleting
sessions etc. (running logging version) - not housekeeper.
Activity Monitor sample data taken during hang shows nothing unusual
(deadlocked semaphore). It has been observer that the IC Command Pop
Login may not be clearing a semaphore properly. I used it for
authentication. When I changed to LDAP, it would still hang when the
apparent uncleared semaphore was not there. (it does come back on
some other IC call!)
Shark (performance tools) shows no hog processes during the hang.
Ain't this fun!
Sure smells like a garbage collection process somewhere, but don't
know where. I've observer this hang for almost a year, but maybe only
once or twice a month until about a month ago. The only thing I can
think off that I changed is that I started to use PDF Plugin virtual
file system for PDFs generated from Active4D - but I can't see - even
if it has a housekeeping routine - how it would muck with the web
server.
Steve Alex
AIDT
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/