Re: sadc and flock

2004-05-12 Thread Grant Grundler
On Wed, May 12, 2004 at 05:03:17PM +0900, GOTO Masanori wrote: > This curse has been existed for a long time. I would like to know > that whether we have plan to fix this problem to change as "EAGAIN == > EWOULDBLOCK" in the near future. If we decide to keep compatibility > with HP-UX for a while

Re: sadc and flock

2004-05-12 Thread Grant Grundler
On Wed, May 12, 2004 at 01:53:36AM -0400, Carlos O'Donell wrote: > Can you try this sysstat package and see if you still have problems? > http://www.parisc-linux.org/~carlos/sysstat/ Installed. We'll see if I get any more error messages. thanks, grant

Re: sadc and flock

2004-05-12 Thread GOTO Masanori
Hi, At Wed, 12 May 2004 01:53:36 -0400, Carlos O'Donell wrote: > It's probably the curse of EAGAIN != EWOULDBLOCK. Oh BTW, it's the same > issue with "menu" aswell. This curse has been existed for a long time. I would like to know that whether we have plan to fix this problem to change as "EAGAI

Re: sadc and flock

2004-05-12 Thread Carlos O'Donell
On Fri, Apr 09, 2004 at 03:03:56PM -0600, Grant Grundler wrote: > Hi all, > I was getting cron job output from /usr/lib/sysstat/sa1 script. > The error was something like "flock: resource not avaiable". Grant, Can you try this sysstat package and see if you still have problems? http://www.parisc-

Re: sadc and flock

2004-04-10 Thread Grant Grundler
On Sat, Apr 10, 2004 at 02:25:36PM -0400, Carlos O'Donell wrote: > glibc version please? ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries and Timezone (debian testing) > Can you get straces of thos sadc processes as they run? > To see where the last one gets stuck? I'll try..

Re: sadc and flock

2004-04-10 Thread Carlos O'Donell
> > RTFM...but it doesn't solve the problem: >-L sadc will try to get an exclusive lock on the outfile before > writing to it or truncating it. Failure to get the lock is > fatal, except in the case of trying to write a normal (i.e. not >

Re: sadc and flock

2004-04-09 Thread Grant Grundler
On Fri, Apr 09, 2004 at 03:03:56PM -0600, Grant Grundler wrote: > Hi all, > I was getting cron job output from /usr/lib/sysstat/sa1 script. > The error was something like "flock: resource not avaiable". ... RTFM...but it doesn't solve the problem: -L sadc will try to get an exclusiv

sadc and flock

2004-04-09 Thread Grant Grundler
Hi all, I was getting cron job output from /usr/lib/sysstat/sa1 script. The error was something like "flock: resource not avaiable". I added one line to /usr/lib/sysstat/sa1: DFILE=/var/log/sysstat/sa${DATE} cd ${ENDIR} + lsof ${DFILE} if [ $# = 0 ] then ... And now maybe 10-20 times per