Re: Why kernel kills processes that run out of memory instead of just failing memory allocation system calls?
* Nate Eldredge (neldre...@math.ucsd.edu) wrote: > There may be a way to enable the conservative behavior; I know Linux > has an option to do this, but am not sure about FreeBSD. I seem to remember a patch to disable overcommit. Here we go: http://people.freebsd.org/~kib/overcommit/ -- Thomas 'Freaky' Hurst http://hur.st/ ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
Re: How to get filename of an open file descriptor
* Skip Ford ([EMAIL PROTECTED]) wrote: > It would be interesting to know for sure, though, if Solaris uses > hardlinks and, if so, what their utility is called. Nope. They *do* use hardlinks in that they have 32bit wrappers in /usr/bin etc which dispatch to the relevent architecture, but the commands themselves are all seperate. A quick glance at the OpenSolaris source repository finds: http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/ptools/ i.e. they're just a bunch of losely related commands under the ptools banner. -- Thomas 'Freaky' Hurst http://hur.st/ ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: page fault & degaradation performance
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > > how to reduce the number of page faults to upgrade program or OS > > performance? > > Install more memory. I can cause paging on my hugely overendowed RELENG_6 system (8GB, ~2GB active) just by reading some big files and churning through cache. It's nice seeing syslogd go into pfault while there's 5G of inactive memory and 300MB cache just waiting to be recycled. There would seem to be some room for tuning on at least some systems. -- Thomas 'Freaky' Hurst http://hur.st/ ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: amrd disk performance drop after running under high load
* Alexey Popov ([EMAIL PROTECTED]) wrote: > So I can conclude that FreeBSD has a long standing bug in VM that > could be triggered when serving large amount of static data (much > bigger than memory size) on high rates. Possibly this only applies to > large files like mp3 or video. I've seen highly dubious VM behavior when reading large files locally; the system ends up swapping out a small but significant amount of various processes, even very small recently active ones like syslogd, for no apparant reason: http://lists.freebsd.org/pipermail/freebsd-stable/2007-September/036956.html I've also seen dubious IO behavior from amr(4), where access to one array will interfere with IO from an independent set of spindles that just happen to be attached to the same card: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/114438 Given the blank looks I've received every time I've mentioned these things I'm guessing they aren't seen by others all that often, but maybe one or both are vaguely relevent to your situation. -- Thomas 'Freaky' Hurst http://hur.st/ ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD & Hot pluggable disks (SATA?)
* Dag-Erling Sm?rgrav ([EMAIL PROTECTED]) wrote: > It is a function of the disk controller and driver. AFAIK, the ata > driver supports hot-plug as long as the SATA controller does. I > believe most Promise and Intel ICH SATA controllers do, not sure about > Sil or nVidia MCP. Both SiI and nForce's should support hot-swap, though if ata(4) actually handles them correctly is another matter. I have an nForce 4 Pro board (a Tyan K8WE, CK804 chipset) which in FreeBSD gracefully handles hot removal, but needs a reboot to correctly recognise hot-plugged devices. I thought I'd filed a PR about it, but I can't seem to find it... I also have an 8 port Marvell SATA controller (88SX6081) which needs an atacontrol reinit to pick up new devices, but otherwise seems to work fine. -- Thomas 'Freaky' Hurst http://hur.st/ ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ollecting pv entries -- suggest increasing PMAP_SHPGPERPROC
* Eric Anderson ([EMAIL PROTECTED]) wrote: > I saw these two warnings come up soon after rebooting a server > (running 5-STABLE): > > kernel: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC > kernel: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC > > I see there is a tunable for tweaking, but I'm not certain what I'm > really tweaking. Any hints or guidelines? PV entries are related to the amount of memory that's shared between processes. http://lists.freebsd.org/pipermail/freebsd-hackers/2003-May/000695.html explains a bit. -- Thomas 'Freaky' Hurst http://hur.st/ ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Backup methodes
* Carlos Silva aka |Danger_Man| ([EMAIL PROTECTED]) wrote: > what is the best method to backup network information and local disk > information with another disk? dump/restore performs snapshotted incremental backups of complete filesystems. -- Thomas 'Freaky' Hurst http://hur.st/ ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: temperature monitoring
* Clark C. Evans ([EMAIL PROTECTED]) wrote: > This is probably common question, but I was wondering if there is any > temperature monitoring mechanisms out there; specifically for ABit > motherboard (KG7). sysutils/healthd? -- Thomas 'Freaky' Hurst - [EMAIL PROTECTED] - http://www.aagh.net/ - "If we were meant to fly, we wouldn't keep losing our luggage." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: httpd in malloc(): warning: recursive call (FreeBSD error??)
* Max David Krüper ([EMAIL PROTECTED]) wrote: > I have a FreeBSD 4.5-STABLE box running, when i start apache first > all works fine, but after like 3 minutes in the logfile i see this > messages: > > httpd in free(): warning: chunk is already free > httpd in free(): warning: recursive call > httpd in malloc(): warning: recursive call > httpd in malloc(): warning: recursive call > [Fri Mar 1 19:49:16 2002] [alert] [client 195.93.64.xx] > /usr/local/httpd/htdocs/qm-dev/.htaccess: RewriteRule: cannot compile > regular expression 'F([0-9]+)(.htm(l)?)?' I've had lots of fun nuking Apache using mod_rewrite. It's can be fragile at times; the solution is usually to rewrite the regex. It's also a good idea to put it in httpd.conf on a production server, since .htaccess support is conciderably slower and more of a hack then anything. Also keep in mind with php embedded in the server, bugs in that and it's extensions (some of which are dodgy at the best of times, like XSLT) can show up as Apache errors. Try disabling it and seeing if it still happens (after mod_rewrite :) -- Thomas 'Freaky' Hurst - [EMAIL PROTECTED] - http://www.aagh.net/ - No problem is so formidable that you can't just walk away from it. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: in-kernel HTTP Server for FreeBSD?
* John Polstra ([EMAIL PROTECTED]) wrote: > To those who dismissed it as a dumb idea: broaden your minds. It wasn't dismissed as a dumb idea, more an idea nobody would use for a production webserver, which I doubt includes: > a testbed for performance testing various kinds of network appliances. Despite how useful it might be for benchmarking :) -- Thomas 'Freaky' Hurst - [EMAIL PROTECTED] - http://www.aagh.net/ - Never eat more than you can lift. -- Miss Piggy To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: in-kernel HTTP Server for FreeBSD?
* Dag-Erling Smorgrav ([EMAIL PROTECTED]) wrote: > Hiten Pandya <[EMAIL PROTECTED]> writes: > > Is there any In-Kernel HTTP Server for FreeBSD, like there is kHTTPD > > for Linux? > > God forbid! Lots of hack value, sure, but not something you'd > seriously consider for production use. Don't functions like FreeBSD's zero-copy sendfile() provide similar performance benefits without the massive security issues? If the remaining speed "hog" of switching to userspace to process the request itself is causing noticable bottlenecks, I think that's a sign you need more Pentium than the service needs moving to the kernel :) -- Thomas 'Freaky' Hurst - [EMAIL PROTECTED] - http://www.aagh.net/ - One of the disadvantages of having children is that they eventually get old enough to give you presents they make at school. -- Robert Byrne To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: New feutures...........
* Wilko Bulte ([EMAIL PROTECTED]) wrote: > On Sat, Dec 15, 2001 at 03:26:27PM +, George Reid wrote: > > On Fri, Dec 14, 2001 at 11:03:49PM +0800, Rafter Man wrote: > > > > > 2. I hope that in the furture the FreeBSD developers will rewrite > > > the system in C++. > > > > Geez, talk about a bleak outlook for the future. I see myself > > flying over a frozen Hell on the back of a pig before that happens. > > pig... hmmm. How about a pinguin instead? Sorry, the penguin's reserved for when we reimpliment it in Perl. -- Thomas 'Freaky' Hurst - [EMAIL PROTECTED] - http://www.aagh.net/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message