in reply to Re^4: CGI page sometimes do not loading, apache write error
in thread CGI page sometimes do not loading, apache write error

... i think there will be no problem if it will be generates in a moment

To figure out whether the issue is in fact time related, you could (for debugging purposes) pre-generate one of your large pages from the commandline by redirecting the CGI's output to a file

(in your cgi-bin directory on the server) $ ./simashin.cgi param1=value1 param2=value2 ... >test.html

Then try loading the resulting static html page via the same server (put the test.html into htdocs/... or wherever, not in cgi-bin/, of course).  See the debugging section in the CGI docs for details.

Replies are listed 'Best First'.
Re^6: CGI page sometimes do not loading, apache write error
by simak (Sexton) on Mar 25, 2010 at 06:47 UTC

    So, i made some tests. I generated 200 pages local - right on the server.

    perl simashin.cgi params > file_name.html

    The result is :

    • Each of 200 pages generates till the end -> </html> without any errors. So we can make conclusion, that the cgi script works fine
    • This static generated pages can easily load with browser. So we make the conclusion that problems not in content of page.

      So the problem can be only in connection(provider, home server, router, something that i can`t even imagine :) ...) or in apache

      Thinking about - how can i find the weak place

      I think it is time to some tests with LWP