Skip to Content.
Sympa Menu

en - [sympa-users] Sympa process died

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Silvers, Tim" <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: [sympa-users] Sympa process died
  • Date: Wed, 8 Dec 2021 21:37:34 +0000

We have recently started experiencing issues with Sympa crashing. Logs will indicate memory cannot be allocated. Memory usage on the system during the crashes will often be 85-90% used.

 

Here is the log line from the latest crash:

 

Dec  7 17:25:09 list-app sympa_msg[1787]: err main::#243 > Sympa::Spindle::spin#95 > Sympa::Spindle::DoForward::_twist#186 > Sympa::Mailer::store#160 > Sympa::Mailer::_safefork#255 DIED: Exiting because cannot create new process for <address@concealed>: Cannot allocate memory at /usr/share/sympa/lib/Sympa/Mailer.pm line 255.

 

Line 255 in Mailer.pm is the die statement inside of the ‘safefork’ subroutine [1].

 

We are running Sympa 6.2.64 on CentOS 7 and we have 8 GB of RAM allocated to the system.

 

Any help is appreciated.

 

Thanks,

 

Tim

 

[1] ## Safefork does several tries before it gives up.

## Do 3 trials and wait 10 seconds * $i between each.

## Exit with a fatal error is fork failed after all

## tests have been exhausted.

# Old name: tools::safefork().

# Note: Use store().

sub _safefork {

    my $tag = shift;

 

    my $err;

    for (my $i = 1; $i < 4; $i++) {

        my $pid = $process->fork($tag);

        return $pid if defined $pid;

 

        $err = $ERRNO;

        $log->syslog('err', 'Cannot create new process: %s', $err);

        #FIXME:should send a mail to the listmaster

        sleep(10 * $i);

    }

    die sprintf 'Exiting because cannot create new process for <%s>: %s',

        $tag, $err;

    # No return.

}

 

1;

__END__




Archive powered by MHonArc 2.6.19+.

Top of Page