[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: Fri Oct 12 05:04:12 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Dear gsh,
Yes, I have to lock file. It is a kinda of counter data.
> (The splits and joins are fairly expensive btw)
You mean split and join commands need high power CPU ?
Peterson W.
---------------------------------------- 8< ----------------------------------------
On 10/12/2001 at 3:28 AM flash22@xxxxxxx wrote:
On Fri, 12 Oct 2001, Tong Narak wrote:
> 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
> open(DATA,"+<dat/${DATE}.dat") or die;
> flock(DATA,2);
> @data = <DATA>;
That is probably killing you, you are locking the file for EXCLUSIVE
access, every other cgi has to wait till this one is done...do you really
need it locked all the time?
(The splits and joins are fairly expensive btw)
gsh
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users