Subject: Developers of Sympa
List archive
[sympa-dev] how to do when sympa cannot lock stats?
- From: Kazuo Moriwaka <address@concealed>
- To: address@concealed
- Subject: [sympa-dev] how to do when sympa cannot lock stats?
- Date: Tue, 16 Aug 2005 17:03:08 +0900 (JST)
Hello,
In List::_load_stats_file(),
my $LOCK = &tools::lock($lock_file, 'write') || return undef;
returns undef when it cannot lock.
This causes Internal server error at List::_save_stats_file() 's
printf STATS "%d %.0f %.0f %.0f %d %d %d\n", @{$stats}, $total,
$last_sync, $last_sync_admin_user;
it causes following error, and exit.
> Can't use an undefined value as an ARRAY reference at
> /usr/lib/sympa/bin/List.pm line 8417.
I found this problem sometime (1 per 100 requests for wwsympa.fcgi run
as CGI(not fastcgi)). How to walkaround it?
regards,
--
Kazuo Moriwaka <address@concealed>
- [sympa-dev] how to do when sympa cannot lock stats?, Kazuo Moriwaka, 08/16/2005
Archive powered by MHonArc 2.6.19+.