[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RE: RAQ3 128MB - load average: 64.62, 73.63, 42.86
- Subject: Re: [cobalt-users] RE: RAQ3 128MB - load average: 64.62, 73.63, 42.86
- From: "Tong Narak" <tong@xxxxxxxx>
- Date: Thu Oct 11 23:43:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Sir,
bash# grep VM_ /var/log/messages
bash#
No, it doesn't have the error. below is my go.cgi
which access very often by visitor it is in my webboard.
#!/usr/bin/perl
use CGI;
$q = new CGI;
&CheckDetail;
############################### ReLocation #################################
print "Location: $URL \n\n";
############################### Count Hits #################################
if ( ! -e "dat/${DATE}.dat" || $URL eq "" )
{
exit;
}
open(DATA,"+<dat/${DATE}.dat") or die;
flock(DATA,2);
@data = <DATA>;
seek(DATA,0,0);
foreach my $item (@data)
{
$item =~ s/\r//;
$item =~ s/\n//;
next if ($item eq "");
@items = split( /<f>/ , $item );
$items[1]++ if ($items[6] eq $URL);
print DATA join("<f>", @items[0..8], "\n");
}
truncate(DATA, tell(DATA));
close(DATA);
################################ Save log ##################################
#if ( open(LOG,'>>dat/go.dat') )
#{
# print LOG "$DATE<f>$URL<f>$IP<f>$ENV{HTTP_REFERER}<f>\n";
#}
############################ Check Submission ##############################
sub CheckDetail
{
$DATE = substr( $q->param('DATE') , 0 , 10 );
$DATE =~ s/<//g;
$DATE =~ s/>//g;
$URL = substr( $q->param('URL') , 0 , 80 );
$URL =~ s/<//g;
$URL =~ s/>//g;
$IP = $ENV{REMOTE_ADDR};
}
############################################################################
exit;
---------------------------------------- 8< ----------------------------------------
On 10/11/2001 at 10:20 PM Support wrote:
Hi,
Can you check if you have messages related to
"cannot free memory for VM_xxx"
with xxx beeing a process on your machine ?
grep VM_ /var/log/messages should give you the answer
As well what is the process called go.cgi ? what is this doing on your
machine ?
database access ???
We had a similar problem on one of our machine... (VM_ bug)
and we fixed it using our own kernel, no memory upgrade was necessary.
If interested see http://www.eurowebhosting.com/cobalt/ for fix.
CU,
F.
> --__--__--
>
> Message: 2
> From: tong@xxxxxxxx
> To: cobalt-users@xxxxxxxxxxxxxxx
> Date: Thu, 11 Oct 101 23:48:33 +0700
> Subject: [cobalt-users] Final Test RAQ3 128MB - load average:
> 64.62, 73.63, 42.86 Need to upgrade ?
> Reply-To: cobalt-users@xxxxxxxxxxxxxxx
>
> Sir,
>
> RAQ3 128MB - load average: 64.62, 73.63, 42.86
> RAQ3 128MB Upgrade RAM to 512MB can solve the problem ?
>
>
> Peterson Westervel
> http://www.nucharin.com
>
>
> 12:02pm up 1 day, 20:25, 3 users, load average: 64.62, 73.63, 42.86
> 257 processes: 188 sleeping, 57 running, 12 zombie, 0 stopped
> CPU states: 78.9% user, 21.0% system, 0.0% nice, 0.0% idle
> Mem: 127860K av, 125136K used, 2724K free, 182900K shrd, 2620K
> buff Swap: 131536K av, 38784K used, 92752K free 11004K cached
>
>
>
> 12:13pm up 1 day, 20:37, 3 users, load average: 16.40, 24.20, 30.28
> 130 processes: 117 sleeping, 7 running, 6 zombie, 0 stopped
> CPU states: 87.5% user, 12.4% system, 0.0% nice, 0.0% idle
> Mem: 127860K av, 109712K used, 18148K free, 111400K shrd, 2832K buff
> Swap: 131536K av, 17096K used, 114440K free
> 34416K cached
>
>
> PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM
> TIME COMMAND
> 31278 tong 15 0 372 372 92 R 0 12.0 0.2
> 1:05 webalizer
> 2326 support 15 0 1652 1652 952 R 0 5.8 1.2 0:00 go.cgi
> 2324 support 14 0 1652 1652 952 R 0 5.4 1.2 0:00 go.cgi
> 2327 support 14 0 1656 1656 952 R 0 5.4 1.2 0:00 go.cgi
> 2325 support 13 0 1652 1652 952 R 0 5.0 1.2 0:00 go.cgi
> 31589 support 3 0 1196 1196 880 R 0 2.7 0.9 0:19 top
> 861 httpd 3 0 4380 1600 1268 S 0 0.3 1.2 0:00 httpd
> 1594 httpd 0 0 4596 1872 1352 S 0 0.3 1.4 0:00 httpd
> 2328 root 14 0 748 748 724 S 0 0.3 0.5
> 0:00 lcdstop
> 28919 httpd 3 0 4440 1696 1208 S 0 0.1 1.3 0:00 httpd
> 28975 httpd 1 0 4212 1408 892 S 0 0.1 1.1 0:00 httpd
> 30733 httpd 0 0 4452 1712 1200 S 0 0.1 1.3 0:00 httpd
> 32356 httpd 3 0 4612 1920 1372 S 0 0.1 1.5 0:00 httpd
> 32364 httpd 3 0 4628 1936 1372 S 0 0.1 1.5 0:00 httpd
> 32548 httpd 5 0 4596 1872 1352 S 0 0.1 1.4 0:00 httpd
> 388 httpd 5 0 4380 1600 1268 S 0 0.1 1.2 0:00 httpd
> 412 httpd 0 0 4612 1920 1372 S 0 0.1 1.5 0:00 httpd
> 418 httpd 0 0 4612 1920 1372 S 0 0.1 1.5 0:00 httpd
> 611 httpd 5 0 4600 1876 1352 S 0 0.1 1.4 0:00 httpd
> 638 httpd 5 0 4596 1872 1352 S 0 0.1 1.4 0:00 httpd
> 910 httpd 1 0 4380 1600 1268 S 0 0.1 1.2 0:00 httpd
> 917 httpd 0 0 4636 1944 1372 S 0 0.1 1.5 0:00 httpd
> 1068 httpd 0 0 4612 1920 1372 S 0 0.1 1.5 0:00 httpd
>
>
>
>
> 12:22pm up 1 day, 20:45, 3 users, load average: 49.05, 26.43, 26.96
> 261 processes: 237 sleeping, 7 running, 17 zombie, 0 stopped
> CPU states: 76.7% user, 21.8% system, 0.0% nice, 1.3% idle
> Mem: 127860K av, 115036K used, 12824K free, 184800K shrd, 2620K buff
> Swap: 131536K av, 36564K used, 94972K free
> 11480K cached
>
>
>
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users