wayne@cylixd.UUCP (Wayne T. Steinmetz) (01/21/87)
We are running SysV.2 on a VAX 11/785. Due to some database file growth, the default maximum file size of 1048576 bytes will soon be reached. I would like to increase this limit (preferably remove it all to- gether as in BSD4.1) but have not been able to find where in the kernel this is done. Any help would be greatly appreciated. Also, does making this change effect anything else in the OS? As always, thanks in advance. Wayne Steinmetz UUCP: ..!akgua!cylixd!wayne
hcsjgh%ots.UUCP@rice.EDU (01/24/87)
>>"Wayne T. Steinmetz" <wayne@cylixd.uucp> >>We are running SysV.2 on a VAX 11/785. Due to some database file >>growth, the default maximum file size of 1048576 bytes will soon >>be reached. >>I would like to increase this limit. Recompile unix with: /* /usr/include/sys/param.h */ #define CDLIMIT (1L<<13) /* default max write address */ This will up it to 8192 blocks. Is that enough? Greg Hackney ihnp4!tness1!hcsjgh hcsjgh!tness1%ots.UUCP@rice.edu -------
guy@gorodish.UUCP (01/25/87)
>Recompile unix with: >/* /usr/include/sys/param.h */ >#define CDLIMIT (1L<<13) /* default max write address */ > >This will up it to 8192 blocks. Is that enough? For him, maybe. For somebody out there, almost certainly not. I'm kind of in favor of #define CDLIMIT 0x7fffffff /* or your favorite equivalent */ and explicitly lowering the limit only for those (processes, users, sessions) that need such a limit. Presumably, he has a source license; nothing short of making it a tunable parameter with "config" (which they *finally* got around to, according to some articles posted here), some gutsy patching of the kernel, buying your UNIX from somebody who *did* show the guts to actually *change* AT&T code and make it a tunable parameter will help people without source, or throwing in some hack like renaming "/etc/init" to "/etc/init.real" and having "/etc/init" be a program that sets the file size limit to 0x7fffffff and "exec"ing "/etc/init.real" will help people without source.