Date:  11/01/2007 01:45:54 PM Msg ID:  003563
From:  David Hempy Thread:  003563
Subject:  Problem with Channels

 
After upgrading our development server to FoxWeb 4.0 and VFP 9.0, I'm seeing a few oddities:
 
 
When running FoxWeb as an application:

    1. Pages are served correctly to the browser.
   
    2. With 3 channels, only channels 1 and 2 get any traffic, no matter how hard I hit the server.  According to FoxWeb Status, it seems channels 1 and 2 alternately servicing hits...I've never seen them both show up as "busy" at the same time.  Even with a 10 second backlog of hits, channel 3 gets no traffic.
     
     
 
When running as a service:
 

    1. The FoxWeb service is very slow to start...maybe 30-60 seconds to start 3 channels.  Odd, but not a great problem.
    
    2.  I get  "No Channels Active" for every hit.
   
    3. In FoxWeb Status, the page "lights up" when the service starts, but no channels ever appear. "Pending Requests" changes from 0 to 1 as I send traffic to the server, but never higher than 1.  It takes maybe 15 seconds for it to return to 0 and send a "No channels active" error to the browser.
    
    4. In fwstart.log, I see all three channels being restarted every 30 seconds, with no traffic:
   
        11/01/2007 15:51:59 Starting FoxWeb
        11/01/2007 15:52:29 Restarting Channel 1
        11/01/2007 15:52:29 Restarting Channel 2
        11/01/2007 15:52:30 Restarting Channel 3
        11/01/2007 15:52:59 Restarting Channel 1
        11/01/2007 15:52:59 Restarting Channel 2
        11/01/2007 15:53:00 Restarting Channel 3
        11/01/2007 15:53:29 Restarting Channel 1
        11/01/2007 15:53:29 Restarting Channel 2
        11/01/2007 15:53:30 Restarting Channel 3
        11/01/2007 15:53:59 Restarting Channel 1
        11/01/2007 15:53:59 Restarting Channel 2
        11/01/2007 15:54:00 Restarting Channel 3
        11/01/2007 15:54:29 Restarting Channel 1
        11/01/2007 15:54:29 Restarting Channel 2
        11/01/2007 15:54:30 Restarting Channel 3
        11/01/2007 15:54:59 Restarting Channel 1
        11/01/2007 15:54:59 Restarting Channel 2
        11/01/2007 15:55:00 Restarting Channel 3

        I see no entries related to actual traffic in fwstart.log.
       
        The web server error log have no entries.  The web server access log shows server status "200" for FoxWeb hits.
       
        The error log is empty.
       
        The Windows Event Log (application, system, security) shows no relevant messages.
       
        I changed the script timeout from 30 seconds to 15 seconds and restarted the service, but the restarts still occur at 30 second intervals:
       
        11/01/2007 16:01:11 Starting FoxWeb
        11/01/2007 16:01:41 Restarting Channel 1
        11/01/2007 16:01:41 Restarting Channel 2
        11/01/2007 16:01:42 Restarting Channel 3
        11/01/2007 16:02:11 Restarting Channel 1
        11/01/2007 16:02:11 Restarting Channel 2
        11/01/2007 16:02:12 Restarting Channel 3
        11/01/2007 16:02:41 Restarting Channel 1
        11/01/2007 16:02:41 Restarting Channel 2
        11/01/2007 16:02:42 Restarting Channel 3
        11/01/2007 16:03:11 Restarting Channel 1
        11/01/2007 16:03:11 Restarting Channel 2
        11/01/2007 16:03:12 Restarting Channel 3
        11/01/2007 16:03:41 Restarting Channel 1
        11/01/2007 16:03:41 Restarting Channel 2
        11/01/2007 16:03:42 Restarting Channel 3

    
    
    
    
    
     
I've rebooted the server with no improvement.
 
I'm seeing several dozen "vfp9.exe" processes in Task Manager.  When I stop the FoxWeb service and close all other applications, I still see these processes.  I've seen perhaps 75 vfp9 processes running simultaneously. 

Shortly after a reboot, with FoxWeb configured as a service, there were about 25 vfp9 processes running.  They don't seem to be increasing per hit or per channel restart, but the number does seem to grow with time.  Stopping the service does not make them go away.  Starting the service seems to add more processes...sometimes 20-ish, sometimes just 2 or 3.


 
I've run out of things to try or test.  Any ideas of things I may have missed?
 
--
David Hempy
Internet Database Administrator
Kentucky Educational Television
(859)258-7164 - (800)333-9764