I've been battling an ongoing problem with my 4D web server hanging for
over a year now, across 4D 2003 and now 4D 2004, A4D 3.0 and 4.0, with
different computers and different OS's (XP Pro and Server 2003), all
with the same problem...  

Typically the 4D client could go a week or two with now problems, and
until a couple weeks ago I could sort of "live with it".  Basically
after some point, the client would stop responding to all http activity.
The 4D client would actually still be working, and I could use it for
other 4D activities, it's just the responding to web requests that would
stop?  If I tried to exit the client, the processor usage would peg to
100% and just hang indefinitely until I aborted the process.

But we've taken on a new customer that does a lot of web orders, and
I've also created some web services that allow their database to query
for order history and enter new orders directly into our database.
Currently I'm getting about 13,000 soap requests per day, and a few
hundred web hits.  My web server was starting to hang several times a
day and I could no longer afford for the client to stop working like
this!

I've tried going through 4D tech support but nothing has really come of
it.  So yesterday I asked if I could somehow get a license to try
serving from 4D Server, and see if that helped.  Turns out they are able
to give out time based temporary licenses, and I received a 2 week
license for Web Server and Web Services.  Late last night I came in, and
was going to switch over the website and web services from client to
server, but as it turned out, I couldn't activate the licenses because
4D's website was down.... go figure! :)

But anyways, to my point.  I was reading through the installation docs
for A4D to see what I had to change for my migration from client to
server, and noticed I had a couple settings a bit different than the
suggested.  On the "Advance" tab, I had "Use the 4D Web cache" selected
and the "Pages Cache Size" set to 131072 (128K), as opposed to what the
docs say, which is unchecked and 0.  I also discovered my "Generic Web
User" was set to one of my normal users, and not the specific user I log
onto the web server client with, which has the permissions to web
server.  I changed all of these to the recommended A4D settings.  I
saved everything and started everything back up without making any other
changes.

Now my web server has made it through an entire day with no issues!
(knock on wood)  I'm very curious now to see how long the client goes
before it hangs again.  Will it be a day or two, a week or two like
before, or did I solve the problem?  Could my previous settings have
been causing these problems all along?  If not, what else can you
suggest I try or do to find and fix my problem?

Any insight would be much appreciated!  
4D Server 2004.3 on Windows Server 2003, 4D client on XP Pro, A4D
4.0.0rc6, all the latest Windows patches installed...

Thanks,
Jason Hect
 

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to