AT> Just for the record, I fixed this problem by recompiling my kernel with AT> MAXUSERS 512 actualy you don't need to recompile kernel. you can achieve that by doing: echo kern.maxusers=0 >> /boot/loader.conf
It is better to use 0, since them freeBSD can dynamicaly change you need (as i heard) AT> :) AT> ajt. AT> On Mon, 2003-12-15 at 16:15, Andrew Thomson wrote: >> I've got a perl script doing some p5-sybase stuff for me.. However after >> a while, it fails with the following error message: >> >> .."socket: No buffer space available"... >> >> I've seen other reports from other uses getting this problem however no >> clear responses on a fix. >> >> This script used to work find on my 5.0-RELEASE box now I'm trying it on >> a 5.1-RELEASE box. I admit the new box is a lower spec - less cpu and >> less memory - so that may affect some of the default sysctl values??? >> >> I've tried tweaking a couple of sysctl entries however nothing has >> gotten me over this hurdle. >> >> Below are some relevant(??) sysctls. >> >> kern.ipc.maxsockbuf: 1048576 >> kern.ipc.sockbuf_waste_factor: 8 >> kern.ipc.nmbufs: 17920 >> kern.ipc.nsfbufs: 2496 >> kern.ipc.mbuf_wait: 64 >> kern.ipc.mbuf_hiwm: 512 >> kern.ipc.mbuf_lowm: 128 >> >> kern.ipc.numopensockets: 94 >> kern.ipc.maxsockets: 4008 >> >> Any suggested tweaks appreciated. >> >> Regards, >> >> ajt. >> >> >> _______________________________________________ >> [EMAIL PROTECTED] mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "[EMAIL PROTECTED]" >> AT> _______________________________________________ AT> [EMAIL PROTECTED] mailing list AT> http://lists.freebsd.org/mailman/listinfo/freebsd-questions AT> To unsubscribe, send any mail to AT> "[EMAIL PROTECTED]" _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"