splitlog.pl resources exhausted
Ned Schumann (ned@olympus.net)
Sun, 2 Mar 1997 13:44:42 -0800 (PST)
splitlog is exiting with the following error message...
Allocation too large at ./splitlog.pl line 714.
while (($ipnum, $value) = each %DNScache)
{
($host, $seen) = split(/\|/, $value);
if ($StartTime > ($seen + $DNSexpires)) {
line 714 --> push(@expired, $ipnum);
}
}
Indicating that the dnscache.db file is probably too large at 6Mb.
-rw------- 1 wwwadmin users 5947392 Mar 2 12:52 dnscache.db
How do I increase the resources? I'm running BSDI 2.1 with 51Mb free and I
invoked splitlog as follows...
./runMKstats where 'runMKstats' is ..
unlimit nice
./splitlog.pl -x -dir /pathtoLogDirectory -dns -C 404 /var/log/apache_access.0
Thanks!
Ned