[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
172.209.110.104] Undefined subroutine
&Interchange::Link::die_page called at
/usr/lib/perl5/site_perl/5.8.2/Interchange/Link.pm
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,
$line);

    my $ok;

    local(*SOCK);

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

    if($cfg->{RandomServer}) {
        $socklist = [ @$socklist ];
        shuffle($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.
http://promotions.yahoo.com/new_mail 


More information about the interchange-users mailing list