2.3 100 % cpu on host shutdown.

Marcio Gomes marcio at microlink.com.br
Tue Jan 2 16:40:05 UTC 2001


I do strace :

Here outputs last lines ... always freezes in same line,
after open group.index

Strace.

read(6, "dparty 24875\nalt/sports/soccer/m"..., 4074) = 3817
brk(0x839b000)                          = 0x839b000
brk(0x839c000)                          = 0x839c000
read(6, "", 4096)                       = 0
close(6)                                = 0
rt_sigaction(SIGTERM, {0x8049950, [], SA_RESTART|0x4000000}, {SIG_DFL},
8) = 0
rt_sigaction(SIGINT, {0x8049950, [], SA_RESTART|0x4000000}, {SIG_DFL},
8) = 0
rt_sigaction(SIGHUP, {0x8049950, [], SA_RESTART|0x4000000}, {SIG_DFL},
8) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
open("/usr/local/news/spool/overview/group.index", O_RDWR|O_CREAT, 0664) =
6
fstat(6, {st_mode=S_IFREG|0664, st_size=2752520, ...}) = 0
old_mmap(NULL, 2752520, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) =
0x40149000
fcntl(6, F_GETFD)                       = 0
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
time([978453072])                       = 978453072
open("/usr/local/news/log/expire.rm", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 7
open("/usr/local/news/db/active", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=1983696, ...}) = 0
brk(0x839e000)                          = 0x839e000
read(8, "a.bsu.programming 0000000000 000"..., 4096) = 4096

Thanks for your help.

Marcio Gomes



On Tue, 2 Jan 2001, Mirek Luc wrote:

> 
> On Tue, 2 Jan 2001, Marcio Gomes wrote:
> 
> > News.daily freezes... look this :
> > USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
> > news      8711 96.3  3.0  7496 3932 ?        R    09:00 212:16 expireover=
> >  -z/usr/local/news/log/expire.rm -Z/usr/local/news/log/expi
> > expireover is freezing the cpu..
> See what expireover does. Attach to it with trace (strace?). Or with gdb
> if you want to see C source code.
> 
> -Mirek
> 
> 
> 




More information about the inn-workers mailing list