Re: md devices mounted with async
mdmfs(8) has an example of a malloc-backed md device mounted with the async option. Is there any point in doing this with malloc and vnode devices? In neither case does a write to the file-system require a write to a physical disk. i don't think so. but if you use FreeBSD 7 use tmpfs. it says it's experimental feature, but still not crashed on 3 computers i use it. what it's missing is some kind of quota, you may crash the system by simply filling it up and using all swap ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PORTS - no longer updated
Jos Chrispijn wrote: I use a port that no longer is supported thru the regular ports. p5-Text-ParseWords-3.1 Parse text into an array of tokens or array of arrays ** Listing the failed packages (-:ignored / *:skipped / !:failed) - textproc/p5-Text-ParseWords (port directory error) Have tried to remove it, but then I get the message that there are still other installed programs are using it. Would the only possibility be that I excluded it from being update by adding it to pkgtools.conf or is there another way to correct this? Text::ParseWords is provided by the basic perl port -- see, no installed package: % pkg_info -Ix ParseWords pkg_info: no packages match pattern(s) but the module is still there: % perl -MText::ParseWords -le 'print $Text::ParseWords::VERSION;' 3.24 What you need to do is force delete the package: # pkg_delete -f p5-Text-ParseWords-3.1 and then run # pkgdb -Fu to fix up the broken dependency linkages. Everything that depended on p5-Text-ParseWords would already depend on perl anyhow, so just delete the dependency if pkgdb can't work it out for itself. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: sendmail's outgoing IPs
i have 3 different links to ISP all are ADSL's so outgoing bandwidth is low, i would like to spread the load generated by outgoing mails. Pardon my lack of imagination, but how could anyone -- other than a spammer -- be generating enough outbound email traffic to *need* to load-balance it, and yet have little enough total Internet traffic to be using DSL rather than something oriented to commercial use (like a T1)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PORTS - no longer updated
Matthew Seaman wrote: [-] to fix up the broken dependency linkages. Everything that depended on p5-Text-ParseWords would already depend on perl anyhow, so just delete the dependency if pkgdb can't work it out for itself. I understand and have done so, thanks for sharing; -- Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail's outgoing IPs
by outgoing mails. Pardon my lack of imagination, but how could anyone -- other than a spammer -- be generating enough outbound email traffic to *need* to load-balance it, and yet have little enough please come to poland and use polish telecom's 4Mbit/s ADSL connections. you won't ask why. no i'm not a spammer, but my users often send mails like 20-40MB sized. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail's outgoing IPs
Pardon my lack of imagination, but how could anyone -- other than a spammer -- be generating enough outbound email traffic to *need* to load-balance it, and yet have little enough total Internet traffic to be using DSL rather than something oriented to commercial use (like a T1)? the reason is simple something like T1 here costs far too much to dedicate it just for mails. for the same price i can get four 4Mbit/s ADSL's (which i have now), that actually gives 4Mbit/s download speed, but only 512kbps upload. if you substract ACK's needed for 4Mbit/s download, little is left. my ipfw rules manages all this so web browsing works fine, but mail output is a problem now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re[2]: Fwd: twe0 interrupt storm
Dear Daniel, Please tell me you had this storms only with 3ware 8006-2LP? Because as I remember on MSI motherboard controller, I have no problems with FreeBSD 6.2, but when I upgraded to FreeBSD 7.0 that storms appeared, but not so often as with 3ware. P.S. Maybe I have to ask them to update BIOS? I am so happy with their network and service, don't want to move to another server... Kind Regards 2008/6/15 Daniel Gerzo [EMAIL PROTECTED]: Hello FreeBSD, Saturday, June 14, 2008, 4:38:10 PM, you wrote: Be careful with hetzner.de hosting, here is their answer: The controller is compatible with the mainboard. With linux there are no problems. FreeBSD is also not officially supported by us (only Debian/Ubuntu/Suse). Yea, I know they do not officialy support FreeBSD, unluckily :-( These interrupt storms are the only problem I have with hetzner.de... -- 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[4]: Fwd: twe0 interrupt storm
Hello Stanislav, Sunday, June 15, 2008, 12:40:57 PM, you wrote: Dear Daniel, Please tell me you had this storms only with 3ware 8006-2LP? Actually, I do have them on the boxes which do not have the raid controller. I have several boxes in hetzner. The ones that does not have any additional devices attached to the motherboard seem like not having the problem. However most of my machines have at least additional NIC device. Please note that my machines does not crash even when there is an interrupt storm. On the other hand, they suffer from some performance problems :/ The funny thing is that after reboot there's some silent period of time, when the interrupts are OK. After the systems becomes to be loaded more, the interrupt rate increases unless it reaches around 350k interrupt rate... I have tried to play with the BIOS settings, nothing really helped. Because as I remember on MSI motherboard controller, I have no problems with FreeBSD 6.2, but when I upgraded to FreeBSD 7.0 that storms appeared, but not so often as with 3ware. P.S. Maybe I have to ask them to update BIOS? I am so happy with their network and service, don't want to move to another server... I have tried to ask them to update the BIOS in the past, AFAIR they replied that the BIOS update is up to me... -- 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: md devices mounted with async
RW wrote: On Sun, 15 Jun 2008 03:08:34 +0200 Kris Kennaway [EMAIL PROTECTED] wrote: RW wrote: I meant that a write to the filesystem doesn't require a corresponding write to disk, and the change can stay in memory indefinitely. Presumably, more or less, the same inactive pages get written-out to swap, with or without async. Well, it doesn't necessarily cause a write to disk for each filesystem write, but the synchronization mode of the filesystem to the backing store is precisely what the async/noasync/sync mount options control! It's not obvious that that's true when the backing-store is swap, I would have expected that changes would only be written-out when memory is needed elsewhere rather than to keep the backing-store synchronized. Let's recap :-) You said: Is there any point in doing this with malloc and vnode devices? In neither case does a write to the file-system require a write to a physical disk. I said: Well, for vnode devices it does write to the disk, but that isn't the point; So I was referring to vnode devices. I guess there was some confusion because in your reply you mentioned swap, not vnode. Anyway, to be clear: when a filesystem mounted on md is written to it writes through to its' backing store according to the mount policy of the filesystem (e.g. with sync mounts all writes are written through synchronously, etc). That is why async mounts on top of the md are most efficient (as with mounts on top of any device). In the case of swap backing this means the vm page is marked dirty, and it will be written to swap in case of memory pressure. That is indeed why swap backing is more efficient. For vnode backing the file is written to, which will again be written to disk according to the sync mount mode of the underlying filesystem. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: md devices mounted with async
Wojciech Puchar wrote: mdmfs(8) has an example of a malloc-backed md device mounted with the async option. Is there any point in doing this with malloc and vnode devices? In neither case does a write to the file-system require a write to a physical disk. i don't think so. but if you use FreeBSD 7 use tmpfs. it says it's experimental feature, but still not crashed on 3 computers i use it. There are known bugs, don't use it if you value your stability :) what it's missing is some kind of quota, you may crash the system by simply filling it up and using all swap That's one of them. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ggate[cd] - no IPv6?
how can i put IPv6 address in /etc/gg.exports ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? Regards, Oliver rm -f ../unxfbsdx.pro/lib/check_libvcl680fx.so mv ../unxfbsdx.pro/lib/libvcl680fx.so ../unxfbsdx.pro/lib/check_libvcl680fx.so /usr/ports/editors/openoffice.org-2/work/OOH680_m17/solenv/bin/checkdll.sh -L../unxfbsdx.pro/lib -L/usr/ports/editors/openoffice.org-2/work/OOH680_m17/solver/680/unxfbsdx.pro/lib ../unxfbsdx.pro/lib/check_libvcl680fx.so Checking DLL ../unxfbsdx.pro/lib/check_libvcl680fx.so ...: ERROR: ../unxfbsdx.pro/lib/check_libvcl680fx.so: Undefined symbol _ZNK7icu_3_814LEFontInstance17getDynamicClassIDEv dmake: Error code 1, while making '../unxfbsdx.pro/lib/libvcl680fx.so' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/vcl/util dmake: Error code 1, while making 'build_instsetoo_native' ---* *--- *** Error code 255 Stop in /usr/ports/editors/openoffice.org-2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
O. Hartmann wrote: Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? I am not able tohelp but just to confirm this is due to libxml2 not being found right (note to maintainer thats the issue I have in attempting to install on 8-current [i386]) Regards, Oliver rm -f ../unxfbsdx.pro/lib/check_libvcl680fx.so mv ../unxfbsdx.pro/lib/libvcl680fx.so ../unxfbsdx.pro/lib/check_libvcl680fx.so /usr/ports/editors/openoffice.org-2/work/OOH680_m17/solenv/bin/checkdll.sh -L../unxfbsdx.pro/lib -L/usr/ports/editors/openoffice.org-2/work/OOH680_m17/solver/680/unxfbsdx.pro/lib ../unxfbsdx.pro/lib/check_libvcl680fx.so Checking DLL ../unxfbsdx.pro/lib/check_libvcl680fx.so ...: ERROR: ../unxfbsdx.pro/lib/check_libvcl680fx.so: Undefined symbol _ZNK7icu_3_814LEFontInstance17getDynamicClassIDEv dmake: Error code 1, while making '../unxfbsdx.pro/lib/libvcl680fx.so' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/vcl/util dmake: Error code 1, while making 'build_instsetoo_native' ---* *--- *** Error code 255 Stop in /usr/ports/editors/openoffice.org-2. ___ 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: sendmail's outgoing IPs
On Sun, 15 Jun 2008 Wojciech Puchar [EMAIL PROTECTED] wrote: no i'm not a spammer, but my users often send mails like 20-40MB sized. [..] something like T1 here costs far too much to dedicate it just for mails. for the same price i can get four 4Mbit/s ADSL's (which i have now), that actually gives 4Mbit/s download speed, but only 512kbps upload. Lucky you. We have a 1500/256kbps link for up to 20 boxes, though there's talk of upgrading to (nominally) 8M/384kbps. if you substract ACK's needed for 4Mbit/s download, little is left. Slight exaggeration, though TCP downloads do need say 5-10% of download bandwidth upstream. Sure, as soon as you use all upload bandwidth (your mail example, torrents of course, youtube uploads etc) your download bandwidth is shot. Not to mention very soggy remote ssh access :) my ipfw rules manages all this so web browsing works fine, but mail output is a problem now. Why not add dummynet pipes and suitable rules to limit the outbound bandwidth for mail (or torrents, whatever's a problem) to a maximum of say 80% of upload, so for 512k set upload limit to maybe 400k, leaving plenty of room for TCP acks? So mail takes a bit longer to send .. You can get fancier with weighted queueing of course, I haven't tried. Works well here anyway, but we're not running a multilink connection. hth, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail's outgoing IPs
something like T1 here costs far too much to dedicate it just for mails. for the same price i can get four 4Mbit/s ADSL's (which i have now), that actually gives 4Mbit/s download speed, but only 512kbps upload. Lucky you. We have a 1500/256kbps link for up to 20 boxes, though there's talk of upgrading to (nominally) 8M/384kbps. i have 300 users. and all works quite fast :) if you substract ACK's needed for 4Mbit/s download, little is left. Slight exaggeration, though TCP downloads do need say 5-10% of download count 10 as HTTP requests can be large. that's 400kbit/s from 512 available! bandwidth upstream. Sure, as soon as you use all upload bandwidth (your mail example, torrents of course, youtube uploads etc) your download ipfw rules make sure upload bandwidth isn't saturated. it's just a problem that few is left for something else is a problem now. Why not add dummynet pipes and suitable rules to limit the outbound bandwidth for mail (or torrents, whatever's a problem) to a maximum of say 80% of upload, so for 512k set upload limit to maybe 400k, leaving i am already doing this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD and Xorg: session ending ends up in locked up Xorg server
Hello, I have a strange problem on one of my FreeBSD 7.0-STABLE boxes. The machine is a FreeBSD 7.0-STABLE/AMD64 box, most recently built-world. Whenever I logout from a local X11 session (using Xorg, most recent, and Windowmaker, also most recent, all X stuff recently rebuilt), Xorg eats up 100% CPU time and I never get back to the login box offered by xdm (xdm is driven by /etc/ttys as recommended). Instead I see a weird unresponsive screen with blinking, weird coloured block-graphics and letters, in most cases the same pattern, but this changes. Logging in from another box and killing Xorg gives back the expected login box from xdm. I have no glue what's going on here. My graphics board is a nVidia driven GF8600GTS and it worked well a couple of weeks ago. I rebuild the whole X stuff incl. all the dependencies because I thought it could have something to do with miscompiled or outdated ports - but thta isn't obviously the fact. Does anyone see this on his box also? Regards, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mrtg peak on reboot / snmp-issue?
Hello, Small but curious thing on my freebsd-based systems: when a server is rebooted, it generates a peak (or spike?) on the network mrtg for all interfaces (here just before 1 am): http://8304.ch/om/stuff/mrtg_localhost_1-day.png It happens with both net-snmp and ucd-snmp, with a quite standard mrtg installation (generated by cfgmaker). Do you have the same issue on your own servers? All I can add, is that there is not such a high traffic after a reboot, and that it doesn't happen on similar linux-based systems. Regards a nice week to you, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Xorg: session ending ends up in locked up Xorg server
On Sun, Jun 15, 2008 at 03:46:17PM +, O. Hartmann wrote: Hello, I have a strange problem on one of my FreeBSD 7.0-STABLE boxes. The machine is a FreeBSD 7.0-STABLE/AMD64 box, most recently built-world. Whenever I logout from a local X11 session (using Xorg, most recent, and Windowmaker, also most recent, all X stuff recently rebuilt), Xorg eats up 100% CPU time and I never get back to the login box offered by xdm (xdm is driven by /etc/ttys as recommended). Instead I see a weird unresponsive screen with blinking, weird coloured block-graphics and letters, in most cases the same pattern, but this changes. Logging in from another box and killing Xorg gives back the expected login box from xdm. I have no glue what's going on here. My graphics board is a nVidia driven GF8600GTS and it worked well a couple of weeks ago. I rebuild the whole X stuff incl. all the dependencies because I thought it could have something to do with miscompiled or outdated ports - but thta isn't obviously the fact. Does anyone see this on his box also? Regards, Oliver What happens if you login via console and use startx to run X? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
stunnel 4.25 and portdowngrade
Hi there, I am in a bit of a peculiar situation. So I upgraded to stunnel 4.25 now. but since I upgraded the binary I find that the CPU is tacked and also eventually the ports it is supposed to be answering for no longer get answered. So I decided since 4.24 was working perfectly to portdowngrade. I follow the standard procedure and stunnel 4.25 is installed again instead of stunnel 4.24 any suggestions here? machine: 6.2-RELEASE-p11 Cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD and Greek support
Hello, I use FreeBSD 7.0-RELEASE-p1 i386 with custom kernel, xfce4 for gui and firefox (everything is installed using ports) for my desktop computer. I recently found this article http://www.freebsd.org/doc/el_GR.ISO8859-7/articles/greek-language-support/a rticle.html, applied the settings and installed 'ports/x11-fonts/urwfonts' and everything is in Greek now. I have a problem though when viewing web pages that are encoded with el_GR, there are spaces among the letters and it is really ugly. Well, these spaces existed before making the changes that the article suggests. Does anyone know how I can fix this? Thanks in advance, Dimitris. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to view environment variables
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Whitehouse wrote: RW wrote: On Sun, 15 Jun 2008 00:27:10 +0100 Chris Whitehouse [EMAIL PROTECTED] wrote: Hello, sysutils/fusefs-ntfs/files/README.FreeBSD refers to various environment variables, eg UBLIO_BLOCKSIZE and others. How do I find out what they are set to? set and printenv don't find them. I'm using standard csh and FreeBSD 7.0-STABLE, fuse.ko is loaded and ntfs-3g works except it seems very slow. If you didn't set them, they probably aren't set. You'll need to consult the fusefs-ntfs documentation (or source) to find the default value. I think this explains part of my confusion. If the variables are not set ntfs-3g assumes some defaults (in README.FreeBSD) but doesn't set them as environment variables. I thought ntfs-3g would actually set them. I still don't know how to view them when I have explicitly set them, as per previous reply to Robert Huff. eco# env UBLIO_BLOCKSIZE=65536 ntfs-3g /dev/ad0s1 /ad0s1 eco# setenv |grep UBLIO eco# I just picked up on this ... environmental variables are part of the private environment of programs. Those variables are given to any child programs. If the programs are shells, shells specialize in creating child programs, so all those environmental variables get given to the children. A filesystem doesn't create children, it just organizes the storage and presentation of disk data, so when you set a environmental variable to a filesystem, it may react to that variable if it is programmed that way, but it doesn't send it anywhere. If you want to see the variable in your shell, then you must tell the shell to set it in it's environment. For a sh-like shell, you would do something like: export UBLIO_BLOCKSIZE=65536 For a csh-like shell, use: setenv UBLIO_BLOCKSIZE 65536 (Notice that a csh-like shell DOESN'T use the =). Your filesystem prog is being told of your variable above, but your attempt to see it is misguided. There was a way to see the information, using the e option to ps, but it was always a security problem, so it seems like that was removed from FreeBSD (it's probably controlled by a sysctl). I think it still works in most linuxes. Reading the variables is very easy to do with the env program, where if you give it no args, it repeats all the variables. Try it. It works for all shells, unlike your setenv, because it's an actual program (/usr/bin/env). setenv is, for a csh-like shell, a shell built-in, not a real program. The way it goes to programs is via 3 variables given to every program. They are, in the order they're presented: 1- argc, which means the number of parameters given to the program by the shell 2- argv, a list of string pointers, to program parameters 3- envp, a list of string pointers, to name=value pairs, for all environmental variables given to each program. Those names are only the commonly used names, they may be changed completely at will, because the system only gives the info in the order I gave, and doesn't associate the info with any names. Your program needs to associate some names to the parameters so that you can manipulate them, and using these names is a good idea so as not to confuse other programmers, just don't get the idea that those names have any real magic meaning on their own. I could write a program using manny, moe, and jack as the names of the 3 items given to a program, and (beyond making things confusing) that program would work just fine. Writing a small program that annouces the arguments count, and prints all of the parameters, and all of the env. variables, makes a fine beginners first program. Chris ___ 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] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIVUh7z62J6PPcoOkRAp5+AKCAuGFkXoiWMzthzPqpQfR3lGPamQCdH9KI UJwnNE1c7ox5JrSwHoEzJWo= =4Oue -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]
High load, lots of free memory and processes in devfs state
Hi, I'm having a serious problem with one of my FreeBSD servers. It runs FreeBSD 6.2-RELEASE, Apache 2.2.8 and PHP 5.2.1. I've checked the hardware and it's all OK. There's approximately 400 Apache processes running and a 2GB memcached instance. Up until last weekend this server was working perfectly at a level of HTTP traffic higher than it's currently getting. Last week our database server (separate server) died and had to be rebuilt. While this was being done this server hosted the database. This has now been completed and the PHP app is pointing back at the dedicated DB server. Top shows the following... last pid: 26838; load averages: 10.22, 14.06, 13.55 up 2+00:34:47 18:03:43 619 processes: 1 running, 618 sleeping CPU states: 4.9% user, 0.0% nice, 24.8% system, 0.4% interrupt, 70.0% idle Mem: 2241M Active, 2718M Inact, 462M Wired, 394M Cache, 214M Buf, 1747M Free Swap: 8192M Total, 124K Used, 8192M Free PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 26807 80 1 -40 79892K 9996K devfs 0 0:00 2.81% httpd 26797 80 1 -40 82376K 12592K devfs 1 0:00 2.19% httpd 26791 80 1 -40 82376K 12636K devfs 0 0:00 1.85% httpd 26783 80 1 -40 82392K 12640K devfs 3 0:00 1.84% httpd 26780 80 1 -40 79892K 10036K devfs 0 0:00 1.51% httpd 26801 80 1 -40 81292K 11104K devfs 3 0:00 1.50% httpd 26786 80 1 -40 80456K 10796K devfs 1 0:00 1.41% httpd 26784 80 1 -40 79892K 10036K devfs 0 0:00 1.41% httpd 26785 80 1 -40 81304K 11228K devfs 0 0:00 1.41% httpd 26763 80 1 -40 83220K 13752K devfs 1 0:00 1.24% httpd ...etc... As you can see there's plenty of free memory and the CPU is 70% idle yet the load is sky high. When it's like this it's impossible to do anything - every command can take anything from a few seconds to a few minutes to respond - and the web user experience is shot to pieces. I can't find a reference that explains what the devfs state indicates. SA shows the following... [EMAIL PROTECTED]:~# sa 150107 242633.24re 1548.32cp 13avio 801k 31174 192785.02re 1488.13cp 32avio 502k httpd* 7047 6286.71re 21.53cp 67avio 2854k php 7703 164.83re 14.65cp3avio 743k convert 8 19.82re9.47cp 5016avio1k gzip 7703 177.66re7.70cp2avio 1352k composite 4 18.90re3.69cp1avio3k mysqldump 90.80re0.76cp 23avio 144k bzip2 64.16re0.53cp22998avio 1731k find 2890 1126.31re0.45cp0avio 175988k perl* 5415 40.83re0.32cp 11avio 123676k rateup 300914948.72re0.32cp3avio 9512k smtp 247 1812.85re0.27cp 440avio 945k cleanup 7 163.69re0.18cp0avio 105k top 167 1809.71re0.11cp 183avio 1117k pickup 2667 797.34re0.07cp0avio29671k trivial- rewrite 1820 96.40re0.02cp0avio 141901k ps 17 1482.98re0.02cp1avio 1083k sshd* 35629 6318.10re0.01cp0avio 18016816k sh 15232 391.68re0.01cp0avio 935430k sendmail 599 1223.30re0.01cp 28avio44065k bounce 70.95re0.01cp8avio 596k sa 35 1952.66re0.01cp 11avio16013k ***other 250.07re0.01cp 18avio 1447k rm 15232 203.94re0.00cp7avio 2994436k postdrop 611.20re0.00cp5avio34481k git 3 123.65re0.00cp 12avio 796k mail 92 345.77re0.00cp0avio34405k scache 312.13re0.00cp 66avio 7115k newsyslog 6 2140.32re0.00cp 14avio 6835k bash 5463 290.01re0.00cp0avio 2584397k grep 5 1479.06re0.00cp 17avio 3878k sshd 1830 99.75re0.00cp0avio 1221440k wc 42.86re0.00cp2avio13472k less 30.46re0.00cp0avio10048k pgrep 68 27.44re0.00cp0avio69632k sh* 35.06re0.00cp1avio13120k showq 59 109.55re0.00cp0avio 243008k smtpd 1830.54re0.00cp2avio 518400k unlink 21.61re0.00cp 33avio 4608k whereis 120.00re0.00cp0avio35000k adjkerntz 50
Re: mrtg peak on reboot / snmp-issue?
Olivier Mueller wrote: Hello, Small but curious thing on my freebsd-based systems: when a server is rebooted, it generates a peak (or spike?) on the network mrtg for all interfaces (here just before 1 am): http://8304.ch/om/stuff/mrtg_localhost_1-day.png This could happen if either the daemon fails to correctly provide ifCounterDiscontinuityTime or mrtg fails to correctly interpret sysUpTime and/or ifCounterDiscontinuityTime. It happens with both net-snmp and ucd-snmp, with a quite standard mrtg installation (generated by cfgmaker). Do you have the same issue on your own servers? All I can add, is that there is not such a high traffic after a reboot, and that it doesn't happen on similar linux-based systems. harti ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: md devices mounted with async
On Sun, 15 Jun 2008 13:39:35 +0200 Kris Kennaway [EMAIL PROTECTED] wrote: So I was referring to vnode devices. I guess there was some confusion because in your reply you mentioned swap, not vnode. Sorry, that was my fault. I meant to ask about about malloc and swap backed devices, and never spotted that I'd written vnode, or that vnode had been mentioned. Anyway, to be clear: when a filesystem mounted on md is written to it writes through to its' backing store according to the mount policy of the filesystem (e.g. with sync mounts all writes are written through synchronously, etc). That is why async mounts on top of the md are most efficient (as with mounts on top of any device). But isn't the normal point of async to avoid having the cpu waiting for the disk with nothing to do. If there's nothing to block on, the cpu can be consistently utilized without async. I suppose with SMP it might help spread the work between cpus, but with a single cpu it seems like it would just end-up doing the same work in a different order. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: md devices mounted with async
but if you use FreeBSD 7 use tmpfs. it says it's experimental feature, but still not crashed on 3 computers i use it. There are known bugs, don't use it if you value your stability :) what it's missing is some kind of quota, you may crash the system by simply filling it up and using all swap That's one of them. but are there others? i don't fear of overflowing it, as no remote users log in here. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mrtg peak on reboot / snmp-issue?
Sorry the blackberry is truncating your original mail, but yes I have noticed the same thing on my setup. In my case I am using a custom rrdtool perl script. While not a fix for the actual problem, my workaround has been to use a CDEF in my rrdgraph command to set the value to 0 if it exceeds a sane maximum. I'm not sure off hand if mrtg has a similar capability but you might be able to set a max value for the graph so at least it won't skew the graph and hide the rest of the data points. Another option is to use a custom script to collect the values by grabbing the data from snmp and then sanitizing them prior to outputting to the value. Regards, Josh On 6/15/08, Olivier Mueller [EMAIL PROTECTED] wrote: Hello, Small but curious thing on my freebsd-based systems: when a server is rebooted, it generates a peak (or spike?) on the network mrtg for all interfaces (here just before 1 am): http://8304.ch/om/stuff/mrtg_localhost_1-day.png It happens with both net-snmp and ucd-snmp, with a quite standard mrtg installation (generated by cfgmaker). Do you have the same issue on your own servers? All I can add, is that there is not such a high traffic after a reboot, and that it doesn't happen on similar linux-based systems. Regards a nice week to you, Olivier ___ 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: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
I can confirm the error. I tried rebuilding everything I could think of in my installed ports, but the error remains the same: ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/vcl/util dmake: Error code 1, while making 'build_instsetoo_native' O. Hartmann wrote: Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? Regards, Oliver rm -f ../unxfbsdx.pro/lib/check_libvcl680fx.so mv ../unxfbsdx.pro/lib/libvcl680fx.so ../unxfbsdx.pro/lib/check_libvcl680fx.so /usr/ports/editors/openoffice.org-2/work/OOH680_m17/solenv/bin/checkdll.sh -L../unxfbsdx.pro/lib -L/usr/ports/editors/openoffice.org-2/work/OOH680_m17/solver/680/unxfbsdx.pro/lib ../unxfbsdx.pro/lib/check_libvcl680fx.so Checking DLL ../unxfbsdx.pro/lib/check_libvcl680fx.so ...: ERROR: ../unxfbsdx.pro/lib/check_libvcl680fx.so: Undefined symbol _ZNK7icu_3_814LEFontInstance17getDynamicClassIDEv dmake: Error code 1, while making '../unxfbsdx.pro/lib/libvcl680fx.so' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/vcl/util dmake: Error code 1, while making 'build_instsetoo_native' ---* *--- *** Error code 255 Stop in /usr/ports/editors/openoffice.org-2. ___ 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: FreeBSD and Greek support
On Sun, 15 Jun 2008 19:41:28 +0300, Dimitris Giakoudis [EMAIL PROTECTED] wrote: Hello, I use FreeBSD 7.0-RELEASE-p1 i386 with custom kernel, xfce4 for gui and firefox (everything is installed using ports) for my desktop computer. I recently found this article http://www.freebsd.org/doc/el_GR.ISO8859-7/articles/greek-language-support/a rticle.html, applied the settings and installed 'ports/x11-fonts/urwfonts' and everything is in Greek now. I You don't really need specifically the urwfonts collection, since any TTF font works fine in X11. The webfonts collection should work too, I guess. have a problem though when viewing web pages that are encoded with el_GR, there are spaces among the letters and it is really ugly. Well, these spaces existed before making the changes that the article suggests. I'm not sure what spaces these are. Can you show us a screenshot of what you see? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Greek support
Dimitris Giakoudis wrote: ... applied the settings and installed 'ports/x11-fonts/urwfonts' and everything is in Greek now. I have a problem though when viewing web pages that are encoded with el_GR, there are spaces among the letters and it is really ugly. Have you got examples of such web pages? I read some Greek things on the Net, and I have no problem with spaces among the letters. -- Tore ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Greek support
On Sun, Jun 15, 2008 at 7:41 PM, Dimitris Giakoudis [EMAIL PROTECTED] wrote: Hello, I use FreeBSD 7.0-RELEASE-p1 i386 with custom kernel, xfce4 for gui and firefox (everything is installed using ports) for my desktop computer. I recently found this article http://www.freebsd.org/doc/el_GR.ISO8859-7/articles/greek-language-support/a rticle.html, applied the settings and installed 'ports/x11-fonts/urwfonts' and everything is in Greek now. Try to install 'ports/x11-fonts/webfonts' too. I am very happy listening that my article helped you. I have a problem though when viewing web pages that are encoded with el_GR, there are spaces among the letters and it is really ugly. Well, these spaces existed before making the changes that the article suggests. Does anyone know how I can fix this? Thanks in advance, Dimitris. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Nikos Kokkalis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[SOLVED] FreeBSD and Greek support
So, x11-fonts/webfonts was the missing part of the puzzle :) Now, greek web pages seem pretty nice. Nikos, I think you should include this to the article. Thank you all, Dimitris. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: md devices mounted with async
Wojciech Puchar wrote: but if you use FreeBSD 7 use tmpfs. it says it's experimental feature, but still not crashed on 3 computers i use it. There are known bugs, don't use it if you value your stability :) what it's missing is some kind of quota, you may crash the system by simply filling it up and using all swap That's one of them. but are there others? i don't fear of overflowing it, as no remote users log in here. Yes. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD + ZFS on a production server?
On Mon, 9 Jun 2008 23:31:35 +0200 (CEST), Wojciech Puchar [EMAIL PROTECTED] said: W but why you need [a filesystem for linux that do checksum on the fly]?! all W PATA/SATA drives do checksumming on every read. in hardware, no CPU load. These days, hardware isn't just hardware. A disk drive can have around 300,000 lines of low-level firmware, and who wants to bet that it's completely bug-free? Silent-write errors are actually a big problem: http://www.usenix.org/publications/login/2008-06/openpdfs/bairavasundaram.pdf An Analysis of Data Corruption in the Storage Stack In this paper, we present the first large-scale study of data corruption. We analyze corruption instances recorded in production storage systems containing a total of 1.53 million disk drives, over a period of 41 months. We study three classes of corruption: checksum mismatches, identity discrepancies, and parity inconsistencies. We focus on checksum mismatches since they occur the most; more than 400,000 instances of checksum mismatches over the 41-month period. -- Karl Vogel I don't speak for the USAF or my company Mangled song lyric: Looks like tomatoes Actual lyric: Looks like we made it. (Barry Mannilow) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: md devices mounted with async
RW wrote: But isn't the normal point of async to avoid having the cpu waiting for the disk with nothing to do. If there's nothing to block on, the cpu can be consistently utilized without async. I suppose with SMP it might help spread the work between cpus, but with a single cpu it seems like it would just end-up doing the same work in a different order. Yes, but even on a single CPU your application can potentially dispatch more work in the meantime. e.g. it could be doing other device or network I/O. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail's outgoing IPs
Wojciech Puchar wrote: by outgoing mails. Pardon my lack of imagination, but how could anyone -- other than a spammer -- be generating enough outbound email traffic to *need* to load-balance it, and yet have little enough please come to poland and use polish telecom's 4Mbit/s ADSL connections. you won't ask why. no i'm not a spammer, but my users often send mails like 20-40MB sized. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Aloha List, In Hawaii we have 3 Mbit DSL that is used for email and web sites. Works just fine in and out. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + email: [EMAIL PROTECTED] All that's really worth doing is what we do for others.- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and Xorg: session ending ends up in locked up Xorg server
At 10:46 AM 6/15/2008, O. Hartmann wrote: Hello, I have a strange problem on one of my FreeBSD 7.0-STABLE boxes. The machine is a FreeBSD 7.0-STABLE/AMD64 box, most recently built-world. Whenever I logout from a local X11 session (using Xorg, most recent, and Windowmaker, also most recent, all X stuff recently rebuilt), Xorg eats up 100% CPU time and I never get back to the login box offered by xdm (xdm is driven by /etc/ttys as recommended). Instead I see a weird unresponsive screen with blinking, weird coloured block-graphics and letters, in most cases the same pattern, but this changes. Logging in from another box and killing Xorg gives back the expected login box from xdm. I have no glue what's going on here. My graphics board is a nVidia driven GF8600GTS and it worked well a couple of weeks ago. I rebuild the whole X stuff incl. all the dependencies because I thought it could have something to do with miscompiled or outdated ports - but thta isn't obviously the fact. Does anyone see this on his box also? Regards, Oliver There have been reports of 100% CPU with some graphics drivers, specifically nvidia's with Xorg. I would check that you have the correct and latest driver for your specific video chip. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
On Sun, Jun 08, 2008 at 04:34:17AM -0500, Sam Fourman Jr. wrote: for what it is worth, between 3 companies that I do consulting for, there are about 250 workstations that currently use, Windows ME, or Windows 2000.Flash and Microsoft Outlook remain the only 2 reasons we can not use PC-BSD. Wine is making some GREAT Progress, and very shortly if not already, Outlook will run in wine, and the lack of a current flash player will remain the only thing standing in the way of 250 more PC-BSD stations. Unfortunately, I don't think Adobe is likely to give a damn about people who would switch to FreeBSD (or FreeBSD spin-off like PC-BSD) if there were a current, stable Flash player for the platform. All Adobe's likely to care about is people who use FreeBSD (or a spin-off) regardless of whether there's a current, stable Flash player available. Adobe wants market penetration -- which it's just as happy to get by people being stuck on MS Windows as by any other means. So . . . if you want your situation to provide some kind of influence on Adobe to provide current, stable Flash players for FreeBSD and its spin-offs, you need to come up with numbers of FreeBSD-based desktop systems, not a number of systems running a platform Adobe already supports that *isn't* FreeBSD-based, no matter how much you'd like to change those systems to PC-BSD. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] awj @reddit: The terms never and always are never always true. pgp5ShWphvpWC.pgp Description: PGP signature
Re: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
Tim Kellers writes: I can confirm the error. I tried rebuilding everything I could think of in my installed ports, but the error remains the same: ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/vcl/util dmake: Error code 1, while making 'build_instsetoo_native' I get the same error, but in a different place: /usr/local/bin/gcp: preserving permissions for `./unxfbsdi.pro/inc/xuldoc': Invalid argument /usr/local/bin/gcp: preserving permissions for `./unxfbsdi.pro/inc/xultmpl': Invalid argument /usr/local/bin/gcp: preserving permissions for `./unxfbsdi.pro/inc/zlib': Invalid argument dmake: Error code 1, while making 'unxfbsdi.pro/misc/build/so_moz_include_files' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/moz dmake: Error code 1, while making 'build_instsetoo_native' Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [SOLVED] FreeBSD and Greek support
On Sun, 15 Jun 2008 22:59:10 +0300, Dimitris Giakoudis [EMAIL PROTECTED] wrote: So, x11-fonts/webfonts was the missing part of the puzzle :) Now, greek web pages seem pretty nice. Nikos, I think you should include this to the article. Hi Dimitris. Thanks for taking the time to post a [SOLVED] message. I've prepared a proposed change/addition to the article, which is now online in diff/patch format at: http://hg.hellug.gr/freebsd/doc-el/rev/96b47edf541f The text is in Greek, so it would be nice if you could review the section I added (the 'green' lines). Then if both you and Nikos like the changes, I can commit it to the main CVS tree too. Cheers, Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
saslauthd on AMD64
I have an AMD64 install using saslauthd and is failing. An identical installation on i386 works fine. Both installations are running on FreeBSD 7.0-RELEASE with cyrus-sasl-2.1.22_1, and cyrus-sasl-saslauthd-2.1.22. A telnet session to the MTA yields the result: 535 5.7.8 Error: authentication failed: generic failure One of the saslauthd threads then exits: Jun 15 23:09:55 smtpgate kernel: pid 44573 (saslauthd), uid 0: exited on signal 11 (core dumped) I did not have this issue running on the AMD64 6.2-RELEASE. Any help would be appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: amule eats up my swap!!
On Fri, Jun 13, 2008 at 10:11:02AM -0400, Tsu-Fan Cheng wrote: Hi all, I guess this is a rare issue, but I think my amule, when no upload limit, eats up my swap, and cause amule to crash. After I set limit to 10K, the mule runs fine. I have 1G ram and 2G swap, and without upload limit, amule crash very often. does anyone know what is going on?? thank you! I've had problems with aMule crashing too. Typically it would run fine for a few hours, and then it would suddenly start allocating memory (my system memory usage graph went from a flat line to a line climbing with constant slope) and then it would exit and leave a core file behind. It might have been a segfault, but I don't remember. I'm not able to test it right now. My solution at the time was to run amule with while true; do amule; done. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
moving FreeBSD installation disk to USB stick
Hello, I've an USB stick of 1 GByte and my idea is to put the FreeBSD 7.0 installation disk on this to boot from and install the system in a laptop which does not have other external devices; in the past I've put already a FreeBSD boot able system on such a stick, following this recipe: http://groups.google.com/group/lucky.freebsd.questions/msg/5c759b1c87376b22 but this is not exactly a copy of the installation disk1; is there any guide to do this? thanks in advance; matthias -- Matthias Apitz e [EMAIL PROTECTED] - w http://www.UnixArea.de/ Irland - EU 1:0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]