[ic] Random 500 errors

Grant emailgrant123b at yahoo.com
Sun Jul 4 00:39:55 EDT 2004

I've been noticing infrequent 500 errors on my new
server which uses Interchange::Link.  Here is the
apache2 error_log output:

Sun Jul 04 00:29:19 2004] [error] [client] Undefined subroutine
&Interchange::Link::die_page called at
line 584.\n, referer: http://my.ip/page.html

When this happens I can hit refresh a few times and
the page will eventually load properly.  Here is the
code from Interchange/Link.pm around line 584:

#warn "Got entity.\n";

    my $cfg = setup_location($r);

#line 584 below
    $SIG{PIPE} = sub { die_page("signal"); };
    $SIG{ALRM} = sub { server_not_running(); exit 1;

    my ($remote, $port, $iaddr, $paddr, $proto,

    my $ok;


    my $socklist = $cfg->{ServerPool};

    if($cfg->{RandomServer}) {
        $socklist = [ @$socklist ];

    my $tries = 0;
    while ($tries++ < $cfg->{ConnectTries}) {
        for my $sockname (@$socklist) {

Does anyone have any idea what could be causing this?

- Grant

Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.

More information about the interchange-users mailing list