Re: Applications using hard disk too often
Kevin Kinsey wrote: Frank J. Laszlo wrote: Michael Tuchman wrote: I am running freeBSD 5.4 stable on a P133 box with 128 Mb ram. Although I don't think I'm overloading the system, it seems that my system is using virtual memory too often. Admittedly, this is a subjective question where 'too often' means only 'more often than I remember with other *nix-like operating environments on even weaker machines'. Without some clue as to what the system is doing, IMHO it's difficult for anyone to speculate why you'd be swapping so much. FreeBSD uses all the memory it has because the designers know that free memory is wasted memory ... I don't know where that statement originated, but you'll hear it from FreeBSD programmers if you keep your ears open. One possibility is that you have actually configured **too much swap space** (Joshua Coombs, http://www.bsdnews.org/03/tuning.pdf). I'd also have to say that I'd consider this box to be a tad slow for a workstation unless your graphical environment was rather lightweight. I've tried GNOME2 on an AMD K6-2 475 with 128 MB and it just crawled. It's slightly better with XFCE, but to get much performance from a box like that I'd recommend black/fluxbox or something equally easy on the resources. If this isn't a graphical environment, then something *is* wrong, I'd think. Can anybody offer advice on memory management, appropriate places to read in the documentation, or other useful links? Advice: with 128MB of RAM, don't open 127MB PDF files /rimshot Reading: Chapter 2 of McCusick's Design Implementation: http://www.freebsd.org/doc/en_US.ISO8859-1/books/design-44bsd/index.html and tuning(7) are a couple of canonical resources. Google is always your friend, also. I apologize if that seems like RTFM, newb; it's just that IANAE and don't play one on the Internet, either. I realize that the answer is 'it depends', so what I am asking is really * How can I find out if I change this annoying behavior for the better? Experiment? Add RAM; take away RAM; add more swap; take away some swap. Of course, not all of those could be called exactly 'trivial' to the system. * Would upgrading to 6.0 help? Possibly, but without knowing the cause it's hard to say for sure; IOW, no silver bullet there. This is an experimental box only. There is no critical data on it, so data loss is not an issue when considering options. The 5.x series was a transition release, to ease the pain between 4.x and 6.x. Hmm, I wonder. 4.X to 5.X wasn't completely painless, (at least, you had to take some pains to get it right), so I might contest this. Any further discussion or speculation on this would place this posting in the political rather than technical realm, which I am loathe to do. For one reason or another, 6.X is out. 6.X is good. AFAIAC, 5.X was also good and 4.X was good too. I would recommend going up to 6.0 (or 6.1, But I have not yet tested it) Doing a fresh install would probably be in your best interest. The transition from 5.4 to 6.X is quite trivial; the only reason a fresh install might benefit is if the OP has too much swap and wants to configure less during slicing. It's also possible that doing a fresh install of 6.0 would fix the problem, but teach us nothing about the situation we'd hoped to learn from?? I suggested a fresh install due to the fact that 6.0 has improved FS support. Including multi threading capabilities. And yes, the upgrade from 4.x - 5.x was a PITA, But imagine the pain involved with a 4.x - 6.x upgrade. ;) -Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Applications using hard disk too often
Michael Tuchman wrote: I am running freeBSD 5.4 stable on a P133 box with 128 Mb ram. Although I don't think I'm overloading the system, it seems that my system is using virtual memory too often. Admittedly, this is a subjective question where 'too often' means only 'more often than I remember with other *nix-like operating environments on even weaker machines'. Can anybody offer advice on memory management, appropriate places to read in the documentation, or other useful links? I realize that the answer is 'it depends', so what I am asking is really * How can I find out if I change this annoying behavior for the better? * Would upgrading to 6.0 help? This is an experimental box only. There is no critical data on it, so data loss is not an issue when considering options. The 5.x series was a transition release, to ease the pain between 4.x and 6.x. I would recommend going up to 6.0 (or 6.1, But I have not yet tested it) Doing a fresh install would probably be in your best interest. Also running a custom kernel will ease some of the overhead, if you aren't already doing that. Remove anything from the kernel you do not use, etc.. There are numerous documents for doing this. The freebsd handbook is a excellent resource for both newbies and seasoned system admins. (http://www.freebsd.org/handbook) The output of `ps uxaww` will give us more of an idea of what you can get rid of as far as running daemons. Hope this helps. -Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Free BSD install tutorial I wrote
Allen wrote: On Tuesday 03 January 2006 16:50, Josh Soza wrote: ..snip.. And another mail I sent to the list today, I pointed out the reason I didn't link tot he docs. I WANT people to BUY the books from Free BSD to help support the project. You can't possibly think that was wrong of me, the developers need to eat too. For the sake of argument, most of those publishers do not contribute to the community anyways. I believe the freebsdmall contributes a portion of all profits to the project, im not 100% sure though.. Regards, Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Free BSD install tutorial I wrote
Allen wrote: I wrote this quite a while ago and I've posted it to the docs list before and it got a good repsonce, but I've seen a couple install questions on here so I'm going to link to it again for this list. I don't think there is an easier to follow installer help anywhere. Not arrogance, but I did do very well with it in making it easy as crap to install: http://www.antionline.com/showthread.php?s=threadid=259335 You don't have to sign up to read this. -Allen I dont want this to sound like a flame, though it will probably come across that way. But there are many typographical errors in your howto and also many misconceptions that could cause newbies to be confused. I found myself getting confused and I've been using FreeBSD for years. Heres a few notable portions: A) FreeBSD 5.0 is very old, and was never a production release, I noticed you wrote your howto in 2002, so I'll let that one slide. B) Using words like Hit enter twice down up right etc.. will confuse people. you're better of saying something along the lines of. Scroll down to 'foo' etc. C) You make a reference to X86, I assume you mean XFree86 Overall is gives a pretty basic description of the procedure, however you should reference the freebsd handbook (http://www.freebsd.org/handbook) for more information on certain sections. Now, heres where its gets raunchy, I read further in the post, and you are making reference to security on freebsd. If you actually read the advisories, you will notice 9 times out of 10 they are applications on the base system, generally not exploitable remotely. Also, You have to remember that freebsd base and kernel are developed together, I'll find you'll be hard to find a freebsd 'kernel' exploit. Oh, just noticed, you said: User B on the other hand is running Free BSD, and has no idea how to update it. SSH was installed and running by default, and the user doesn't know how to use upgrade_pkg. What is upgrade_pkg? I think you mean portupgrade. Overall, my rant is just the fact I dont think you are in a position to be judging security of an OS without knowing the OS. Its apparent that you do not. I'm not going to comment on the accuracy of your slackware experience, I think I read that you've been using it for 2 years? Good luck on your future writing, I hope that I didnt come across to strong on this post, But it is what it is. Regards, Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
http://www.freebsd.org
Did someone break apache on http://www.freebsd.org? Seems to reply to ping requests but the web page doesnt load. -Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: creating a local cvsup mirror.
Derrick MacPherson wrote: I want to create a local mirror for my internal freebsd systems. I seem to be confusing articles that are 'how to mirror' and 'how to be a mirror'. Is there some details/info out there that could be of help? I would have thought it would be enough to be running ports/net/cvsup- mirror would be enough on the server, and then the clients here would use 'cvsup -h my_cvs_server ports-all' but I end up seeing: May 2 12:40:49 cvs cvsupd[57822]: =3 Unknown collection ports-all So if someone can clarify/point/whatever, much appreciated. /usr/ports/net/cvsup-mirror Regards, Frank Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Items exist in ports, but not as packages.
Paul Richards wrote: Well I hit a few compile errors which I had to tweak the source code to fix. My ports tree is the stock one which comes on the 5.3-RELEASE cds and so perhaps it's a little old. There's no harm in having to tweak source every now and again. :) It builds character. If you have a fix for the port than you should submit a patch like a good user :) Regards, Frank Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Please don't change Beastie to another crap logo such asNetBSD!!!
Anthony Atkielski wrote: Frank Laszlo writes: Yes, Process colors being 4 plates, but rendered properly, it could be less. All process printing requires four (or six) colors. That's what process means. The current logo as it is shown on freebsd.org, COULD be printed on 2 plates, as a 2 color job. those colors being black and red. Possibly. It would still look odd, though. This isnt an issue with todays modern digital 4 color presses such as the iGen3. It's an issue with any press. Digital presses have less trouble with registration, but they aren't any better at getting the line frequencies higher. Indeed, normal offset provides higher frequencies. It has no problem with registration if ran by a qualified operator. Now if you are a 80's or 90's printer using an old heidelburg 2 color press, sure.. registration is very difficult when dealing with small print and screens. What sort of printer would FreeBSD best be able to afford? Well, I'm not going into budget issues, but yes you have a point here. I am open to quote any print job if the FreeBSD Foundation so chooses to do official corporate print work. e.g. letterhead, business cards, printed manuals, etc.. I would of course give my normal discount as I do with any other non-profit organizations. Furthermore, anyone with experience in the modern printing world knows that getting high quality (and affordable) printed artwork on a small piece is very simple when using the right equipment. It doesn't matter what equipment you use. Small artwork with lots of fine detail reduces poorly; if it contains halftones, it reduces even more poorly. Who says it has to be small? and how small are you talking for print work? on a CD? thats not very small IMHO. One should be able to attain excellent quality at that size. I consider small artwork to be 1in. I've done several of these type of jobs on the iGen3 we have here at my office. Anyways, this is WAY off from the original post, So I end it with that. Actually it is highly relevant, since a key reason for developing a simple logo is to make it easy to display and print. Getting back to the point at hand, the beastie is nothing more than a mascot. plain and simple. But people are talking like there will be no more beastie representing FreeBSD. I dont think this is the point. Also, whoever started that petition needs to actually get some inside information other than a non publicized (sp?) anouncement. The true intention of this logo contest is likely to give more of a corporate identity to freebsd as a whole. I am now done with this thread. Once again, I will end it. (hopefully) :) Kind Regards, Frank Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ATI TV Wonder VE
I recently found in my hardware pile an ATI TV Wonder VE. I vaguely remember using this card with v4l on linux and decided I would give it a go on freebsd. Its apparently supported by bktr(4) I went ahead a kldload'd the module. this the what dmesg told me: bktr_mem: memory holder loaded bktr0: BrookTree 878 mem 0xee043000-0xee043fff irq 11 at device 9.0 on pci0 bktr0: [GIANT-LOCKED] bktr0: Unable to allocate 1310720 bytes of memory. bktr0: Unable to allocate 3555328 bytes of memory. bktr0: Warning - card vendor 0x1002 (model 0x0003) unknown. bktr0: Pinnacle/Miro TV, Temic NTSC tuner. asside from those memory errors all seemed well. i attempted to run xawtv -hwscan and got this: /dev/bktr0: initialization failed I decided to try fxtv for the hell of it and got this error message: ioctl(BT848_SAUDIO, 128) failed: Cannot allocate memory mmap of driver buffer failed: Invalid argument has anyone had simular issues with this card? Or have any information that may help to solve it? I am running: FreeBSD dungeon.franksworld.org 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Fri Dec 31 11:11:28 EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DUNGEON i386 Any help is greatly appriciated. Regards, Frank Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSup the port collection
Olivier Nicole wrote: Hi, I was trying to cvsup the port collection, but all it did was deleting some ports, and never replaced them with new ones. I would have thought that the following configuration file would do the trick, but it did not. What have I wrong? TIA Olivier *default tag=RELENG_5_3 ports dont have tags. replace RELENG_5_3 with a period. #*default host=cvsup.jp.FreeBSD.org *default host=cvsup4.jp.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs *default delete use-rel-suffix *default compress ports-base ports-databases cvsroot-common cvsroot-ports You shouldnt really only cvsup certain parts of the ports tree. its generally not a good idea. ports-all is all you need here. and I dont think you will need cvsroot stuff. Regards, Frank Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which OS should we use?
sp0ng3b0b wrote: I also know that Yahoo operates a lot of FreeBSD servers. I would love to hear their results if they are testing 5.3. Yahoo most likely runs some home-brewed version of FreeBSD. highly customized for their needs. -Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: building a package without installing it
Chuck Swiger wrote: daniel quinn wrote: On January 10, 2005 05:17 pm, Michael C. Shultz wrote: If the port is allready installed try: pkg_create -b {name of installed port as listed under /var/db/pkg} cool, thanks and what if i don't want it installed on this machine? if i just want to build it here for use elsewhere? You could set up a jail and chroot into that before building the port, if you really want to keep your base system untouched. The pointyhat cluster used to build packages for the FTP servers does roughly this in order to provide a clean environment for testing. I meant to send this before I left work, But here is a script I wrote for doing just this. http://www.franksworld.org/localuser_portinstall.html Let me know if you have any questions regarding setup, This should suit you nicely, as it will build most any port without root accessm within a chroot type environment. -Frank Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need Guidance in my Internet Connection Sharing configuration
Srot BULL wrote: Hello and Good Day to all, I have tried to configure my system for Internet Connection Sharing but I could not implement the configuration properly. I am afraid that this is all my mind can figure out. Please look through below and I would appreciate if you could point out the mistakes that I have done or point me to any links that would help me help solve this problem. uname -a FreeBSD r40e.point.ne.jp 5.3-STABLE FreeBSD 5.3-STABLE #1: Mon Jan 10 12:49:58 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/R40e i386 Kernel Configuration File: #===--- IPFIREWALL OPTIONS ---===# options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=5 options IPFIREWALL_DEFAULT_TO_ACCEPT #=- Enables NAT Functionality -=# options IPDIVERT /etc/rc.conf hostname=r40e.point.ne.jp #** OutBound Interface **# ifconfig_bge0=DHCP ...snip... natd_interface=aue0 this should be your external (ADSL) interface -Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Supermicro Hardware and FreeBSD
[EMAIL PROTECTED] wrote: -- Your point might have some teeth if the newer version were better, but the entire problem is that 5.x is much worse than 4.x, so there lies the issue. 4.10 is NOT supposed to be an old version. Its the production version. Because its readily admitted that 5.x is not yet ready for prime time by those in the know. And its not properly suppored. Thats strange, http://www.freebsd.org says 5.3 is the Production release and 4.10 is the (legacy) production release I guess they just dont teach you words like legacy in troll school. The truth is that you are in awe of a team that has done a terrible job of transitioning to a new version, who can't get the new version to perform at close to the levels of the previous version after several years, and who have time and time again failed to meet their promised performance targets. They force their customer base to use the slothy thing, because modern motherboards and comm cards dont work in 4.x. And you stand and cheer them. Like a bunch of blind men cheering the one-eyed fool. If they've done such a bad job, why not contribute something other than useless rants on the lists? And what customer base? I dont think the FreeBSD Foundation is trying to sell their product. and who says all modern/new cards are supported in 4.x, I've used several new devices on 4.x without problems. Why dont you just install windows and be happy with your OS that just works. Regards, Frank Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Looking for 'ideal' web-server partitions
Kiffin Gish wrote: I want to create a web server for a few personal web sites (virtual named hosts) using Apache, Perl, PHP and MySQL. Maybe later using mod_perl and ssl. No mail servers or other complicated stuff, just a plain-vanilla web server for the general public and an average visitor traffic of below 1000 per day. I have 40G to use up on an AMD Sempron 1300+ with 512MB and was just wondering what would be a good way to divvy up the partitions. I was thinking something like this: SWAP1024M / 1057M /db 6.3G /usr24G /var4.2G /www42G I've heard arguments for and against a separate /db and/or /tmp partition as well as using a /home. Also I see that there is a /usr/local/www directory already so perhaps the /www partition is not required. Is a separate /db partition really needed? I'm pretty confused and would like to setup my web server the right way once and for all. Are there any standard recipes and/or guides to figuring this out or is it just a bunch of guess work? How does this look? I'm not even sure what exactly you would put on a /db partition, would this be like /var/db? and /usr/local/www/data is the default DocumentRoot for apache. This can all be changed. Here is my take of your configuration. A) / is WAY too big. I generally allocate about 200M for /, if you are planning on not separating /tmp. Make it slightly larger, say 500M. B) again, im not sure what you are trying to accomplish with /db C) 4G for /var is pretty generous. I run a medium size webserver, and my /var is only 2G. D) separating /www isnt really nescessary, though theres really no downside to this. Here would be my partitioning sceme. 1024M - SWAP 300M - / 2G - /var the rest - /usr linking /tmp to /usr/tmp is generally a good idea in my book. Hope this helps. Regards, Frank Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Non-Profit Status
According to http://www.freebsdfoundation.org the goal of $32,000 has been reached (and passed) at 123% !! Great job for all those who contributed, and all those who thought about contributed, but were unable to. Please remember that just because the quota for this year has been met, doesnt mean you cant still donate. They cant expect my next donation midway through the first quarter next year :) Regards, Frank Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Good newsreaders for FreeBSD?
Tom Connolly wrote: Hello List, I'm looking for a newsreader that has multi-server capabilities in that it can piece together articles using different newsgroup servers. Similar to NewsPro for windoze. Anyone had any luck with a good newreader port for FreeBSD? I'm running FreeBSD 4.10 if that makes any difference. Thanks All, Tom I think evolution has a news reader. You might want to look into that. Regards, Frank ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]