gary@sci34hub.sci.com (Gary Heston) (04/13/91)
Greetings... In <1991Apr2.174523.1204@sci34hub.sci.com> I posted about a problem I'd run into here with C news history exceeding the default ulimit under ISC 1.0.6, and getting write failure errors. I received eight email responses, and I think there were a couple of postings, as well. My thanks to: orion.convex.com!schnoebe ism.isc.com!jonathan (Jonathan C. Broome) gdt.bath.ac.uk!I.Sparry puffin!pete (Pete Carah) cdis-1.compu.com!tanner quest1!jrm eci386!jmm (John Macdonald) for their responses. There was one more, but the mention of his name seems to cause him to catch flames, so I'll email him directly. He has, though, been very helpful in this instance, and in the past. I really appreciate all the help. The results of the email broke down as follows: orion.convex.com!schnoebe, gdt.bath.ac.uk!I.Sparry, cdis-1.compu.com!tanner, and my anonymous benefactor suggested altering the C news code to include a ulimit call. This would incur downstream inconveniences with Cnews maintenance, but it would work. I.Sparry also included code from GNU Emacs to demonstrate it. quest1!jrm pointed me in the general direction, eci386!jmm had the correct variable name to look for (suprise--it isn't ulimit), and ism.isc.com!jonathan had all the answers: The variable is CDLIMIT, It's in /etc/conf/modules/kernel/space.c, in a line: daddr_t cdlimit = CDLIMIT; and it can be changed either there, or in /usr/include/sys/param.h in a line: #define CDLIMIT (1L<<14) /* default max write address */ I changed it in param.h, to make sure it got propogated thru everything. My anonymous benefactor had several other suggestions, including an offer to disassemble and devise patches for the kernel, all of which look like they would work. Unfortunant that someone of his caliber has been harassed into becoming a read-only netter. (He doesn't post, only sends email.) I'll get this written up for inclusion in the c.u.sysv386 FAQ, and ship it off to Connor. Thanks again! -- Gary Heston System Mismanager and technoflunky uunet!sci34hub!gary or My opinions, not theirs. SCI Systems, Inc. gary@sci34hub.sci.com I support drug testing. I believe every public official should be given a shot of sodium pentathol and ask "Which laws have you broken this week?".