Re: Wireless NIC in FreeBSD 6.0 ?
On Wednesday 28 December 2005 21:54, Erik Norgaard wrote: Yuan Jue wrote: It appears you can set some default values: default { [option declaration] [, ... option declaration] } If for some set of options the client should use the value sup- plied by the server, but needs to use some default value if no value was supplied by the server, these values can be defined in the default statement. I would assume that if you set defaults this way, defaults will also take place if no lease is obtained at all - at least that would be very usefull. Something like this I guess: interface bge0 { default { fixed-address your-fixed-ip-here; subnet-mask your-fixed-subnet-mask-here; ... } } sorry, I still don't quite get what you mean. it seems my default setting is this though it is not written in dhclient.conf. how can I configure the wireless interface to use DHCP in dhclient.conf? like as follows? The dhclient.conf does not contain any interface configuration values unless you write it. dhcp automatically reads dhclient.conf on startup, so you just need to enable dhcp for the interfaces you want configured. In rc.conf insert interface_ath0=DHCP interface_bge0=DHCP Create dhclient.conf like this interface ath0 { default { ... the default configuration for your wireless nic ... } } interface bge0 { default { ... the default configuration for your wired nic ... } } No need to mention any scripts in dhclient.conf. In the default configuration you need to specify at least: ip address, netmask, router and nameserver, see dhclient.conf(5) for the names of those variables. You only need to create an interface specific section if you need to configure the nic with values other than those provided by the dhcp server. If your ath0 is always configured with dhcp (as I understood) and you are happy with that, no need to make that section in the dhclient.conf - or keep it empty. Then run # /etc/rc.d/netif restart thanks for your kind suggestions :) it is very useful. but, in my situation, there are two things needed to mention: 1. normally the wireless NIC is not in the kernel when system boots, so no need to if_ath0=DHCP every time 2. usually I use my laptop in dormitory with a static IP address. so no need to if_bge0=DHCP every time finally, I figure out that ifconfig bge0 delete before I wanna use the wireless NIC would sound better for me :) -- Best Regards. Yuan Jue ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2005-12-11 - 2005-12-31
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. These are the articles posted during this period: 29-Dec : What RAID-1 setup should I use for FreeBSD 6.0? This is the desciption http://freebsddiary.org/freebsd-6.0-disk-timings.php?2 28-Dec : FreeBSD 6.0-RC1 - yes, I know this is late The first step in cross-compiling http://freebsddiary.org/freebsd-6.0-rc1.php?2 22-Dec : Configuring IPsec on your XP Professional laptop You've done your FreeBSD, now do your XP http://freebsddiary.org/ipsec-wireless-xp.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD router two DSL connections
Yance Kowara wrote: Hi all, I am trying to figure out if *BSD can achieve this: I have two DSL connections to play with, and I would like to configure a *BSD router that can combine the two DSLs together. There is a howto at http://stevenfettig.com/mythoughts/archives/000173.php But it concerns OpenBSD and it was for a T1 connection using a dual T1 card. I would like to configure one on 2 DSLs connected to two individual NICs. Is this feasible at all, or should I just invest in a dual Wan hardware? Yes its possible, I have such done such a setup. Its actually one ADSL user PPP connection the other connection is direct Ethernet to a small ISP that happens to be in the same building. The aim isn't anything that serves data and doesn't use anything complex such as using routing protocols like the other guys are talking about. Its just using NAT via PF to its users behind the box, all they need 24 hour Internet access and don't have to serve anything which I assume is your same situation. All I have done to make use of the multi Internet connection was if one connection goes down they can just choose the other ISP via a simple menu I created for them which just deletes and changes the route, Just uses something like route flush route add default isp_gateway_ip Or for the PPP link that uses ISP1 profile /usr/sbin/ppp -quiet -ddial isp1 and a /etc/rc.d/pf resync afterwards. Its just as easy to hack your own self monitoring link changer script but I felt it was better to leave it in the hands of the people with a menu. The core of the problem is just scripting something to change routes / connection using scripting. Because you appear to be using to DSL and probably pppoe links you would need to put something like this with two profiles in your /etc/ppp/ppp.conf file default: # set log CBCP CCP Chat Connect Command IPCP tun Phase Warning Debug LCP sync set device PPPoE:dc0:isp1 set speed sync disable ipv6cp set cd 5 set dial set login set redial 0 0 add default HISADDR set timeout 0 enable dns isp1: set authname [EMAIL PROTECTED] set authkey yancepassword isp2: set authname [EMAIL PROTECTED] set authkey yancepassword and script something to run either /usr/sbin/ppp -quiet -ddial isp1 or /usr/sbin/ppp -quiet -ddial isp2 Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: amsn-095_1
On 01 Jan Aftab Jahan Subedar wrote: actually it is make install clean -jahan It may be because you top-posted, but in my case I could not use make install clean That way I wouldn't have been able to manualy move the webcam directory, wouldn't I. Not been installed and deleted in the 'cleaning' action ;-) -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.0 +++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.0-REL ports/emulators/qemu = PANIC
El día Saturday, December 31, 2005 a las 12:26:43PM -0800, Kent Stewart escribió: yes, it can be reproduced; I've fresh installed 6.0-RELEASE and did only: # cd /usr/ports/emulators/qemu # make WITH_KQEMU=yes # make install # kldload kqemu # kldstat # su - user PANIC :-(( Does it still panic if you don't load kqemu? Test with just the new install and see if it panics. I haven't had a panic with 6.0 except that I have problems at boot on machines using the Netgear GA 311 1000baseT NIC. I get some message about loop back failed and it panics. If I shutdown, I don't have any problem. at 7 a clock in the evening last year I launched the 'make install' in /usr/ports/x11/kde3 and when I came in in the morning of this year at around 8 o'clock the notebook received me with the root shell prompt saying that the registering of kde3 was done; all without any PANIC and without this clash between neon and subversion which encountered the last time; so this must have been the result of some of the PANIC last Friday when I was already playing around with the sound driver and with kqemu while the make of KDE was still under progress; since 6 hours I'm now scp'ing my HOME from the old notebook to the new, all without PANIC so far; falta poco, unos 3 giga; I'm already writing the message from the new notebook; later I will test the sound driver and will see what I can do with qemu; yesterday I also gave 6.0-STABLE a short test (I fetched the snapshot of December) but trying to compile a the newer port of qemu wanted me to fetch a lot newer distfiles and I could not do that from here at home; Espero que hayas disfrutado tu música latina por la noche; matthias -- Matthias Apitz / Sisis Informationssysteme GmbH ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL) D-82041 Oberhaching, Gruenwalder Weg 28g Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211 http://www.sisis.de/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
webcam
OK, maybe it's OT, but I try it anyway. After all, I looked through the support dox for 6.o release and found not much about my question. I want to buy a new webcam device. I want it to be clear and sharp. So it may cost a little more then the all-to-cheap ones (but not too much ;-) Plus it needs to be supported by FreeBSD-6 Any suggestions from happy users? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.0 ++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipnat -CF -f /etc/ipnat.rules
in message [EMAIL PROTECTED], wrote perikillo thusly... root#chmod +x /etc/rc.d/ipnat.rules Why did you need to add execute bit for the rules? - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.0-STABLE slower than 6.0-RELEASE?
For what reasons might 6.0-STABLE slower than 6.0-RELEASE? I don't think it's debug code. Under 6.0-STABLE, I'm using the GENERIC kernel, and have changed only the ident value. I'm testing the speed of this command: time psql freshports.org freshports.sql The average time under 6.0-RELEASE: 9m 5s Under 6.0-STABLE: 10m 41s That is quite a difference. a few seconds I could understand, but not a difference of nearly 17% longer Suggestions? Ideas? -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
what is with the instalation?! :(
i have problem with instalation to point 2.8 , when should start the instalation explode error : Undable to find /dev/ad2s3b in/dev abort instalation undable to create file system instalation aborted i have 3 partitions c:fat32 for windows primary d:fat32 for warning files logical unused - thist part of disk is reserved for FreeBSD , i create FreeBSD partition with manual and al is ok to the moment when explode me error - couldn't to create file system please help me arthur jakobik -- Używam programu pocztowego Opery: http://www.opera.com/mail/ Rachunki za telefon? - To już historia! Na nowy rok dzwoń i rozmawiaj za darmo! Gdziekolwiek, na luzaku: http://klik.wp.pl/?adr=http%3A%2F%2Fspik.wp.pl%2Fdzwonzadarmo.htmlsid=624 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what is with the instalation?! :(
artek j wrote: i have problem with instalation to point 2.8 , when should start the instalation explode error : Undable to find /dev/ad2s3b in/dev abort instalation Are we to understand, FreeBSD 2.8? If so, that is seriously outdated. undable to create file system instalation aborted i have 3 partitions c:fat32 for windows primary d:fat32 for warning files logical unused - thist part of disk is reserved for FreeBSD , i create FreeBSD partition with manual and al is ok to the moment when explode me error - couldn't to create file system please help me arthur jakobik -- Best regards, Chris The further you are from the facts of a situation, the more you tend to believe news coverage of the situation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE 3.5 install probs (FBSD 5.4)
I've been trying to install the newer release of KDE on my 5.4 system with no luck. Here are some attempts: 1. Download kdebase-3.5.0 tarball, run ./configure (for starters): [laptop]/home/laptop/KDE/kdebase/kdebase-3.5.0(40): ./configure checking build system type... i386-unknown-freebsd5.4 checking host system type... i386-unknown-freebsd5.4 checking target system type... i386-unknown-freebsd5.4 checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for kde-config... not found configure: error: The important program kde-config was not found! Please check whether you installed KDE correctly. ...I couldn't find a tarball or anything else looking like kde-config to install. 2. Use konstruct: Download the sources, untar them. They are supposed to play like FBSD ports; cd into some directory and type make install. There is a meta directory; here's what happens there: [laptop]/home/laptop/KDE/konstruct/meta(48): make install ../category.mk, line 13: Need an operator make: fatal errors encountered -- cannot continue 3. Some other attempt wth konstruct; cd into the kdebase subdirectory and do a make install there: [laptop]/home/laptop/KDE/konstruct/kde/kdebase(54): make install ../../gar.conf.mk, line 38: Need an operator ../../gar.conf.mk, line 54: Need an operator ../../gar.conf.mk, line 64: Need an operator ../../gar.conf.mk, line 100: Need an operator ../../gar.conf.mk, line 108: Need an operator ../../gar.conf.mk, line 116: Need an operator ../../gar.conf.mk, line 134: Need an operator ../../gar.conf.mk, line 135: Need an operator ../../gar.conf.mk, line 136: Need an operator ../../gar.conf.mk, line 137: Need an operator ../../gar.conf.mk, line 138: Need an operator ../../gar.conf.mk, line 139: Need an operator ../../gar.lib.mk, line 272: Need an operator ../../gar.lib.mk, line 274: Need an operator ../../gar.lib.mk, line 277: Need an operator ../../gar.lib.mk, line 288: Need an operator ../../color.mk, line 19: Missing dependency operator ../../color.mk, line 62: Need an operator ../../gar.mk, line 65: Need an operator ../../gar.mk, line 67: Need an operator ../../gar.mk, line 69: Need an operator Error expanding embedded variable. I didn't play with the gar.conf.mk file; it looked like it was supposed to run okay the way it was. I probably do not understand what they're doing with the gar.conf.mk files. cheers happy new year - -- paz. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE 3.5 install probs (FBSD 5.4)
On Sunday 01 January 2006 10:46, [EMAIL PROTECTED] wrote: I've been trying to install the newer release of KDE on my 5.4 system with no luck. Here are some attempts: 1. Download kdebase-3.5.0 tarball, run ./configure (for starters): [laptop]/home/laptop/KDE/kdebase/kdebase-3.5.0(40): ./configure checking build system type... i386-unknown-freebsd5.4 checking host system type... i386-unknown-freebsd5.4 checking target system type... i386-unknown-freebsd5.4 checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for kde-config... not found configure: error: The important program kde-config was not found! Please check whether you installed KDE correctly. ...I couldn't find a tarball or anything else looking like kde-config to install. 2. Use konstruct: Download the sources, untar them. They are supposed to play like FBSD ports; cd into some directory and type make install. There is a meta directory; here's what happens there: [laptop]/home/laptop/KDE/konstruct/meta(48): make install ../category.mk, line 13: Need an operator make: fatal errors encountered -- cannot continue 3. Some other attempt wth konstruct; cd into the kdebase subdirectory and do a make install there: [laptop]/home/laptop/KDE/konstruct/kde/kdebase(54): make install ../../gar.conf.mk, line 38: Need an operator ../../gar.conf.mk, line 54: Need an operator ../../gar.conf.mk, line 64: Need an operator ../../gar.conf.mk, line 100: Need an operator ../../gar.conf.mk, line 108: Need an operator ../../gar.conf.mk, line 116: Need an operator ../../gar.conf.mk, line 134: Need an operator ../../gar.conf.mk, line 135: Need an operator ../../gar.conf.mk, line 136: Need an operator ../../gar.conf.mk, line 137: Need an operator ../../gar.conf.mk, line 138: Need an operator ../../gar.conf.mk, line 139: Need an operator ../../gar.lib.mk, line 272: Need an operator ../../gar.lib.mk, line 274: Need an operator ../../gar.lib.mk, line 277: Need an operator ../../gar.lib.mk, line 288: Need an operator ../../color.mk, line 19: Missing dependency operator ../../color.mk, line 62: Need an operator ../../gar.mk, line 65: Need an operator ../../gar.mk, line 67: Need an operator ../../gar.mk, line 69: Need an operator Error expanding embedded variable. I didn't play with the gar.conf.mk file; it looked like it was supposed to run okay the way it was. I probably do not understand what they're doing with the gar.conf.mk files. cheers happy new year - -- paz. There is a perfectly good version of KDE in the ports tree, why do this? -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load Balancing: How Busy are the servers?
For all the technology, I was kinda hoping for some 'scientific formula' :) Now, I really hate to ask, but how do you use vmstat to get a feel for how busy the disk subsystem is? What are you looking for? On Sat, 31 Dec 2005, Francisco Reyes wrote: Marc G. Fournier writes: 1. What variables on a server should be monitored to determine how busy a server is? I am a fairly new sysadmin.. who inheritted nearly 20 machines, so take my comments with a gain of salt. Before that the most I ever had was 7, mostly DB, FreeBSD machines :-) .. and.. Hi Marc. :) I think it comes down to primarily 3 factors * RAM * CPU * DISK If you are hitting Swap, you are either running too many programs/services or too many users. Same for CPU Disk are different in that the same number of disks can perform different based on what raid controller and what type of RAID. I use top and load average to determine if a machine is up to capacity in memory/cpu. I use vmstat to determine if the disk subsystem is falling behind. BIG NOTE: The one thing that I have yet to really pay much attention is the network performance. Fortunately we just hired someone who has significantly more experience on that area. :-) 2. Are there any tools that I can run to give me a point in time summary of how busy a server is based on these several factors? I think there are lots of tools. Some vary from SNMP capture/graphing, to custom made tools done in-house. I think it's a combination of how difficult it is to setup vs what you need to monitor. At work we are just starting to roll out an SNMP tool. The new hire is leading the effort so I am not very familiar with the setups.. the one thing I see so far is that ultimately, there usually are things that one needs to monitor that is unique to your organization and you need to either integrate a program into the tool or do your own independant monitoring of that particular resource. I think the ISP list may be a good resource since the needs of the average user are different from ISPs/companies with numerous machines. Basically, I'd like to keep track of multiple servers and be able to say this server is running 75% of capacity, time to upgrade or move things off of it ... if its possible ... ? In my opinion, for the most part, the answer is yes. The problem is usually how long it's going to take you to setup the environment to monitor the servers. The program we went with was chosen because the new hire was familiar with it, but a search on the archives for monitoring tools will give you a long list of programs and opinions of which are easier. If I had the time, I think I would likely write my own tool. This way I will be able to measure exactly what I want. Right now I thik we will cover most basics with the tool we are going with, but will need to still do our own custom apps to monitor a number of resources and metrics. Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RE: How to convert BIND to TinyDNS?
On Sat, Dec 31, 2005, James Long wrote: Message: 9 Date: Sat, 31 Dec 2005 15:42:50 +0100 From: Kristian Vaaf [EMAIL PROTECTED] Subject: Re: RE: How to convert BIND to TinyDNS? To: Ted Mittelstaedt [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii You got some messed up spaces, or maybe it's me? Anyway. I totally agree to what you're saying. I am running BIND myself and I am not changing. But this person who manages my upcoming NS2, he is the one running TinyDNS, and he is among the smartest software developers I know of, so his reason to use TinyDNS is not to be questioned. Thank you. If we can't question his reasons, how about his ability? If one of the smartest software developers you know doesn't know how to do a zone transfer and write a shell script to massage the text file into whatever form the software of his choice requires, then I think you need to get out and meet more software develpers. It doesn't require a lot of skill to read the djbdns documentation to learn how to use the tcpclient program to do zone transfers from any authoritative name server that allows the transfers. This will do a zone transfer for example.com creating the tinydns data file. tcpclient $server domain axfr-get example.com data data.tmp Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 A paranoid is a man who knows a little of what's going on. -- William S. Burroughs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What's using my system?
I'm staring at top running on my 6.0-STABLE system. It's my desktop machine, and also serves a light web/mail load (including a few jails). Basically, the system should be idle about 99% of the time when I'm not actively doing something on it. And yet it's not. The CPU never gets above about 75% idle, but top never shows any processes doing much of anything. The last pid field only rarely increases, so I'm relatively sure there's no processing forking off children that die too quickly for top to notice them. So, what could be using my CPU? And other than top and tailing various logfiles, what tools could help me find out? Example top output: last pid: 72475; load averages: 0.26, 0.80, 1.69 up 28+21:59:16 13:26:30 214 processes: 4 running, 210 sleeping CPU states: 14.7% user, 0.0% nice, 10.5% system, 3.9% interrupt, 70.9% idle Mem: 752M Active, 186M Inact, 219M Wired, 63M Cache, 112M Buf, 23M Free Swap: 4096M Total, 161M Used, 3934M Free, 3% Inuse PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 61660 root 1 960 89288K 74624K select 37:50 1.71% Xorg 61791 kirk 1 960 34704K 25600K select 12:17 1.12% kdeinit 61822 kirk 1 960 40616K 28980K select 14:55 1.03% kdeinit 68111 kirk 1 960 33584K 23292K select 0:16 0.15% kdeinit 1525 ldap 3 200 134M 7136K kserel 80:59 0.00% slapd 61811 kirk 3 20 -76 16516K 10860K kserel 76:40 0.00% artsd 1442 mysql 5 200 59576K 2752K kserel 44:14 0.00% mysqld 1449 nagios 3 200 3900K 1228K kserel 37:36 0.00% nagios 61864 kirk 3 960 78260K 61128K RUN 25:34 0.00% amarokapp 83630 bind 1 40 12024K 8704K select 14:49 0.00% named 1400 mailman1 80 8828K 2716K nanslp 14:15 0.00% python2.3 1403 mailman1 80 8532K 4088K nanslp 13:35 0.00% python2.3 1397 mailman1 80 9016K 2700K nanslp 12:47 0.00% python2.3 1398 mailman1 80 8792K 5216K nanslp 12:26 0.00% python2.3 -- Kirk Strauser pgpnm94fQk2d0.pgp Description: PGP signature
Re: KDE 3.5 install probs (FBSD 5.4)
On Sunday 01 January 2006 12:46 pm, [EMAIL PROTECTED] wrote: Download the sources, untar them. They are supposed to play like FBSD ports; cd into some directory and type make install. There is a meta directory; here's what happens there: Seems like there's a pretty high probability that KDE expects GNU make instead of BSD. That's the first thing I'd try. -- Kirk Strauser pgpE4DmrRXWMc.pgp Description: PGP signature
Re: KDE 3.5 install probs (FBSD 5.4)
On Sunday 01 January 2006 12:51 pm, Michael C. Shultz wrote: There is a perfectly good version of KDE in the ports tree, why do this? In his defense, that's only true if you consider the perfectly good version to be the one released last March, rather than the one released just over a month ago. Still, as much as I want to play with 3.5, I'll wait until the ports come along. People much better at building it than I am are having problems, so there's not much point in me trying it. -- Kirk Strauser pgpHHnRUzRQbE.pgp Description: PGP signature
Re: KDE 3.5 install probs (FBSD 5.4)
On Sunday 01 January 2006 11:40 am, Kirk Strauser wrote: On Sunday 01 January 2006 12:46 pm, [EMAIL PROTECTED] wrote: Download the sources, untar them. They are supposed to play like FBSD ports; cd into some directory and type make install. There is a meta directory; here's what happens there: Seems like there's a pretty high probability that KDE expects GNU make instead of BSD. That's the first thing I'd try. On the [EMAIL PROTECTED] list, there have been discussions of 3.5. You would have to check the archives but what I remember is that there have been so many problems getting 3.5 to work on FreeBSD that they are waiting for 3.5.1. Kent -- Kent Stewart Richland, WA Nunca te acostarás sin saber una cosa más http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE 3.5 install probs (FBSD 5.4)
On Sunday 01 January 2006 11:43, Kirk Strauser wrote: On Sunday 01 January 2006 12:51 pm, Michael C. Shultz wrote: There is a perfectly good version of KDE in the ports tree, why do this? In his defense, that's only true if you consider the perfectly good version to be the one released last March, rather than the one released just over a month ago. Still, as much as I want to play with 3.5, I'll wait until the ports come along. People much better at building it than I am are having problems, so there's not much point in me trying it. I understand impatience when a new version comes out and it isn't in the port's tree right away, but in the maintainer's defense: I remember just over a year ago when KDE used to crash rather regularly, now it is very stable, he is doing a great job at maintaining that very complex set of ports and deserves all of our patience and support. :) -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE 3.5 install probs (FBSD 5.4)
On Sunday 01 January 2006 01:57 pm, Michael C. Shultz wrote: I understand impatience when a new version comes out and it isn't in the port's tree right away, but in the maintainer's defense: I remember just over a year ago when KDE used to crash rather regularly, now it is very stable, he is doing a great job at maintaining that very complex set of ports and deserves all of our patience and support. :) Oh, I agree entirely. I know that the lag is due to the complexity of the problem, and not the maintainers slacking off. -- Kirk Strauser pgpqJD7NjE0F6.pgp Description: PGP signature
Re: Load Balancing: How Busy are the servers?
Marc G. Fournier writes: For all the technology, I was kinda hoping for some 'scientific formula' :) There are.. Now, I really hate to ask, but how do you use vmstat to get a feel for how busy the disk subsystem is? For me, reading Absolute BSD by Michael Lucas was very helpfull. In particular Chapter 18, System performance. The three columns I look at are for vmstat r and b on the left, and fault. r shows how many processes are waiting for CPU, b shows how many processes are waiting for disk. The fault column(s) show how badly your system is accesing swap. Quick example: r b w 2 5 0 1 5 0 2 4 0 2 5 0 3 4 0 1 5 0 1 5 0 That's from my home machine as I am doing some backups. The machine at this point is more disk bound than CPU bound with 4 to 5 disk operations at any point in time waiting for disk access I am also falling behind in CPU, but not as bad. On the far right of vmsat you also have CPU stats.. in my case the vmstat from the above lines showed 70% to 90% iddle which confirmed I was disk bound at that point. The fault column show you how actively you are using swap. The lines above had between 30 and 200 approximately. If you look at swapinfo and you have a large amount of swap in use and then you see a high number in vmstat for fault, the machine is short on RAM for the load you have on it. So far in my experience nothing hurts a machine as badly as hitting swap (given that you have adequate CPU/disks). Once you start to hit swap heavily you need to do something (if you can...) such as moving services to another machine or putting in more memory. Instead of looking for fixed number I think that relative figures are more important.. like looking at your machines at their lowest usage and then at their busiest.. or at spikes.. If at slow times of activity the machines are already falling behind on b, r on vmstat.. then that machine is overloaded. One possible quick way to start benchmarking your machines, until you can do something better is to capture snapshots of vmstat every 15 to 30 minutes and take a look.. perhaps even write a short script to summarize it. On my list of things to do.. is to do a simple setup of that nature.. just because it would be easy to setup and can provide very valuable information until you setup something more feature rich. top in 5.X branch and up is also very userfull. If you hit m it shows you disk processes so you can see what programs are doing the most I/O. One thing to watch out for in top when using 'm' is if you see all low numbers ( hit 'o' to sort and then type 'total').. is that you may have lots of programs doing little I/O, but their combined load is a problem for your disk subsystem like having 200+ IMAP connections. Each single IMAP connection may not be doing more than a handfull of transactions per second, but all of them combined can give a disk subsystem a pretty good workout. The load averages from 'w' are also good figures to do comparative tests. I started to wokr on a script (but needs more work) that dumps 'w' and 'vmstat' .. next have to work on parsing them and giving summaries. In particular one wants to know peak times.. since that is the best time to determine if the machine can handle it's load.. and more importantly spikes. If a machine is usually under 2.. and it spikes at 5+.. that machine is possibly able to do normal loads, but may not be able to handle spikes in traffic (ie a customer doing a mailing list, or a site just got press.. and there are a larger number than usual of people going to their URL). I still thinkg I have MUCH, MUCH to learn.. but I would be glad to expand on anything mentioned above.. or anything else. Ultimately each machine/company is unique enough that absolute numbers from other people (ie what is a good value for 'r' and 'b' to be around most of the time) may be less important than learning what are the different figures for your different machines under normal operation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE 3.5 install probs (FBSD 5.4)
On Sunday 01 January 2006 20:09, Kirk Strauser wrote: On Sunday 01 January 2006 01:57 pm, Michael C. Shultz wrote: I understand impatience when a new version comes out and it isn't in the port's tree right away, but in the maintainer's defense: I remember just over a year ago when KDE used to crash rather regularly, now it is very stable, he is doing a great job at maintaining that very complex set of ports and deserves all of our patience and support. :) Oh, I agree entirely. I know that the lag is due to the complexity of the problem, and not the maintainers slacking off. I don't think it's the complexity as such. I read somewhere that it's entry into ports was initially delayed by illness, but since then 3.5 has been found to be quite buggy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hardware graphics
On Friday 30 December 2005 05:44, Jon wrote: I need some help getting hardware graphics going. I built radeon.ko and drm.ko from drm cvs and loaded them, a quick dmesg drm says the modules are loaded. (drm 1.21.0 20051229) I was told on here I would need the r300 DRI module for my ATI Radeon 9800 Pro which I got from the FreeBSD Ports 'dri-6.2.20050719,1', that built and installed r300_dri.so. I'm using radeon_drv.o in my Xorg.conf file as the display driver, I had a look at my Xorg.conf Log file and it says: (WW) RADEON(0): Direct rendering not yet supported on Radeon 9500 and newer (II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and newer. (II) RADEON(0): Render acceleration disabled What else could be the problem? You probably need a more recent version of the xorg server. Try the x11-servers/xorg-server-snap port. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's using my system?
Kirk Strauser wrote: I'm staring at top running on my 6.0-STABLE system. It's my desktop machine, and also serves a light web/mail load (including a few jails). Basically, the system should be idle about 99% of the time when I'm not actively doing something on it. And yet it's not. The CPU never gets above about 75% idle, but top never shows any processes doing much of anything. The last pid field only rarely increases, so I'm relatively sure there's no processing forking off children that die too quickly for top to notice them. So, what could be using my CPU? And other than top and tailing various logfiles, what tools could help me find out? Example top output: last pid: 72475; load averages: 0.26, 0.80, 1.69 up 28+21:59:16 13:26:30 214 processes: 4 running, 210 sleeping CPU states: 14.7% user, 0.0% nice, 10.5% system, 3.9% interrupt, 70.9% idle Mem: 752M Active, 186M Inact, 219M Wired, 63M Cache, 112M Buf, 23M Free Swap: 4096M Total, 161M Used, 3934M Free, 3% Inuse PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 61660 root 1 960 89288K 74624K select 37:50 1.71% Xorg 61791 kirk 1 960 34704K 25600K select 12:17 1.12% kdeinit 61822 kirk 1 960 40616K 28980K select 14:55 1.03% kdeinit 68111 kirk 1 960 33584K 23292K select 0:16 0.15% kdeinit 1525 ldap 3 200 134M 7136K kserel 80:59 0.00% slapd 61811 kirk 3 20 -76 16516K 10860K kserel 76:40 0.00% artsd 1442 mysql 5 200 59576K 2752K kserel 44:14 0.00% mysqld 1449 nagios 3 200 3900K 1228K kserel 37:36 0.00% nagios 61864 kirk 3 960 78260K 61128K RUN 25:34 0.00% amarokapp 83630 bind 1 40 12024K 8704K select 14:49 0.00% named 1400 mailman1 80 8828K 2716K nanslp 14:15 0.00% python2.3 1403 mailman1 80 8532K 4088K nanslp 13:35 0.00% python2.3 1397 mailman1 80 9016K 2700K nanslp 12:47 0.00% python2.3 1398 mailman1 80 8792K 5216K nanslp 12:26 0.00% python2.3 Try this: top -S -n 50 man top is helpful -- Best regards, Chris When your opponent is down, kick him. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
STressing a new server...
Folks, When I bought this bare-bones box and plugged in stuff it took several days of figuring out what benchmark and other utilities to run to stress it. After a few weeks of pushing the load to 70+, the burning-in was a fair indicator that the HW would last. After 4+ years, no prob. Now I have a new box, custom built. Unfortunately, I've lost (or forgotten!) the same of the *.sh script and some of the utilities. So what should I be running and with an example of args? Last time I believe there were 5 or 6 stressors. Also, what's the memory testor utility calld? I have a gig of DDR in this new puppy, and want to be sure that every last BIT is good. Help much appreciated! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: Newbie problems with svscan and arp
Hello Odhiambo, Friday, December 16, 2005, 7:28:53 PM, you wrote: OW RTFM for qmail, I guess. I only know about Exim - http://www.exim.org ;) qmail -- http://cr.yp.to Have you use exim? -- Best regards, Playnetmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.0 server
I thaught it would be a good idea to setup a 6.0 server and test it out. Now I have a major headache and need some help. Setup: FreeBsd 6.0 fresh install, cvsup, make buildworld .. etc: portsnap fetch, extract: mysql41-server: apache13: php4: (all from ports) Apache starts and I get the default apache page. Made a page with ? phpinfo(): ? and tested, no problems. Made a page with: ?php mysql_connect(localhost, user, password) or die(mysql_error()); echo Connected to MySQLbr /; ? When I navigate to the above page it's blank, chmod 777 and still blank. Shutdown Mysql and Restart: mysqladmin -u root -ppassword shutdown restart using: /usr/local/bin/mysqld_safe -l --log-error --user=mysql sockstat verifies mysql is on 3306 and /tmp/mysql.sock The page is still blank and after refreshing 3 time and cleaning the browser and the logs file don't show a connect or error. Flushed logs and checked. Apache file doesn't show any errors and display errors is turned on in php.ini. Mysql was installed using, mysql_install_db, chown -R mysql:mysql /var/db/mysql/ Where do I look now or, does anyone know what needs to be done? Regards No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date: 30/12/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
disabling my mouse nipple
i'm using a dell d600 with 6.0-STABLE and Xorg on it. my mouse nipple is crazy|damaged: sometimes when i type keys next to it - 't', 'y', 'f', 'g', 'h', 'j', 'v', 'b', 'n' - the mouse pointer goes zooming across the screen, usually to the left. i don't know anything about the underlying hardware or drivers, so i would like to disable the mouse nipple at startup until i make time to consult a professional. i also have a touchpad, but i can't figure out which device is the touchpad and which is the mouse nipple - my dmesg only lists one device as a mouse. ## dmesg Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-STABLE #0: Thu Dec 15 12:48:16 PST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JSN Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1500MHz (1495.15-MHz 686-class CPU) Origin = GenuineIntel Id = 0x695 Stepping = 5 Features=0xa7e9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE Features2=0x180EST,TM2 real memory = 536535040 (511 MB) avail memory = 515682304 (491 MB) npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: DELL CPi R on motherboard Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 acpi_acad0: AC Adapter on acpi0 battery0: ACPI Control Method Battery on acpi0 battery1: ACPI Control Method Battery on acpi0 acpi_lid0: Control Method Lid Switch on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci_link1: BIOS IRQ 11 for 0.31.INTB is invalid pci0: ACPI PCI bus on pcib0 agp0: Intel 82855 host to AGP bridge mem 0xe000-0xe7ff at device 0.0 on pci0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 drm0: ATI Radeon Lf R250 Mobility 9000 M9 port 0xc000-0xc0ff mem 0xe800-0xefff,0xfcff-0xfcff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xe000 128MB info: [drm] Initialized radeon 1.19.0 20050911 uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0xbf80-0xbf9f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0xbf40-0xbf5f irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0xbf20-0xbf3f irq 11 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: Intel 82801DB/DBL/DBM (ICH4) USB 2.0 controller mem 0xf4fffc00-0xf4ff irq 11 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: Intel 82801DB/DBL/DBM (ICH4) USB 2.0 controller on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0 pci_link1: BIOS IRQ 11 for 2.3.INTA is invalid pci2: ACPI PCI bus on pcib2 pci2: bridge, PCI-CardBus at device 1.0 (no driver attached) pci2: bridge, PCI-CardBus at device 1.1 (no driver attached) ndis0: Dell TrueMobile 1300 WLAN Mini-PCI Card mem 0xfaffe000-0xfaff irq 9 at device 3.0 on pci2 ndis0: NDIS API version: 5.0 ndis0: Ethernet address: 00:90:96:b9:95:64 isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH4 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf at device 31.1 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 pcm0: Intel ICH4 (82801DB) port 0xb800-0xb8ff,0xbc40-0xbc7f mem 0xf4fff800-0xf4fff9ff,0xf4fff400-0xf4fff4ff irq 9 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: SigmaTel STAC9750/51 AC97 Codec acpi_tz0: Thermal Zone on acpi0 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: ECP parallel printer port port 0x378-0x37f,0x778-0x77b irq 7 drq 1 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE
Re: STressing a new server...
Gary Kline wrote: Folks, When I bought this bare-bones box and plugged in stuff it took several days of figuring out what benchmark and other utilities to run to stress it. After a few weeks of pushing the load to 70+, the burning-in was a fair indicator that the HW would last. After 4+ years, no prob. Now I have a new box, custom built. Unfortunately, I've lost (or forgotten!) the same of the *.sh script and some of the utilities. So what should I be running and with an example of args? Last time I believe there were 5 or 6 stressors. Also, what's the memory testor utility calld? I have a gig of DDR in this new puppy, and want to be sure that every last BIT is good. Help much appreciated! gary Try to do a make buildworld. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Free BSD install tutorial I 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's using my system?
On Sunday 01 January 2006 03:19 pm, Chris wrote: Try this: top -S -n 50 Here it is. Note that the WCPU fields don't come anywhere near adding up to the missing 42% (100 - ~58%). Also, the change in last pid is only about 13000 over the course of 11000 seconds, and that included a Google spider run a couple of hours ago; the median number of forks-per-second is much less than 1. last pid: 85931; load averages: 1.29, 0.95, 0.78 up 29+01:08:1316:35:27 306 processes: 5 running, 277 sleeping, 23 waiting, 1 lock Mem: 872M Active, 88M Inact, 222M Wired, 45M Cache, 112M Buf, 17M Free Swap: 4096M Total, 205M Used, 3891M Free, 4% Inuse PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 11 root 1 171 52 0K 8K RUN523.5H 57.86% idle 73955 root 1 980 162M 144M RUN 12:21 7.57% Xorg 74153 kirk 1 960 113M 103M select 5:29 4.30% kdeinit 74061 kirk 1 960 40176K 27380K select 3:11 0.93% kdeinit 74030 kirk 1 960 34724K 25496K select 2:57 0.10% kdeinit 22 root 1 -80 -199 0K 8K WAIT 198:48 0.00% irq11: nvidia0 sym0 46 root 1 -8 -127 0K 8K pgzero 130:16 0.00% pagezero 16 root 1 -80 -199 0K 8K WAIT 109:42 0.00% irq5: pcm0 27 root 1 -32 -151 0K 8K *Giant 98:53 0.00% swi4: clock sio 48 root 1 200 0K 8K syncer 83:28 0.00% syncer 1525 ldap 3 200 134M 7336K kserel 81:22 0.00% slapd 29 root 1 -44 -163 0K 8K WAIT52:01 0.00% swi1: net 1442 mysql 5 200 59576K 2628K kserel 44:26 0.00% mysqld 3 root 1 -80 0K 8K - 43:34 0.00% g_up 1449 nagios 3 200 3900K 1228K kserel 37:46 0.00% nagios 4 root 1 -80 0K 8K - 32:28 0.00% g_down 20 root 1 -68 -187 0K 8K WAIT21:12 0.00% irq9: fxp0 uhci0++ 83630 bind 1 960 12024K 8868K select 14:57 0.00% named 1400 mailman1 80 8828K 2696K nanslp 14:19 0.00% python2.3 1403 mailman1 80 8532K 2712K nanslp 13:38 0.00% python2.3 54 root 1 -400 0K 8K - 12:55 0.00% schedcpu 30 root 1 -160 0K 8K - 12:52 0.00% yarrow 21 root 1 -64 -183 0K 8K WAIT12:51 0.00% irq10: atapci1 1397 mailman1 80 9016K 2676K nanslp 12:50 0.00% python2.3 1398 mailman1 80 8792K 5136K nanslp 12:31 0.00% python2.3 1401 mailman1 80 8360K 2276K nanslp 12:27 0.00% python2.3 1402 mailman1 80 8996K 4820K nanslp 12:26 0.00% python2.3 13895 daapd 1 40 4592K 1996K select 12:15 0.00% mt-daapd 1399 mailman1 80 8348K 2260K nanslp 12:03 0.00% python2.3 74151 kirk 5 200 85764K 71868K kserel 9:46 0.00% kontact 59092 jabber 1 960 10104K 3648K select 9:28 0.00% jabberd 1567 squid 1 960 28580K 5588K select 7:41 0.00% squid 20522 root 1 40 3196K 1444K select 6:56 0.00% syslogd 598 root 1 960 3832K 1688K select 6:43 0.00% ntpd 44916 root 1 40 4760K 1604K select 6:39 0.00% master 41 root 1 -80 0K 8K m:w2 4:52 0.00% g_mirror usr 80973 1200 4 20 10 425M 87884K kserel 4:30 0.00% java 42 root 1 -80 0K 8K m:w1 4:24 0.00% g_mirror var 530 root 1 40 1300K 604K -3:47 0.00% nfsd 2 root 1 -80 0K 8K -3:41 0.00% g_event 69511 kirk 1 40 3260K 884K select 3:31 0.00% gpg-agent 1549 root 1 40 7016K 2048K select 3:18 0.00% snmpd 23 root 1 -60 -179 0K 8K WAIT 2:59 0.00% irq12: psm0 1705 root 1 -80 4144K 2332K piperd 2:54 0.00% perl5.8.7 1295 clamav 3 200 17108K 13448K kserel 2:29 0.00% clamd 25 root 1 -64 -183 0K 8K WAIT 2:25 0.00% irq14: ata0 44 root 1 -160 0K 8K psleep 2:17 0.00% pagedaemon 13896 daapd 3 200 13916K 2064K kserel 1:53 0.00% mt-daapd 1461 postgrey 1 40 10572K 5548K select 1:51 0.00% perl5.8.7 866 root 1 40 3620K 1316K select 1:46 0.00% sendmail man top is helpful -- Kirk Strauser pgpCg1VVtxnai.pgp Description: PGP signature
Re: ipnat -CF -f /etc/ipnat.rules
On 1/1/06, Parv [EMAIL PROTECTED] wrote: in message [EMAIL PROTECTED], wrote perikillo thusly... root#chmod +x /etc/rc.d/ipnat.rules Why did you need to add execute bit for the rules? - Parv -- Hi Parv. No, the file name is ipnat.bug, i make one mistake here. The rules continue on /etc. Happy New Year!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disabling my mouse nipple
On Sun, Jan 01, 2006 at 02:02:11PM -0800, Jason Dusek wrote: i also have a touchpad, but i can't figure out which device is the touchpad and which is the mouse nipple - my dmesg only lists one device as a mouse. IIRC, the two devices are (from the software's point of view) only one mouse, so you aren't going to be able to disable one or the other. You might be able to poke around in the BIOS and turn one of them off, though. --Mac pgp1gFcdCR7iV.pgp Description: PGP signature
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]
Re: What's using my system?
Kirk Strauser wrote: On Sunday 01 January 2006 03:19 pm, Chris wrote: Try this: top -S -n 50 Here it is. Note that the WCPU fields don't come anywhere near adding up to the missing 42% (100 - ~58%). Also, the change in last pid is only about 13000 over the course of 11000 seconds, and that included a Google spider run a couple of hours ago; the median number of forks-per-second is much less than 1. last pid: 85931; load averages: 1.29, 0.95, 0.78 up 29+01:08:13 16:35:27 306 processes: 5 running, 277 sleeping, 23 waiting, 1 lock Where is the line that reflects CPU states? This is very misleading without the WHOLE paste. Mem: 872M Active, 88M Inact, 222M Wired, 45M Cache, 112M Buf, 17M Free Swap: 4096M Total, 205M Used, 3891M Free, 4% Inuse Here's mine. Where is the REST of your info from the very top. last pid: 11829; load averages: 0.03, 0.38, 0.57up 1+23:57:05 18:27:01 123 processes: 2 running, 97 sleeping, 24 waiting CPU states: 3.1% user, 0.0% nice, 2.7% system, 0.4% interrupt, 93.8% idle Mem: 391M Active, 372M Inact, 164M Wired, 44M Cache, 111M Buf, 27M Free Swap: 2023M Total, 104K Used, 2023M Free -- Best regards, Chris Real programmers don't eat quiche. In fact, real programmers don't know how to spell quiche. They eat twinkies and szechuan food. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's using my system?
On Sunday 01 January 2006 06:29 pm, Chris wrote: Where is the line that reflects CPU states? This is very misleading without the WHOLE paste. My version of top doesn't display the CPU state line when in batch mode. $ top -S -n 5 last pid: 98339; load averages: 1.29, 1.62, 1.62 up 29+03:10:1818:37:32 314 processes: 8 running, 284 sleeping, 21 waiting, 1 lock In batch mode: Mem: 891M Active, 77M Inact, 221M Wired, 52M Cache, 112M Buf, 3548K Free Swap: 4096M Total, 313M Used, 3783M Free, 7% Inuse PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 11 root 1 171 52 0K 8K RUN524.5H 42.97% idle 73955 root 1 1000 164M 138M RUN 21:56 7.96% Xorg 88671 kirk 1 990 58644K 30060K select 4:59 5.08% gtk-gnutella 74061 kirk 1 970 40608K 26468K select 5:34 1.07% kdeinit 27 root 1 -32 -151 0K 8K RUN100:01 0.83% swi4: clock sio In interactive mode: last pid: 98348; load averages: 3.72, 2.08, 1.78 up 29+03:10:49 18:38:03 258 processes: 10 running, 248 sleeping CPU states: 19.8% user, 8.2% nice, 34.2% system, 4.7% interrupt, 33.1% idle Mem: 874M Active, 98M Inact, 222M Wired, 47M Cache, 112M Buf, 2716K Free Swap: 4096M Total, 313M Used, 3782M Free, 7% Inuse I just realized a little earlier that I'm running a build from November 2. I'm going to make world again and see if the problem fixes itself. -- Kirk Strauser pgp6q6DFn4DL8.pgp Description: PGP signature
Re: Free BSD install tutorial I wrote
Hello Allen, Sunday, January 1, 2006, 11:34:52 PM, you 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: I think handbook is here for this purpose (and people should be following it, as it is being updated on regular occasion, though there is possibility to find out-dated info and people are encouraged to notify doc@ people to update information provided) but no offense :) http://www.antionline.com/showthread.php?s=threadid=259335 You don't have to sign up to read this. -Allen -- Best regards, Danielmailto:[EMAIL PROTECTED] ___ 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
On Sunday 01 January 2006 19:09, Frank J. Laszlo wrote: 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. See below, this wasn't a part of the tutorial. 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. Well the reply you are reffering to is a paper I started writing and haven't finished. The first post was the tutorial and a few people asked me to post the paper I had been writing, it appears on the same page but has nothing to do with the tutorial which is the very first post listed. As I said the other reply was a paper I was asked to post so it wasn't part of it in any way shape or form. Regards, Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPFW FTP
hello i had a minor question/concern i was wondering why does the firewall rulesets have permissions for everything, and help for running almosty anything and how to open and wich port to open but yet it has no exmpale ruleset or any help for using a FTP while using a firewall such as IPFW. it has no help in the handbook period. on how to use ftp while using IPFW i think someone must check this and try to add it in. please ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW FTP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html Scott zhane H wrote: hello i had a minor question/concern i was wondering why does the firewall rulesets have permissions for everything, and help for running almosty anything and how to open and wich port to open but yet it has no exmpale ruleset or any help for using a FTP while using a firewall such as IPFW. it has no help in the handbook period. on how to use ftp while using IPFW i think someone must check this and try to add it in. please ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - -- [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (MingW32) iD8DBQFDuIWVKBeC2yZ3EEsRAqntAJ9dVc6a4qSuVmZwQhT4SJIrtPmuzgCffSNE mHkPe9PHGAK2EUhnEFMCLtg= =Jm88 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's using my system?
In the last episode (Jan 01), Kirk Strauser said: I'm staring at top running on my 6.0-STABLE system. It's my desktop machine, and also serves a light web/mail load (including a few jails). Basically, the system should be idle about 99% of the time when I'm not actively doing something on it. And yet it's not. The CPU never gets above about 75% idle, but top never shows any processes doing much of anything. The last pid field only rarely increases, so I'm relatively sure there's no processing forking off children that die too quickly for top to notice them. So, what could be using my CPU? And other than top and tailing various logfiles, what tools could help me find out? Example top output: last pid: 72475; load averages: 0.26, 0.80, 1.69 up 28+21:59:16 13:26:30 214 processes: 4 running, 210 sleeping CPU states: 14.7% user, 0.0% nice, 10.5% system, 3.9% interrupt, 70.9% idle Mem: 752M Active, 186M Inact, 219M Wired, 63M Cache, 112M Buf, 23M Free Swap: 4096M Total, 161M Used, 3934M Free, 3% Inuse PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 61660 root 1 960 89288K 74624K select 37:50 1.71% Xorg 61791 kirk 1 960 34704K 25600K select 12:17 1.12% kdeinit 61822 kirk 1 960 40616K 28980K select 14:55 1.03% kdeinit 68111 kirk 1 960 33584K 23292K select 0:16 0.15% kdeinit 1525 ldap 3 200 134M 7136K kserel 80:59 0.00% slapd 61811 kirk 3 20 -76 16516K 10860K kserel 76:40 0.00% artsd 1442 mysql 5 200 59576K 2752K kserel 44:14 0.00% mysqld 1449 nagios 3 200 3900K 1228K kserel 37:36 0.00% nagios My bets are on the above four processes. libpthread threads do not report %CPU usage, but those programs have definitely been consuming cpu since the TIME column is large. Switch to libc_r or libthr (you can use libmap.conf to redirect individual programs) to get useful CPU stats. Artsd's cpu usage is very suspicious, since it shouldn't be doing anything but sending sound samples to /dev/pcm. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: 6.0 server
Did you install the php4-mysql port? If no, I suggest you take a look at ports/lang/php4-extensions, and make config. On 1/1/06, RJ [EMAIL PROTECTED] wrote: I thaught it would be a good idea to setup a 6.0 server and test it out. Now I have a major headache and need some help. Setup: FreeBsd 6.0 fresh install, cvsup, make buildworld .. etc: portsnap fetch, extract: mysql41-server: apache13: php4: (all from ports) Apache starts and I get the default apache page. Made a page with ? phpinfo(): ? and tested, no problems. Made a page with: ?php mysql_connect(localhost, user, password) or die(mysql_error()); echo Connected to MySQLbr /; ? When I navigate to the above page it's blank, chmod 777 and still blank. Shutdown Mysql and Restart: mysqladmin -u root -ppassword shutdown restart using: /usr/local/bin/mysqld_safe -l --log-error --user=mysql sockstat verifies mysql is on 3306 and /tmp/mysql.sock The page is still blank and after refreshing 3 time and cleaning the browser and the logs file don't show a connect or error. Flushed logs and checked. Apache file doesn't show any errors and display errors is turned on in php.ini. Mysql was installed using, mysql_install_db, chown -R mysql:mysql /var/db/mysql/ Where do I look now or, does anyone know what needs to be done? Regards No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date: 30/12/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: STressing a new server...
On Mon, Jan 02, 2006 at 12:11:31AM +, Tofik Suleymanov wrote: Gary Kline wrote: Folks, When I bought this bare-bones box and plugged in stuff it took several days of figuring out what benchmark and other utilities to run to stress it. After a few weeks of pushing the load to 70+, the burning-in was a fair indicator that the HW would last. After 4+ years, no prob. Now I have a new box, custom built. Unfortunately, I've lost (or forgotten!) the same of the *.sh script and some of the utilities. So what should I be running and with an example of args? Last time I believe there were 5 or 6 stressors. Also, what's the memory testor utility calld? I have a gig of DDR in this new puppy, and want to be sure that every last BIT is good. Help much appreciated! gary Try to do a make buildworld. Sure; no problem, but I want more. BTW, most of you already know this, but it bears re-stating: even memory and drives that have been well pounded can go bad after N months. That's only happened to me onnce (with memory); a few times with drives. But failures are more likely in the first several days to a week or so. No sense in eating a loss if testing will increase my odds... . gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: STressing a new server...
Gary Kline wrote: Folks, When I bought this bare-bones box and plugged in stuff it took several days of figuring out what benchmark and other utilities to run to stress it. After a few weeks of pushing the load to 70+, the burning-in was a fair indicator that the HW would last. After 4+ years, no prob. Now I have a new box, custom built. Unfortunately, I've lost (or forgotten!) the same of the *.sh script and some of the utilities. So what should I be running and with an example of args? Last time I believe there were 5 or 6 stressors. Also, what's the memory testor utility calld? I have a gig of DDR in this new puppy, and want to be sure that every last BIT is good. Help much appreciated! gary There is Peter Holm's kernel stress test suite written to stress the hell out of FreeBSD http://www.holm.cc/stress/ As far as I know there are still some outstanding panics in FreeBSD it can trigger. http://www.freebsd.org/releases/6.0R/todo.html Other then that theres just plenty of stuff in the benchmarks dir of the ports tree. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
natd -redirect_port question
I have natd set up on a 4.10 box to get the rest of my network on the internet. I have an application that requires connections to be able to be established on a specific port. The problem is, sometimes I run this app on system A and sometimes on system B. The port stays the same. So in my rc.conf I have included in natd_flags -redirect_port tcp systemA:port port ; currently if I want to use the app on system B I'm having to reboot the natd box. Obviously this seems silly, however, I've found that trying to reset this information using a command line like: natd -n dc0 -redirect_port systemB:port port results in an errror stating redirect can't bind to that port, because it's already in use. I'm convinced I'm overlooking an easy way to change this redirect on the fly without having to reboot the natd box. Anyone care to point me the right direction? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: natd -redirect_port question
I have natd set up on a 4.10 box to get the rest of my network on the internet. I have an application that requires connections to be able to be established on a specific port. The problem is, sometimes I run this app on system A and sometimes on system B. The port stays the same. So in my rc.conf I have included in natd_flags -redirect_port tcp systemA:port port ; currently if I want to use the app on system B I'm having to reboot the natd box. Obviously this seems silly, however, I've found that trying to reset this information using a command line like: natd -n dc0 -redirect_port systemB:port port results in an errror stating redirect can't bind to that port, because it's already in use. I'm convinced I'm overlooking an easy way to change this redirect on the fly without having to reboot the natd box. Anyone care to point me the right direction? Thanks in advance. If you already have natd running, then you need to stop it first before starting it up again. -- Matt Emmerton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where should I address fixes for /usr/src/lib/libc/rpc code to?
Hi, Ive been fixing code in /usr/src/lib/libc/rpc and would like to know where I should address my attention (and code fixes) to. Thanks, Damien Miller = Sub UNIX lumen [EMAIL PROTECTED] = -- Aluminium Oxide [EMAIL PROTECTED] -- http://www.fastmail.fm - Access your email from home and the web ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where should I address fixes for /usr/src/lib/libc/rpc code to?
On Mon, Jan 02, 2006 at 02:14:40PM +1030, Aluminium Oxide wrote: Hi, Ive been fixing code in /usr/src/lib/libc/rpc and would like to know where I should address my attention (and code fixes) to. There's the freebsd-hackers@freebsd.org list, and you can always send-pr(1) your patches at any time. -- Jonathan Chen [EMAIL PROTECTED]Once is dumb luck. Twice is coincidence. Three times and Somebody Is Trying To Tell You Something. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where should I address fixes for /usr/src/lib/libc/rpc code to?
In the last episode (Jan 02), Aluminium Oxide said: Ive been fixing code in /usr/src/lib/libc/rpc and would like to know where I should address my attention (and code fixes) to. According to src/MAINTAINERS, alfred@ is the go-to guy for rpc code. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: STressing a new server...
For hardware testing, the best is ports/math/mprime In combination with memtest86, because mprime doesn't sweep all RAM. If you have several processors, be sure to run several instances of mprime (requires copying the whole mprime directory). Martin -- %%% Martin Cracauer cracauer@cons.org http://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help! Hard disk problems
Hello all, In doing some routine items on my FreeBSD box, it started behaving oddly. I rebooted and to my surprise, I started receiving many messages displaying information regarding that /usr has issues. It puts me directly into single user mode and tells me to run fsck manually. When I run fsck all by itself, here is what it tells me: ** /dev/ad0s1f ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes UNKNOWN FILE TYPE I=496000 UNEXPECTED SOFT UPDATE INCONSISTENCY CLEAR? [yn] This is the first time that I have ever run fsck and I have no idea what this message means or what the best course of action on CLEAR to take. Any input at all would be greatly appreciated (FreeBSD 6.0- STABLE if it helps). Thank you all so much for your assistance. -Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: STressing a new server...
On Sun, Jan 01, 2006 at 11:20:40PM -0500, Martin Cracauer wrote: For hardware testing, the best is ports/math/mprime In combination with memtest86, because mprime doesn't sweep all RAM. If you have several processors, be sure to run several instances of mprime (requires copying the whole mprime directory). Martin -- Ah, thanks for the tip on mprime. Would the odds of touch more RAM improve if I ran several nstatiations of mprime at once, perhaps each differently nice'd? gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: STressing a new server...
Gary Kline wrote on Sun, Jan 01, 2006 at 08:31:43PM -0800: On Sun, Jan 01, 2006 at 11:20:40PM -0500, Martin Cracauer wrote: For hardware testing, the best is ports/math/mprime In combination with memtest86, because mprime doesn't sweep all RAM. If you have several processors, be sure to run several instances of mprime (requires copying the whole mprime directory). Martin -- Ah, thanks for the tip on mprime. Would the odds of touch more RAM improve if I ran several nstatiations of mprime at once, perhaps each differently nice'd? No, prime is best used with nothing else interrupting it, not even switches to other instances of itself. One mprime per CPU. It is a very tightly written assembly program which cooks the CPU pretty nicely in torture mode (start with -t). Remember this is hardware test only, it does nothing about OS hickups. Martin -- %%% Martin Cracauer cracauer@cons.org http://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load Balancing: How Busy are the servers?
I just installed cacti, which seems fairly useful for 'long term views' of how a server is doing ... now I have to figure out what SNMP MIBs related to all of the important things :( On Sun, 1 Jan 2006, Francisco Reyes wrote: Marc G. Fournier writes: For all the technology, I was kinda hoping for some 'scientific formula' :) There are.. Now, I really hate to ask, but how do you use vmstat to get a feel for how busy the disk subsystem is? For me, reading Absolute BSD by Michael Lucas was very helpfull. In particular Chapter 18, System performance. The three columns I look at are for vmstat r and b on the left, and fault. r shows how many processes are waiting for CPU, b shows how many processes are waiting for disk. The fault column(s) show how badly your system is accesing swap. Quick example: r b w 2 5 0 1 5 0 2 4 0 2 5 0 3 4 0 1 5 0 1 5 0 That's from my home machine as I am doing some backups. The machine at this point is more disk bound than CPU bound with 4 to 5 disk operations at any point in time waiting for disk access I am also falling behind in CPU, but not as bad. On the far right of vmsat you also have CPU stats.. in my case the vmstat from the above lines showed 70% to 90% iddle which confirmed I was disk bound at that point. The fault column show you how actively you are using swap. The lines above had between 30 and 200 approximately. If you look at swapinfo and you have a large amount of swap in use and then you see a high number in vmstat for fault, the machine is short on RAM for the load you have on it. So far in my experience nothing hurts a machine as badly as hitting swap (given that you have adequate CPU/disks). Once you start to hit swap heavily you need to do something (if you can...) such as moving services to another machine or putting in more memory. Instead of looking for fixed number I think that relative figures are more important.. like looking at your machines at their lowest usage and then at their busiest.. or at spikes.. If at slow times of activity the machines are already falling behind on b, r on vmstat.. then that machine is overloaded. One possible quick way to start benchmarking your machines, until you can do something better is to capture snapshots of vmstat every 15 to 30 minutes and take a look.. perhaps even write a short script to summarize it. On my list of things to do.. is to do a simple setup of that nature.. just because it would be easy to setup and can provide very valuable information until you setup something more feature rich. top in 5.X branch and up is also very userfull. If you hit m it shows you disk processes so you can see what programs are doing the most I/O. One thing to watch out for in top when using 'm' is if you see all low numbers ( hit 'o' to sort and then type 'total').. is that you may have lots of programs doing little I/O, but their combined load is a problem for your disk subsystem like having 200+ IMAP connections. Each single IMAP connection may not be doing more than a handfull of transactions per second, but all of them combined can give a disk subsystem a pretty good workout. The load averages from 'w' are also good figures to do comparative tests. I started to wokr on a script (but needs more work) that dumps 'w' and 'vmstat' .. next have to work on parsing them and giving summaries. In particular one wants to know peak times.. since that is the best time to determine if the machine can handle it's load.. and more importantly spikes. If a machine is usually under 2.. and it spikes at 5+.. that machine is possibly able to do normal loads, but may not be able to handle spikes in traffic (ie a customer doing a mailing list, or a site just got press.. and there are a larger number than usual of people going to their URL). I still thinkg I have MUCH, MUCH to learn.. but I would be glad to expand on anything mentioned above.. or anything else. Ultimately each machine/company is unique enough that absolute numbers from other people (ie what is a good value for 'r' and 'b' to be around most of the time) may be less important than learning what are the different figures for your different machines under normal operation. Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load Balancing: How Busy are the servers?
Marc G. Fournier writes: I just installed cacti, which seems fairly useful for 'long term views' of how a server is doing Have not played with it, but have read good/favorable comments about it. I would be nice if you did a mini report of your early impressions later.. In particular I think it would be good to know how easy it is to setup and what it covers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: STressing a new server...
What I did to stress test the last time I did this was build mysql then run the stress benchmarking suite that comes with mysql. I think this is a better way to do it than running a script, as it puts real-world load on the server. And that benchmark can take days to run depending on the parameters you put into it. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gary Kline Sent: Sunday, January 01, 2006 1:20 PM To: FreeBSD Mailing List Subject: STressing a new server... Folks, When I bought this bare-bones box and plugged in stuff it took several days of figuring out what benchmark and other utilities to run to stress it. After a few weeks of pushing the load to 70+, the burning-in was a fair indicator that the HW would last. After 4+ years, no prob. Now I have a new box, custom built. Unfortunately, I've lost (or forgotten!) the same of the *.sh script and some of the utilities. So what should I be running and with an example of args? Last time I believe there were 5 or 6 stressors. Also, what's the memory testor utility calld? I have a gig of DDR in this new puppy, and want to be sure that every last BIT is good. Help much appreciated! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date: 12/30/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cacti (Was: Re: Load Balancing: How Busy are the servers?)
On Mon, 2 Jan 2006, Francisco Reyes wrote: Marc G. Fournier writes: I just installed cacti, which seems fairly useful for 'long term views' of how a server is doing Have not played with it, but have read good/favorable comments about it. I would be nice if you did a mini report of your early impressions later.. In particular I think it would be good to know how easy it is to setup and what it covers. 'k, I'm terrible at 'reports', but ... to be totally honest, this has gotta be one of the nicer pieces of software I've played with as far as documentation *especially* for OSS ... I installed it out of ports, initially directly on one of our servers, mistakenly thinking I needed to do one install per server ... ended up moving it into a vServer so that I can easily move it around as I get more powerful servers, instead of having it tied to a specific machine ... On all our other servers, I just had to install the net-snmp port, to give it something to talk to ... The hardest part about setting things up with setting up snmpd, but ended up running snmpconf -i to do this (snmpconf -g basic is apparently slightly easier too) ... once I built the initial snmpd.conf file, I just copied that to the other servers, instead of building one for each ... The Cacti port ends up with a short message that tells you step by step what needs to be done ... it has one error, in that the crontab entry it tells you to create appears to be wrong ... does Linux support a 'user to run as' arg within their crontab? After that, so far, I've just used the 'default net-snmp' settings that come with Cacti ... haven't had a chance to dive into snmp yet, to figure out what else can be monitored ... I currently have it monitoring CPU, Load, Traffic and Memory Usage You can setup Graph Trees, so you can group Graphs together .. ie. all the CPU Usage graphs for all (or groups of) servers, so that you can compare them ... So far, at least, definitely a tool I'd recommend ... so far, seems to work well ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fetch dependencies from LAN
I am using FreeBSD 6.0 now and there is a ftp server in my local network at which we can find every needed dependencies. What should I do to make my computer fetch dependencies from the server instead of ftp://bsd.org or other global server ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fetch dependencies from LAN
I am using FreeBSD 6.0 now and there is a ftp server in my local network at which we can find every needed dependencies. What should I do to make my computer fetch dependencies from the server instead of ftp://bsd.org or other global server Set MASTER_SITE_OVERRIDE=hostname in /etc/make.conf. -- Matt Emmerton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]