Thread View: news.software.nntp
1 messages
1 total messages
Started by Charlie Crashdump
Fri, 12 Jan 2001 06:55
I HAVE NOT YET BEGUN TO GIVE UP IN EARNEST
Author: Charlie Crashdump
Date: Fri, 12 Jan 2001 06:55
Date: Fri, 12 Jan 2001 06:55
35 lines
2838 bytes
2838 bytes
Observed: Number of stale locks left in BerkeleyDB database with latest ovdb keeps increasing over time, even after readers disappear. Killing parent ovdb_swerver process drops number of lockers down to a tolerable number. Further observation: People on slow dial-up connections are actually stupid enough to give a full XOVER command in a group with half a million articles. And wait. During this time, db_deadlock reports typically one locker, with occasional periods where no lockers are noted, which appears to be as things should be. Person on slow dial-up must have decided to go to sleep, as a signal 13 (SIGPIPE) was received, calling ExitWithStats. However, when this last reader disappeared, the number of lockers did not drop down to zero as expected, but instead remained pegged at 1. For laughs, I decided to invoke nnrpd and give a full XOVER command and prematurely terminate the connection. Number of lockers promptly jumped and remained at 2. Some time later, I did the same thing again, giving SIGINT to nnrpd, and the number of lockers jumped to 3 and has been there since, when not higher. Apparently, with FreeBSD, receipt of a signal, while it may be enough to cause nnrpd to exit cleanly, doesn't appear to have the desired effect of releasing the locks in the database. Using readserver. Tweaked a couple other nnrpd config options with no real difference. I may try to take a look at this to try and figure out what's supposed to happen and what is not. Haven't tried without ovdb_server. VIOLATORS' AND ABUSERS' NETWORKS SHALL BE NULL-ROUTED.
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