altering "maxdsiz" or "datasize" limit ?

Rodrigo Gonzalez rjgonzale at estrads.com.ar
Tue Oct 5 22:02:02 UTC 2010


I didnt check it, but changing /etc/login.conf should do that

On Tue, 05 Oct 2010 17:23:43 -0400
Mark Stosberg <mark at summersault.com> wrote:

> 
> Hello,
> 
> We've been satisfied FreeBSD users for several years at our hosting
> company.
> 
> Recently we ran into into a problem where a long running cron script
> was dying early because it is hitting FreeBSD's data segment size
> limit of 512 Megs, even though the machine has plenty more memory. I
> would like to raise this limit, and am currently using FreeBSD 6.2.
> 
> When I researched this, I first found references to tuning "maxdsiz"
> in loader.conf, then some pointed out what I found myself.... this
> variable is no longer documented and perhaps no longer present in
> FreeBSD 6.2.
> 
> I also found that it appears you can report on it and change it with
> the "limits" command:
> 
>  limits -d 1g
> 
> That appears to work in the sense that the command is allowed and no
> error is returned, but then if I run a follow up "limits" report
> again, I see that no change is reported to have happened.
> 
> So, how I can actually increase this limit? (Both immediately and
> persisting through a reboot).
> 
> Thanks!
> 
>     Mark
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20101005/f3270ca0/signature.pgp


More information about the freebsd-questions mailing list