View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
If show_channels returned the "No Channels Active" message, then probably your channels had somehow become inactive.  It is possible that one of your programs causes channels to either time out or terminate.  In such cases, the FoxWeb Channel Broker restarts these channels.  You may be able to get an idea of whether channels are restarted by the broker and which scripts may be causing the problem by examining the file fw_start.log.

There is no easy programmatic way to determine the status of channels (unless you want to capture the HTTP output of show_channels), but one of the features under consideration for a future version is more comprehensive logging.

FoxWeb Support Team

Sent by Faith on 01/02/2002 07:51:22 PM:
I tried to run show_channels.fwx and got the message "No Channels Active."  However, I have my FoxWeb run with 9 channels.  What does that message mean?

Is there anyway to check the status of channels by programming?  I need to produce a report about times of requests hit per channel at different hours.

Sent by FoxWeb Support on 12/28/2001 11:32:49 AM:
The FoxWeb channel broker automatically assigns requests to the first available channel, so you don't need to do that manually in your scripts.  If all channels are busy, requests are queued for execution.  If no channel becomes available after a predetermined amount of time, then an error message is returned.  If you find yourself in this situation a lot, then you may want to increase the channel timeout value, the total number of channels, and most importantly the efficiency of your programs.

If for some reason you want to check the status of your channels remotely, you can do so by calling (replace with the name of your server).

FoxWeb Support Team

Sent by Faith on 12/27/2001 11:06:22 PM:
Is there any way that I can do in my program to report channels' status?  To do the statistic and even to alert and the user that channels' are busy?  Furthermore, to direct users' requests to another channel?