Continually Polling Server / Status 304 Loops

I have pages on my website that use a Javascript loop to display an animation. Here is a typical page, the RADAR image is the animation in question:
http://ozforecast.com.au/cgi-bin/weather.cgi?station=Toowoomba.QLD&radar
I have noticed in my Apache logs that sometimes Firefox clients and derivatives such as Galeon can get stuck in a loop where they hit the server with an If-Modified-Since for every image every time they go through the animation loop.
The server responds with http status 304, but then on the next pass through the animation the whole cycle repeats. This generates a lot of traffic for the clients as well as myself.
I have tried using mod_expire on the server to instruct the client to use the cached copy of the images and I can see in the HTTP headers that Cache-Control is being set correctly, however header this hasn't fixed the errant browsers:
Cache-Control: max-age=86400
This only happens every now and again. At the moment my logs show three Firefox clients stuck in this loop, the user-agent strings are currently all the same:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100824 Firefox/3.6.9 GTB7.1 ( .NET CLR 3.5.30729)
I am not sure if this is a bug per se, but I wonder if anybody could please suggest what I can do in either the Javascript or the Apache config in order to prevent clients from getting into this state?
Many thanks,
David

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
[http://forums.mozillazine.org/viewforum.php?f=25] <br />
You'll need to register and login to be able to post in that forum.

Similar Messages

  • FPGA compiler Server status says idle but Status says compiling VHDL

    when i compile my FGPA vi file , after some time in the compile server window "Server status" shows "idle.." but the status box shows "Compiling VHDL".
    It stays in this condition for a long time about 30 mins. Why is this happening? I am also attaching the screenshot of the compile server.
    FPGA vi i am trying to compile is the Sine Generator.vi which was there in examples under FPGA Fundamanetals->Analysis and Controls.
    Attachments:
    compile server.JPG ‏59 KB

    I am attaching the block diagram of the fpga vi. It is a sine generator example which was in the labview examples folder.
    I am seeign this behaviour only when i compile this fpga vi. I have compiled other fpga vi's without any problem.
    Attachments:
    fpga vi for sine genrator.JPG ‏127 KB

  • Monitor Process Server Status

    Hi,
    Recently we had an example of a process sever going into the "unknown" state. We didn't know about the condition and jobs were I assume queued up for execution. Since they were not killed or canceled we did not receive any notification.
    Is there a simple method of monitoring the process server status that we can then leverage to send some notification in the event of a non "running" status. Thanks.
    Kind Regards,
    David Carr

    Hi
    Re: Thanks for the replies. We are on standalone version 6.0.2 SP11
    Not sure if this applies with the standalone version, but our Redwood CPS runs on SAP 700 SP15, but the patches I refered to earlier are found on the main screen of Redwood after logging in, and clicking on the 'Product Information' logo (Big letter i) in the top right hand corner. Should say something like:
    Version: SAP 7.00
    Build: M26.17-31458
    What build are you on?
    Cheers
    Ross

  • Need a bat script to check Server status remotly.

    Hi,
    I need bat script to check server status remotly (Ping) for multiple servers. It should generate a txt file for result.
    Thanks.

    Hi Ravi,
    To ping multiple computers and generate report cia cmd, please refer to the script below, the "fnm" is computer name list and the "lnm" is the result, and you can save the script below as .bat file:
    @echo off
    set fnm=d:\test1\computers.txt
    set lnm=d:\test1\ping.txt
    if exist %fnm% goto Label1
    echo.
    echo Cannot find %fnm%
    echo.
    Pause
    goto :eof
    :Label1
    echo PingTest STARTED on %date% at %time% > %lnm%
    echo ================================================= >> %lnm%
    echo.
    for /f %%i in (%fnm%) do call :Sub %%i
    echo.
    echo ================================================= >> %lnm%
    echo PingTest ENDED on %date% at %time% >> %lnm%
    echo ... now exiting
    goto :eof
    :Sub
    echo Testing %1
    set state=alive
    ping -n 1 %1
    if errorlevel 1 set state=dead
    echo %1 is %state% >> %lnm%
    Refer to:
    Explain the Batch script to ping multiple computers
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Question:managed server status display unknown ??

    platform: AS5 weblogic8.16 cluter
    when managed server startup,status ok,but after some days,managed server status is unknown or shutdown in console web
    I check process "ps -ef|grep java" managed server process exit
    and application on managed server is ok
    this is log in domain.log
    ####<2009-9-9 <Warning> <Management> <web3> <myserver> <ExecuteThread: '1' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <BEA-141138> <Managed Server web03 is disconnected from the admin server. This may be either due to a managed server getting temporarily partitioned or the managed server process exiting.>
    after restart managed server ,status running
    so why managed server status display unknown/shutdown after some days?? how can i solve this problem??

    Status unknown means that node manager can't establish contact with the mgd server. If your server is dropping out of the cluster, that would result in Unknown.
    Your server could be dropping out of the cluster for many, many reasons. If it is always the same server dropping out, that points to a particular node in your cluster.

  • Weblogic.admin script to alert server status

    Hi,
    Can anybody share a weblogic.admin utility script for alerting the server status in unix ?

    Below is the solaris shell script integrated with weblogic.admin utility....
    If the server status is other than running it will sends a alert mail to you.
    Sometime your server may be in shutdown mode and if you execute the below script, it says destination not reachable on specified port and then also it sends a alert mail.
    Change it according to ur env and execute...
    set -x
    export CLASSPATH=”/wl_home/server/lib/weblogic.jar”
    declare -a Port=( 8003 7072 8201 )
    declare -a ServerState[]
    declare -a ServerName[]
    declare -a ObjectName[]
    i=”0″
    IP=Weblogic host address
    while [ $i -lt 5 ]
    do
    ServerState[$i]=`java weblogic.Admin -url $IP:${Port[$i]} -username weblogic -password weblogic GET -pretty -type ServerRuntime -property State |grep -i State |awk ‘{print $2}’`
    ObjectName[$i]=`java weblogic.Admin -url $IP:${Port[$i]} -username weblogic -password password GET -pretty -type JVMRuntime -property ObjectName |grep -i ObjectName |awk ‘{print $2}’`
    if [ "${ServerState[$i]}” != “RUNNING” ] ;
    then
    mailx -s ” Weblogic Server Staus- $IP ” [email protected]<<EOF
    Weblogic Managed server ${Port[$i]} is in SHUTDOWN state
    EOF
    fi
    i=`expr $i + 1`
    done
    Thanks,
    Kartheek
    Troubleshooting in weblogic gives thrilling experience .......

  • Script for Checking the Server Status

    Hi All,
         I just need the script for monitoring the server status through the WLST.My scenario:I have 2 server in Running State.If any one of the server get failed or in not RUNNING state then i use the script for starting that server automatically.I tried some of the script but it is not working properly .If any one have the sample script please share with me.
    Regards,
    Ove.

    Hi Syed,
    Replication state is very easy to see in 4.x and earlier. The last changenumber in the supplier changelog is visible (on the root DSE IIRC), and each consumer suffix has an operational attribute "copiedfrom" that tells you the name of the supplier, the database generation id, and the last change replayed from the supplier.
    So a script that compares the results of
    ldapsearch -h <supplier> -s base -b "" "objectclass=*" lastchangenumber
    and
    ldapsearch -h <consumer> -s base -b <base_suffix> "objectclass=*" copiedFrom
    will show you if a replica has fallen out of sync. It won't tell you more than how many changes behind the replica is, though, because pre-5.x changenumbers are sequential integers, not timestamps.
    However, the change that corresponds to the changenumber is clearly visible under the "cn=changelog" suffix. So if you look at the change itself you can see the timestamp on it.
    For more info on the status of replication, you should be able to query the agreements on the supplier. Those live under the "Netscape Machine Data Suffix", which you can also find on the supplier's root DSE:
    ldapsearch -h <supplier> -s base -b "" "objectclass=*" netscapemdsuffix
    And of course the error logs will usually tell you if replication is failing outright.
    I may be off on some of the attribute names, but if you do some investigating along these lines, you should be able to figure it out.

  • SOA server status

    I am new in SOA 11g.
    I run scripts:
    startWebLogic.cmd
    startManagedWebLogic.cmd soa_server1
    startManagedWebLogic.cmd bam_server1
    Then, I login to the EM.
    Under the Resource Adapters in the left, the oracle-bam(11.1.1) and soa-infra are down.
    Under the BAM, OracleBamServer (bam_server1) is down.
    Others are up.
    Are these server status correct?
    How to change the the status of these servers from down to up?

    Are you able to access SOA Infra/BAM page?
    If not, check your server logs for any exceptions/errors.
    If there are no errors, try starting your servers from EM (You need to run node manager for this operation).

  • J2ee server status stopped in one of application server

    Short Text
    J2ee server status stopped in one of application server
    Long Text
    Dear supprot,
    We have 3 application servers to our production server.
    App1 and App3 are working fine. when i am trying to start App2
    J2ee server0 for the same server is getting stopped.
    at that time "r3trans -d" is also taking lots of time on all the servers but giving RC 000.
    when i will stop the app2 application server again "r3trans -d" status is
    coming fast with 0000 for remaining servers and at that time everything is working fine.
    please kindly help me to resolve this problem.
    Regards
    Nirgun

    Hello,
    Refer to the log files in the instance work directory for a clue why the server node does not start. Usually the files you are interested in are:
    dev_serverX
    std_serverX.out
    dev_disp
    If you share these files I could help you identify and fix the problem.
    Regards,
    Ventsi Tsachev
    Technology Development Support (J2EE Engine)
    SAP Labs, Palo Alto, Ca (USA)

  • How to get server status

    Hi all,
         I want to know the server status,wether it is
    started or restarted,through an application in java.
    How is it possible.Send me some related code for this or some links for this.

    Hi Guru,
    You can try to use JStartup library from your NWDS installation (root\eclipse\plugins\com.sap.bc.proj.jstartup\lib\). Something like this :
    import com.sap.bc.proj.jstartup.api.JStartupClusterController;
    import com.sap.bc.proj.jstartup.api.JStartupClusterControllerFactory;
    import com.sap.bc.proj.jstartup.api.JStartupClusterInstance;
    import com.sap.bc.proj.jstartup.api.JStartupInitialFactory;
    try {
         JStartupClusterControllerFactory clusCtrlFac = JStartupInitialFactory.getInitialFactory().getClusterControllerFactory();
         JStartupClusterController clusterController = clusCtrlFac.getClusterController("SERVER_NAME", SERVER_PORT);
         JStartupClusterInstance[] instances = clusterController.getInstances();
         for (int i = 0; i < instances.length; i++) {
              JStartupClusterInstance instance = instances<i>;
              System.out.println(instance.getHost());
              System.out.println(instance.getMessageType());
              System.out.println(instance.getName());
              System.out.println(instance.getState());
              System.out.println();
    } catch (Exception e) {
         e.printStackTrace();
    It gives all information like "J2EE Engine" view in NWDS does.
    Best regards, Maksim Rashchynski.

  • OAS is in "Continue and Converge" status, what does it mean ?

    Hi all,
    Could any body please explain, what does it mean by : OAS is in "Continue and Converge" status ?
    What is the impact on our mission critical application that we to deploy on it (OAS 10g/11g) ?
    What will happen to OAS 11g ?
    Thank you,
    xtanto

    The message in the log is the last thing recorded before my system experiences screen flickering, system lockup, and then a screen full of a random color such as a dark red, dark yellow, grey, or black.  I can see that the screen is still on and back lit, but I have to force quit the computer and restart it.
    I have not been able to reproduce the problem to a specific piece of software as it has occurred while running Safari, Pages, Starcraft 2, heck even just moving documents around in the Finder. The problem started at the end of March.
    Apple Hardware, Disk Utilities, and TechTool Pro 6 says, for the most part, that everything is just fine. TTP6 did highlight 3 issues with the SMART parameters for my hard drive - 2 of which ("Seek Error Rate" &amp; "Hardware ECC Recovered") still passed the test. The one hard drive issue that failed the test was the "Temperature Changes".
    For absolute completeness sake, after exhausting my bag of troubleshooting tricks, I started from scratch. (Something I haven't had to do since the days of OS 9.)
    I have since :
    Thoroughly wiped my drive.
    Reformatted my drive.
    Reinstalled Lion (which I've used since its release without problem).
    Used TTP6 to Defrag &amp; rebuild directories.
    All software is up to date.
    The only additional software I've reinstalled, for graphical stress testing is SC 2.
    The system still randomly suffers screen flickers, followed by system lockup, and then the screen displays a solid color = force system reboot.
    My fixation on the graphic hardware is because the most reoccurring log reports from the Console notify of a GPU restart and the "NVIDIA" channel report. Oh, a few days ago I did get a kernal panic on :
    "(cpu"

  • Server status constantly = republish when using @HandlerChain annotation

    I'm just learning web services and have developed a very simple 'HelloWorld' type web service to play with. The service works fine with the test client that comes with Workshop.
    The actual service I develop in the future will have to make use of a SOAP Message handler chain, so I've been following the directions in [this document|http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webserv_adv/handlers.html] When I add the @HandlerChain annotation to the JWS file and save, the WebLogic server status changes to "republish," as expected. However, when I publish the server, the status remains "republish." Stopping/starting and restarting the server does not change this behavior. If I remove the annotation from the JWS file and publish the server, the status will change to "synchronized."
    Has anyone who has worked with Handler Chains in web services using Workshop seen this behavior, or can you recommend a solution?

    Answering my own question...
    I eventually found the error log view and it told me what the problem was (an error in the XML file defining my handler chain).

  • Report server status command

    I can't find the Unix command for the Oracle Report Server status. Help?
    I get 'REP-51002: Bind to Reports Server x failed'. I'm wondering if the report server is running.

    Admin is out of office, couldn't find status, but found how to bounce
    $ORACLE_HOME/bin/rwserver.sh server=servername01 shutdown=normal authid=%SERVERACCESSKEY_USER%/%SERVERACCESSKEY_PASSWORD%
    $ORACLE_HOME/bin/rwserver.sh server=servername01 startup=normal authid=%SERVERACCESSKEY_USER%/%SERVERACCESSKEY_PASSWORD%

  • Server status shown as 'Not Configured' in single server farm.

    In a single server farm, after installation and running the configuration wizard for multiple times, the status of server is shown as 'Not Configured'. There is no abnormality in any other features (so far), everything functions fine, but we see the 'Not
    configured' message in 'Servers in Farm' and 'Manage Patch Status'. We have used  the same AutoSPInstaller script to install Sharepoint on two machines SPDev1 and SPDev2. This error does not show up on SPDev1 but on SPDev2. Is this something to worry
    about ?

    Hi ,
    According to your description, my understanding is that the server status showed “Not Configured” in single server farm.
    Please run SharePoint 2013 Products Configuration Wizards to remove the server from the farm via clicking “Disconnect the existing farm”. After finishing, re-run configuration wizards to connect the existing farm.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Need XML APIs for finding server status details

    Hi,
    Can any one help me with the XML API format for finding server status details like Admin State,Avail State,Assoc State,etc.
    Thanks and Regards
    -Prateek

    Here is a very basic example.  I pulled out all the extra error trapping / logging.  I have been building a module that simplifies  most of this .. will produce simple Dumper output for what you are generally looking to do.
    The below example will connect to a default UCSM emulator ( http://developer.cisco.com/web/unifiedcomputing/start ) .. just change IP to match.  If you want a significantly more detailed information ( hierarchical ) ... change inHierarchical="false" to  inHierarchical="true".
    Let me know if you want something more specific.
    #!/usr/local/bin/perl
    use strict;
    use warnings;
    use Data::Dumper;
    use LWP::UserAgent;
    use HTTP::Request::Common;
    use XML::Simple;
    use POSIX;
    $Data::Dumper::Purity = 1;
    $Data::Dumper::Useqq = 1;
    ### Configurables
    my $ucsm = "10.#.#.#";
    my $user = "config";
    my $pass = "config";
    my $proto = "http";
    my $cookie;
    my $xml = XML::Simple->new();
    my $xml_blade = XML::Simple->new(ForceArray => ['computeBlade']);
    ## Setup User Agent
    my $ContentType = "application/x-www-form-urlencode";
    my $userAgent = LWP::UserAgent->new(agent => 'perl post');
    $userAgent->timeout(5);
    &connect;
    my $blades = &getblade;
    print Dumper $blades;
    &disconnect;
    ### Subroutines
    sub connect {
       my $message = q();
       print 'http://'.$ucsm.'/nuova\n';
       my $response = $userAgent->request(POST $proto.'://'.$ucsm.'/nuova', Content_Type => $ContentType, Content => $message);
       my $xml_ref = $xml->XMLin($response->content);
       $cookie = $xml_ref->{outCookie};
    sub getblade {
       my $message = q();
       my $response = $userAgent->request(POST $proto.'://'.$ucsm.'/nuova', Content_Type => $ContentType, Content => $message);
       my $xml_ref = $xml_blade->XMLin($response->content, keyattr => []);
       return $xml_ref->{outConfigs};
    sub disconnect {
       my $message = q();
       my $response = $userAgent->request(POST $proto.'://'.$ucsm.'/nuova', Content_Type => $ContentType, Content => $message);

Maybe you are looking for

  • How to Measure Function Module Performance?

    Please can you tell me how I can measure the performance and trace the actions of a Function Module in R/3? The function module in R/3 is run when a user calls a WebDynpro action from a WebDynpro screen within the SAP Portal. I have tried running a t

  • Product Hierarchy:  Add product hierarchy whenever G/L for payment diff

    Hello SAP Gurus- We are on ECC 6.0.  I have a requirement where the business wants a product hierarchy assigned to all postings to payment differences account during cash application. How is this done? Thanks!

  • I've forgotten my password for the volume lock on my childs account how can i reset it?

    I have a password to lock the volume on my son's ipod. I've forgotten it, and it's not the same as my Apple password. How do i reset this password?

  • Update Access to Web forms in Planning

    We have issues in all of our Planning applications, all databases on both production and development. We have had the applications in administrator mod since September. We are ready to start testing to prepare for this year's budget cycle. I created

  • CLASS-DATA in OO ABAP

    Hi, I know the definition of CLASS-DATA in OO concept. I understand that it can be accessed by on CLASS-METHODS. But what is the use of it ? Why do we need static data ? Is this different fro STATICS we use in procedural ABAP. Regards, Rajesh.