in reply to Perl Script Server Push Died while running

How long is your process taking? Could it be longer than the Timeout value that you have set in your Apache config? (see Timeout directive in Apache's docs).

Clint

Replies are listed 'Best First'.
Re^2: Perl Script Server Push Died while running
by Anonymous Monk on Aug 21, 2007 at 17:57 UTC
    With server push, it should get around the timeout issue that is set in the Apache config since the connection is always opened to the client, but I don't think this is the problem since it sometimes died within 10 seconds of the test that was supposed to be 5000 seconds. I suspected that the c program is sending request packages to the database application on another machine (there are only three machines right now within a network hub, one running the database application, the second running the Apache web server, and the third running the browser) and every second returned statistic data to the perl script. When the perl script pushed the data to the web client, the package got collided with the database requests from the C program to the database application and caused the connection between the perl script and Firefox to die. I am not sure how to verify this is to be the case. I did notice that when I set the data to be returned from the C program to every 20 seconds, the problem is less likely to occur. Any help?