Thread View: news.software.nntp
5 messages
5 total messages
Started by Conrad Juleff
Fri, 14 Jan 2000 00:00
diablo dreaderd stuck
Author: Conrad Juleff
Date: Fri, 14 Jan 2000 00:00
Date: Fri, 14 Jan 2000 00:00
30 lines
1742 bytes
1742 bytes
With an upgrade to diablo-1.27 I am seeing problems with dreaderd proccesses using 100% of cpu, this didnt happen before: last pid: 52747; load averages: 1.27, 1.13, 0.85 up 55+21:59:42 09:10:53 81 processes: 1 running, 80 sleeping CPU states: 9.1% user, 0.0% nice, 25.1% system, 0.6% interrupt, 65.2% idle Mem: 248M Active, 190M Inact, 45M Wired, 18M Cache, 8282K Buf, 1120K Free Swap: 570M Total, 32M Used, 538M Free, 6% Inuse PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 36178 news 2 0 9824K 4244K select 1 105:30 93.85% 93.85% dreaderd If I look in dreaderd.status, I can see a client which is stuck and its always been a gauntlet firewall: 36178 0230 ACTV x.x.x.x -rp alt.xXOVER 474547-476193 I have tried tracing the dreaderd process but I can see anything out of the ordinary. Anybody else seeing this or got any suggestions? -- |Conrad Juleff (conrad @ is.co.za) |The Internet Solution <All opinions are my own>
Re: diablo dreaderd stuck
Author: Nickolai Zeldovich
Date: Fri, 14 Jan 2000 00:00
Date: Fri, 14 Jan 2000 00:00
25 lines
1647 bytes
1647 bytes
In article <387ecd69$0$25944@helios.is.co.za>, Conrad Juleff wrote: >I have tried tracing the dreaderd process but I can see anything out of >the ordinary. Anybody else seeing this or got any suggestions? My first reaction was "hey, it's probably spinning in sigSegVReader", but then I realized you're probably not running with -X by default. Do you see any messages like "dreaderd[n]: Lost reader process n" in syslog? In either case, you could try attaching to that particular dreaderd process with gdb and looking at what it's doing, e.g. news# gdb -q /news/dbin/dreaderd (gdb) attach <suspicious-pid> (gdb) bt (gdb) q The program is running. Quit anyway (and detach it)? (y or n) y Or you could get a core file for further analysis by using gcore. There is actually a bug in dreaderd's handling of POST requests that I've found, which exists in diablo-1.27 and causes dreaderd to crash, but it doesn't sound like the problem in your case.. -- Nickolai Zeldovich.
Re: diablo dreaderd stuck
Author: Conrad Juleff
Date: Mon, 17 Jan 2000 00:00
Date: Mon, 17 Jan 2000 00:00
48 lines
2569 bytes
2569 bytes
Nickolai Zeldovich <kolya@mit.edu> wrote: > My first reaction was "hey, it's probably spinning in sigSegVReader", > but then I realized you're probably not running with -X by default. > Do you see any messages like "dreaderd[n]: Lost reader process n" in > syslog? In either case, you could try attaching to that particular > dreaderd process with gdb and looking at what it's doing, e.g. I dont see those messages in syslog, the dreaderd process generally doesnt die. I tried attaching and this is what I see: } gdb -q /news/dbin/dreaderd (no debugging symbols found)...(gdb) (gdb) attach 36176 Attaching to program: /news/dbin/dreaderd, process 36176 Reading symbols from /usr/lib/libutil.so.2...(no debugging symbols found)... done. Reading symbols from /usr/lib/libm.so.2...(no debugging symbols found)...done. Reading symbols from /usr/lib/libc.so.3...(no debugging symbols found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)... done. 0x280ce784 in write () from /usr/lib/libc.so.3 (gdb) bt #0 0x280ce784 in write () from /usr/lib/libc.so.3 #1 0x804dde4 in MBFlush () #2 0x804c456 in ReaderTask () #3 0x804b0f2 in ForkPipe () #4 0x804a8bf in main () #5 0x8049e29 in _start () (gdb) q The program is running. Quit anyway (and detach it)? (y or n) y I think that the write () is causing problems since it takes along time to attach to the process, in other cases it is quick. The system is FreeBSD 3.3-STABLE, but is exactly the same as when I was running Diablo-1.25. Usually after a number of hours the dreaerd process fixes itself and runs normmally again. -- |Conrad Juleff (conrad @ is.co.za) |The Internet Solution <All opinions are my own>
Re: diablo dreaderd stuck
Author: Nickolai Zeldovich
Date: Tue, 18 Jan 2000 00:00
Date: Tue, 18 Jan 2000 00:00
19 lines
1601 bytes
1601 bytes
In article <3882e664$0$25941@helios.is.co.za>, Conrad Juleff wrote: >The system is FreeBSD 3.3-STABLE, but is exactly the same as when I was >running Diablo-1.25. Usually after a number of hours the dreaerd process >fixes itself and runs normmally again. Could you take a look at <slrn8885qd.3a8.kolya@SEVEN-UP.MIT.EDU> (in another thread in news.software.nntp) and see if any of the things described there help in your case? The only other change I can see in the dreaderd code was the overview FD cache flushing; but that should only be happening once every 30 seconds and shouldn't cause the load increase you're seeing. You could also try disabling that (there should be two calls to FlushOverCache in dreaderd/reader.c), which together with the above, should get you back to dreaderd-1.25, but I'd be surprised if this was your problem. -- Nickolai Zeldovich.
Re: diablo dreaderd stuck
Author: Conrad Juleff
Date: Wed, 19 Jan 2000 00:00
Date: Wed, 19 Jan 2000 00:00
19 lines
1689 bytes
1689 bytes
Nickolai Zeldovich <kolya@mit.edu> wrote: > The only other change I can see in the dreaderd code was the overview > FD cache flushing; but that should only be happening once every 30 > seconds and shouldn't cause the load increase you're seeing. You could > also try disabling that (there should be two calls to FlushOverCache > in dreaderd/reader.c), which together with the above, should get you > back to dreaderd-1.25, but I'd be surprised if this was your problem. I have gone back to diablo-1.26 and its been running fine for about a day. I unfortunately wasnt able to track down the exact problem but it must have something to do with what you mentioned above. Thanks for your help -- |Conrad Juleff (conrad @ is.co.za) |The Internet Solution <All opinions are my own>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads