Re: Problem Sending Mail With Postfix
Montag [EMAIL PROTECTED] writes: I've got Postfix SMTP server set up on a FreeBSD 7 box. I'm receiving mail just fine, and I can send mail to my other web accounts (gmail), but my mail is getting rejected from the mailing lists. Here is the output from the local mail queue: host mx1.free.bsd.org said: my.mywebsite.com: Helo command rejected: Host not found (in reply to RCPT TO command)) freebsd-questions@freebsd.org Any thoughts? Montag, what values do you have in /usr/local/etc/postfix/main.cf for mydomain myorigin mydestination mynetworks? What is the FQDN of the machine you are trying to send mail from? And yes, the real error mesage would be a help! Glyn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The impossible happened, committing suicide
On May 19, 2008, at 10:16 AM, Gunther Mayer wrote: Hi there, I couldn't quite believe it when I saw it. I received an email from cron stating Assertion failed: (0 The impossible happened, committing suicide), function load_plist, file store_txt.c, line 840. Abort trap Obviously a developer's joke, but I'm concerned that there might be a real problem. Would anybody here have any clue as to why this would occur? This happened when executing the following daily (early morning) job on our development server: portsnap cron update /dev/null portsdb -u 2/dev/null [ $(hostname) = mydevserver ] portsearch -u The hostname check we have in there is necessary because while portsearch is handy, it's very resource hungry and thus only tolerable in a testing environment - we share the crontab through svn between our live and dev box. I've now received the same output twice - once yesterday morning and once this morning, chances are I'll get the same tomorrow again... Gunther ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It looks like portsearch is where the assertion fails. With a cursory look, you have a bad plist file for some port and portsearch just dies when it gets bad input. The best thing to do would be to patch portsearch to figure out what file is causing the problem, `s-plist_fn`, and either delete it(assuming portsearch updates it, since I seem to have few files starting with plist and it looks as though it's trying to load a file named plist I'm assuming it's controlled by portsearch) or just reinstall portsearch. But as I said, I just did a cursory look, and I don't use portsearch, so I'm only looking at the source code. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel panics on a 5.4-STABLE
Hello Group We have a FreeBSD 5.4-STABLE System which is booting once or twice in a week without any meaningfull messages on the console or in a logfile. May 14 11:41:26 ldxp syslogd: kernel boot file is /boot/kernel/kernel May 14 11:41:26 ldxp savecore: reboot after panic: page fault ... May 14 21:31:36 ldxp syslogd: kernel boot file is /boot/kernel/kernel May 14 21:31:36 ldxp savecore: reboot after panic: page fault ... May 18 09:10:37 ldxp syslogd: kernel boot file is /boot/kernel/kernel May 18 09:10:37 ldxp savecore: reboot after panic: page fault My first thought was RAM so I did a memtest86 over night but everthing looks ok. I was able to get and open a kernel dump but have no idea what this stuff means :) %sudo cat /var/crash/info.14 Dump header from device /dev/ar0s1b Architecture: i386 Architecture Version: 16777216 Dump Length: 1073717248B (1023 MB) Blocksize: 512 Dumptime: Sun May 18 09:03:50 2008 Hostname: ldxp.xxx.zz Magic: FreeBSD Kernel Dump Version String: FreeBSD 5.4-STABLE #5: Mon Jan 14 11:21:51 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LDXP Panic String: page fault Dump Parity: 3477207326 Bounds: 14 Dump Status: good % %sudo kgdb kernel.debug /var/crash/vmcore.14 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd. #0 doadump () at pcpu.h:160 160 __asm __volatile(movl %%fs:0,%0 : =r (td)); (kgdb) bt #0 doadump () at pcpu.h:160 #1 0xc04c5ae8 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:412 #2 0xc04c5d7c in panic (fmt=0xc06279fc %s) at /usr/src/sys/kern/kern_shutdown.c:568 #3 0xc0604c0c in trap_fatal (frame=0xe4aacc24, eva=36) at /usr/src/sys/i386/i386/trap.c:817 #4 0xc06043f9 in trap (frame= {tf_fs = -458620904, tf_es = -1068695536, tf_ds = 16, tf_edi = -1041254912, tf_esi = -1041254912, tf_ebp = -458568584, tf_isp = -458568624, tf_ebx = -1035129472, tf_edx = -1035799228, tf_ecx = -1066880192, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1068615581, tf_cs = 8, tf_eflags = 65683, tf_esp = 68, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:255 #5 0xc05f4e4a in calltrap () at /usr/src/sys/i386/i386/exception.s:140 #6 0xe4aa0018 in ?? () #7 0xc04d0010 in thread_single (mode=-1041254912) at /usr/src/sys/kern/kern_thread.c:812 #8 0xc04e3ede in turnstile_wait (ts=0xc242f5c0, lock=0xc068b340, owner=0xc24d2d80) at /usr/src/sys/kern/subr_turnstile.c:556 #9 0xc04bd499 in _mtx_lock_sleep (m=0xc068b340, td=0xc1efb600, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:552 #10 0xc04cbf8a in msleep (ident=0xc068b7e4, mtx=0xc068b340, priority=68, wmesg=0xc0635a53 psleep, timo=500) at /usr/src/sys/kern/kern_synch.c:239 #11 0xc05cee9c in vm_pageout () at /usr/src/sys/vm/vm_pageout.c:1529 #12 0xc04b14d0 in fork_exit (callout=0xc05cec1c vm_pageout, arg=0x0, frame=0xe4aacd38) at /usr/src/sys/kern/kern_fork.c:791 #13 0xc05f4eac in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:209 (kgdb) Can anyone give me a hint where else to look for the problem? tia Philippe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
exclude network from ipsec
God day. I have some problem with ipsec, established between two networks 10.11.0.0/16, D-Link DFL-210. LAN IP - 10.11.3.1 10.11.56.0/16, FreeBSD 6.3 LAN IP - 10.11.56.1 /etc/ipsec.conf flush; spdflush; spdadd 10.11.56.0/24 10.11.0.0/16 any -P out ipsec esp/tunnel/xx.xx.xx.xx-yy.yy.yy.yy/require; spdadd 10.11.0.0/16 10.11.56.0/24 any -P in ipsec esp/tunnel/yy.yy.yy.yy-xx.xx.xx.xx/require; Routing table 10.11/16 yy.yy.yy.yy UGS3222382 3223301 vlan0 10.11.56/24link#1 UC 00rl0 Tunnel established and work fine, but queries from 10.11.56.0/24 to 10.11.56.1 are dended through ipsec tunnel I can't ping 10.11.56.1 even localy from router There are a way to send queriers from 10.11.56.0 to several networks from 10.11.0.0/24 (10.11.56.0/24, 10.11.57.0/24 for example) without ipsec ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low/Jerky performance in FreeBSD 7
Quoting Vince Hoffman [EMAIL PROTECTED] (from Mon, 19 May 2008 22:45:29 +0100): Yani Brankov wrote: Hey guys, Hi I recently updated to FreeBSD 7 and noticed that my box started to perform as windows does under heavier loads. The mouse starts to be Which scheduler? ULE or BSD? Try the other one you use currently. Bye, Alexander. -- Gleemites, n.: Petrified deposits of toothpaste found in sinks. -- Rich Hall Friends, Sniglets http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updated php, and apache segfaults on SIGHUP
On Tue, May 20, 2008 at 8:11 AM, Randy Bush [EMAIL PROTECTED] wrote: did you ever try comment out the three extensions I mentioned in my previous email? That fixed it right up for me. i did not have those extensions at all. or maybe i did not understand where they are. Could you guys google for fixphpextorder.sh and see if that would help. It did help me last year when I had this problem and I always rely on it during upgrade, but I'm not saying I guarantee it will:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Now what would you expect this to print out?
On Tuesday 20 May 2008 02:41, RW wrote: On Mon, 19 May 2008 21:46:03 +1200 Jonathan Chen [EMAIL PROTECTED] wrote: On Mon, May 19, 2008 at 01:49:35AM -0700, Garrett Cooper wrote: Riddle for the day for folks that have source trees... what would you expect this to print out (ask yourself the question and then execute the command)? find /usr/src -name Makefile -or -name '*.mk' -print The expected output and what actual output differed in my mind, but maybe somebody else can shed some light on the logic behind what happened It's a problem that catches many young players with find(1). One has to remember from reading the man-page that all directives have an implicit AND operator on it; and that includes the -print directive. So to get what you want, you have to introduce brackets: find /usr/src \( -name Makefile -or -name '*.mk' \) -print Why does that make a difference, when print always evaluates to true? x AND true = x so (a OR b) AND true = a OR b a OR (b AND true) = a OR b It makes a difference (as in programming) because -print is used for its side-effect rather than its value, and the binding order influences when the side-effect happens. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updated php, and apache segfaults on SIGHUP
Could you guys google for fixphpextorder.sh and see if that would help. It did help me last year when I had this problem and I always rely on it during upgrade, but I'm not saying I guarantee it will:-) still cores # /usr/local/etc/rc.d/apache22 start Performing sanity check on apache22 configuration: Segmentation fault (core dumped) Starting apache22. Segmentation fault (core dumped) randy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updated php, and apache segfaults on SIGHUP
# /usr/local/etc/rc.d/apache22 start Performing sanity check on apache22 configuration: Segmentation fault (core dumped) Starting apache22. Segmentation fault (core dumped) Apache (1.3) would core dump when pgsql (from php 5.2.5) was loaded as a module. Commenting this module out from /usr/local/etc/php/extensions.php solved the startup problem commenting out all extensions did not solve it randy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updated php, and apache segfaults on SIGHUP
Could you guys google for fixphpextorder.sh and see if that would help. It did help me last year when I had this problem and I always rely on it during upgrade, but I'm not saying I guarantee it will:-) still cores # /usr/local/etc/rc.d/apache22 start Performing sanity check on apache22 configuration: Segmentation fault (core dumped) Starting apache22. Segmentation fault (core dumped) Apache (1.3) would core dump when pgsql (from php 5.2.5) was loaded as a module. Commenting this module out from /usr/local/etc/php/extensions.php solved the startup problem (but then the web-app could not connect to our postgresql-server). Compiling pgsql statically into php worked around my problem. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SVN Advice
On Mon, May 19, 2008 at 06:05:38AM -0500, [EMAIL PROTECTED] wrote: Hello all, I'm seeking to set up an SVN repository on my home machine. I've come across the following two guides: http://www.bsdguides.org/guides/freebsd/misc/subversion.php http://www.onlamp.com/pub/a/bsd/2007/09/27/subversion-for-bsd-with-all-the-bells-and-whistles.html I guess you've looked at the svn book (which is what I used): http://svnbook.red-bean.com/nightly/en/index.html but I don't use Apache, I use the built in server for checking out stuff over my LAN. You could use this and use tcp wrappers to restrict checkout/checkin to your home IP. The line I've got in inetd.conf: svn stream tcp nowait frank /usr/local/bin/svnserve svnserve -i and in hosts.allow: svnserve: 192.168.0.0/255.255.255.0 : allow The second one is certainly overkill for what I need (I just want to use it to manage my personal projects, since I work remotely a lot). I'd definitely like a password protected web interface though. My issue is the following. In both guides (and in all the other ones I've come across) Apache is compiled with options that I did not select when I installed Apache a while ago. I'd rather not have to redo everything I've set up with my web server. Is there any way I get include those modules (namely WITH_BERKELEYDB) without having to recompile? Also, any advice relating to setting up Subversion on FreeBSD in general. I think the easiest method to add modules to Apache is rebuild but make sure you run: make config in the ports dir before building. If your source code is precious to you, then you can use svn over SSL, I believe. I don't think there is much to know about building/running svn on FreeBSD that is particular to FreeBSD - svn is just a load of perl scripts AFAIK. Appreciate the help, montag HTH a bit. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
webcam for 7.0
Hi all I'm running FreeBSD 7.0-Stable and now I need to have webcam mic for using ekiga. I'm never using this kind of software before. I would like to known what's model of webcam and mic is best for ekiga FreeBSD 7. When I say best that's mean -- easy to install (no patch to apply, etc.) because I NEED to use ekiga...(\not = I like to). Lots of thanks. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Mar 20 mai 2008 15:20:35 CEST ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low/Jerky performance in FreeBSD 7
I recently updated to FreeBSD 7 and noticed that my box started to perform as windows does under heavier loads. The mouse starts to be Which scheduler? ULE or BSD? Try the other one you use currently. with any it's slower than 6.3. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which System-board and Processor is best for FreeBSD AMD64 7.0-RELEASE?
Hello Friends Which System-board and Processor is BEST for FreeBSD AMD64 7.0-RELEASE? RAM will be used around 8GB - 16GB. -- Thanks! BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: webcam for 7.0
El día Tuesday, May 20, 2008 a las 03:26:09PM +0200, Albert Shih escribió: Hi all I'm running FreeBSD 7.0-Stable and now I need to have webcam mic for using ekiga. I'm never using this kind of software before. I would like to known what's model of webcam and mic is best for ekiga FreeBSD 7. When I say best that's mean -- easy to install (no patch to apply, etc.) because I NEED to use ekiga...(\not = I like to). Lots of thanks. Regards. Albert, You may be interested in this page: http://wiki.ekiga.org/index.php/Compile_your_own_SVN_version_of_Ekiga_on_FreeBSD (the versions of PTLib, Opal and Ekiga in the ports are a bit outdated and not fully working/tested in FreeBSD); The cam I'm using with FreeBSD 7.0-REL and Ekiga is: May 20 09:32:17 rebelion kernel: pwc0: vendor 0x0471 product 0x0329, rev 1.10/0.03, addr 2 May 20 09:32:17 rebelion kernel: pwc0: Philips SPC900NC USB webcam May 20 09:32:17 rebelion kernel: pwc0: This camera is equipped with a Sony CCD sensor + TDA8787 (32) Hope it helps matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on Usenet and in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Now what would you expect this to print out?
On Tue, 20 May 2008 11:33:50 +0200 Jonathan McKeown [EMAIL PROTECTED] wrote: On Tuesday 20 May 2008 02:41, RW wrote: On Mon, 19 May 2008 21:46:03 +1200 Jonathan Chen [EMAIL PROTECTED] wrote: find /usr/src \( -name Makefile -or -name '*.mk' \) -print Why does that make a difference, when print always evaluates to true? x AND true = x so (a OR b) AND true = a OR b a OR (b AND true) = a OR b It makes a difference (as in programming) because -print is used for its side-effect rather than its value, and the binding order influences when the side-effect happens. That's still a bit counter-intuitive because in normal programming languages the binding order modifies side-effects via the evaluation order. And in both cases the evaluation order would be expected to be left-to-right, with -print running last. I guess what you are saying is that the side-effect of print is based-on a Boolean running-value. And without the brackets, the first test has been evaluated, but not yet ORed into that running-value, by the time that print runs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Server crashing, no explanations
Hey all, We have recently been getting a lot of traffic to one of our sites. The CPU is consistently during busy periods using 100% utilisation. When this happens we have approx 150 apache threads, and the loads goes way above 15. However recently the server has been auto-restarting (when under heavy load) with no explanation in any logs. I've checked the console log, messages, db logs e.t.c. but no mention of anything wrong. Brief server summary : FreeBSD 6.3-STABLE #0: CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz 686-class CPU) Logical CPUs per core: 2 real memory = 17716740096 (16896 MB) avail memory = 16837763072 (16057 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs We tried installing mbmon and lmmon and healthd, but none seem to work. Anyone got any suggestions for other things we can try to detect why the server is failing? or other ways to check things like CPU temp and memory status? Cheers Alan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server crashing, no explanations
Crash dumps should help. Alan Gilmour wrote: Hey all, We have recently been getting a lot of traffic to one of our sites. The CPU is consistently during busy periods using 100% utilisation. When this happens we have approx 150 apache threads, and the loads goes way above 15. However recently the server has been auto-restarting (when under heavy load) with no explanation in any logs. I've checked the console log, messages, db logs e.t.c. but no mention of anything wrong. Brief server summary : FreeBSD 6.3-STABLE #0: CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz 686-class CPU) Logical CPUs per core: 2 real memory = 17716740096 (16896 MB) avail memory = 16837763072 (16057 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs We tried installing mbmon and lmmon and healthd, but none seem to work. Anyone got any suggestions for other things we can try to detect why the server is failing? or other ways to check things like CPU temp and memory status? Cheers Alan ___ 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: Server crashing, no explanations
Hi Roberto, There's nothing in /var/crash Any other ideas? Cheers Alan On 20/05/2008, Roberto Nunnari [EMAIL PROTECTED] wrote: Crash dumps should help. Alan Gilmour wrote: Hey all, We have recently been getting a lot of traffic to one of our sites. The CPU is consistently during busy periods using 100% utilisation. When this happens we have approx 150 apache threads, and the loads goes way above 15. However recently the server has been auto-restarting (when under heavy load) with no explanation in any logs. I've checked the console log, messages, db logs e.t.c. but no mention of anything wrong. Brief server summary : FreeBSD 6.3-STABLE #0: CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz 686-class CPU) Logical CPUs per core: 2 real memory = 17716740096 (16896 MB) avail memory = 16837763072 (16057 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs We tried installing mbmon and lmmon and healthd, but none seem to work. Anyone got any suggestions for other things we can try to detect why the server is failing? or other ways to check things like CPU temp and memory status? Cheers Alan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message, together with any attachments, is for the confidential and exclusive use of the intended addressee(s). If you receive it in error, please delete the message. All information contained within this e-mail is without prejudice. Do not disclose, copy, circulate or use any information contained herein. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updated php, and apache segfaults on SIGHUP
On May 19, 2008, Andrew Moran wrote: I recently upgraded my php5 ports to latest ports tree versions (5.2.6), and now I'm in a situation where any HUP signal sent to apache is causing the entire process to dump core. I get this in the apache error log: [Mon May 19 16:08:48 2008] [notice] SIGHUP received. Attempting to restart [Mon May 19 16:08:48 2008] [notice] seg fault or similar nasty error detected in the parent process and this in the messages log: May 19 16:14:45 celebrian kernel: pid 36900 (httpd), uid 0: exited on signal 11 (core dumped) I ran into a similar problem. In my case, the problem was caused by PHP5 using the putenv(3) function incorrectly. Removing files/patch-ext_standard_basic_functions.c from the port and rebuilding fixed the issue for me. I have reported this to the maintainer but have not raised a PR. For more information, see http://docs.freebsd.org/cgi/getmsg.cgi?fetch=875448+0+archive/2008/freebsd-stable/20080518.freebsd-stable Cheers. -- Norbert. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
iscsi multiple sessions per target support
Hi, I'm using FreeBSD 7.0 RELEASE on amd64 and want to connect to an iSCSI storage array that has dual SAN controllers. I have two independent paths between my FreeBSD box and the storage array -- dual NICs, ethernet switches, and controllers. Given my situation, I want to ensure I get better performance and failover by using both my paths to the iSCSI target. I can't seem to find this covered in any of the man pages or the handbook. My storage array supports multiple sessions per target. Does the iSCSI initiator in 7.0 RELEASE support this feature? If supported, how does one go about configuring it? I'm sorry if this question is already covered in the literature. Thanks in advance for any help! - Raja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server crashing, no explanations
Alan Gilmour wrote: We tried installing mbmon and lmmon and healthd, but none seem to work. How so? Do you have an error message to share with us? Anyone got any suggestions for other things we can try to detect why the server is failing? or other ways to check things like CPU temp and memory status? What is the hardware vendor? Since most of the major players have decent systems management capability and cards for this sort of thing (think RSA for IBM, DRAC for Dell, etc). If you are using RAID verify the disks are OK (both physical and logical). Enable full memory check at POST (not quick) Try diagnostics such as what comes with UBCD for memory disk. http://www.ultimatebootcd.com/ Is this system just like any others at your site or a one-off? -- Some days it's just not worth chewing through the restraints... Mark D. Foster, CISSP [EMAIL PROTECTED] http://mark.foster.cc/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cvsup executed from crontab
I am using cvsup for backup, so I control both the client and the server. Works fine everytime stand-alone, but when I execute via crontab it appears to stall - then restart. Eventually there is so many copies of cvsup running at the same time it starts to bog down the client. I noticed in the man page there is the -d 0 or -1 option. Not sure if that will fix it - I just can't figure out why it works OK when executed manually as simply eg. cvsup supfile but stalls and starts anew when executed via crontab. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updated php, and apache segfaults on SIGHUP
On Mon, 19 May 2008, Randy Bush wrote: 386 very current i have been unable to get apache not to segv on one server for a while now. i tried the php rebuild i tried clearing obj, full system build, full ports force rebuild, ... i just tried If you have a backup of php/extensions.ini from before you did your updates, it would be worth trying reverting to that, to get the order you had before that seemed OK. still coring but it is nice to know i have company :) I recall mention on an E-mail list or on IRC of a core dump with PHP due to improper use of putenv(), but I do not remember where. Bug #44836[1] discusses it. It seems the patch was reverted, but I see that it is included as a patch within the ports tree. You could try to see if things improve by using the older patch[2] for FreeBSD 7 (and above) systems. Cc'ing delphij to mention that the patch was reverted in the PHP tree. Was the patch written for FreeBSD 6? I noticed that it frees memory just after the call to putenv(). The is valid for FreeBSD 6 where the string was duped, but in 7, it follows the POSIX standard of using the string directly. Sean 1. http://bugs.php.net/bug.php?id=44836 2. http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/files/patch-ext_standard_basic_functions.c?rev=1.1;content-type=text%2Fplain -- [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: Server crashing, no explanations
Hi Mark, I'm guessing there's not a compatible chip on the motherboard for both of those items. Its a DELL server and unfortunately we only actually have one disk on it at the moment, so there's no RAID (which is also worrying :( ) Full memory checks have been on in the past and never reported any errors at the time. May be worth switching back on I guess. Alan On 20/05/2008, Mark Foster [EMAIL PROTECTED] wrote: Alan Gilmour wrote: We tried installing mbmon and lmmon and healthd, but none seem to work. How so? Do you have an error message to share with us? Anyone got any suggestions for other things we can try to detect why the server is failing? or other ways to check things like CPU temp and memory status? What is the hardware vendor? Since most of the major players have decent systems management capability and cards for this sort of thing (think RSA for IBM, DRAC for Dell, etc). If you are using RAID verify the disks are OK (both physical and logical). Enable full memory check at POST (not quick) Try diagnostics such as what comes with UBCD for memory disk. http://www.ultimatebootcd.com/ Is this system just like any others at your site or a one-off? -- Some days it's just not worth chewing through the restraints... Mark D. Foster, CISSP [EMAIL PROTECTED] http://mark.foster.cc/ -- This message, together with any attachments, is for the confidential and exclusive use of the intended addressee(s). If you receive it in error, please delete the message. All information contained within this e-mail is without prejudice. Do not disclose, copy, circulate or use any information contained herein. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server crashing, no explanations
At 09:17 AM 5/20/2008, Alan Gilmour wrote: Hey all, We have recently been getting a lot of traffic to one of our sites. The CPU is consistently during busy periods using 100% utilisation. When this happens we have approx 150 apache threads, and the loads goes way above 15. However recently the server has been auto-restarting (when under heavy load) with no explanation in any logs. I've checked the console log, messages, db logs e.t.c. but no mention of anything wrong. Brief server summary : FreeBSD 6.3-STABLE #0: CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz 686-class CPU) Logical CPUs per core: 2 real memory = 17716740096 (16896 MB) avail memory = 16837763072 (16057 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs We tried installing mbmon and lmmon and healthd, but none seem to work. Anyone got any suggestions for other things we can try to detect why the server is failing? or other ways to check things like CPU temp and memory status? Cheers Alan Alan, Have you run the complete dell diagnostics? Also I would run the diagnostics for the hard drive from that manufacturer as well. Do you have any issues with power to this server? Does it have a redundant power supply installed? Any issues with heat? -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: Kernel panic: flush_pagedep_deps: flush failed
At Tue, 20 May 2008 07:59:19 +0200, Thomas Herzog wrote: cat /var/crash/info.1 follow this guide: http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html and post the results. if nobody answers, open a pr (problem report) http://www.freebsd.org/send-pr.html hth, toni -- If you understand what you're doing, you're | toni at stderror dot at not learning anything. | Toni Schmidbauer -- Anonymous| ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server crashing, no explanations
the server is failing? or other ways to check things like CPU temp and memory status? What is the hardware vendor? Since most of the major players have decent no it is not hardware problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
minimalist config, (was Lock down the all-staff email list? sendmail, alias, majordomo?)
Date: Mon, 19 May 2008 15:07:31 -0400 From: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: Re: Lock down the all-staff email list? sendmail, alias, majordomo? brad davison wrote: What is the best way to have a list that only certain users are able to send to? That sounds like you're getting into a full blown mailing0list package. I set up the minimalist port for a small list last year. Small very easy to config. I think it has the restriction you want. -R The majordomo and mailman were a bit more than what I was looking for. The minimalist port does look like it does exactly what I'm looking for, but I'm having an issue getting it configured. My minimalist port seems to have been installed in '/usr/local/share/minimalist' and the config file appears to be in '/usr/local/etc/minimalist.conf'. All files are under the '/usr/local/share' folder except the minimalist.conf in '/usr/local/etc' I have set the directory directive to '/usr/local/share/minimalist' in the '/usr/local/etc/minimalist.conf' and created my list directories under there, but I am not able to see it when I send 'info' message to '[EMAIL PROTECTED]'. reply from server for email with 'info' as subject: These are the mailing lists available at email.domain.com: -- Sincerely, the Minimalist under /usr/local/share/minimalist: My list.lst file has: farmThe Farm mailing list. southMailing list for Southern area. I have the farm and south directories with a very short list file: list: [EMAIL PROTECTED] [EMAIL PROTECTED] my /usr/local/etc/minimalist.conf (only non-commented lines) minimalist.conf directory = /usr/local/share/minimalist password = 12345 admin = [EMAIL PROTECTED] auth = mailfrom [EMAIL PROTECTED]:@/usr/local/etc/mml.trusted Any ideas where I might be going wrong? The mechanism seems to be working, as I can send messages to 'minimalist' and get info, but its not seeing my lists. Thanks _ Give to a good cause with every e-mail. Join the i’m Initiative from Microsoft. http://im.live.com/Messenger/IM/Join/Default.aspx?souce=EML_WL_ GoodCause___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem Sending Mail With Postfix
On May 19, 2008, at 7:03 PM, Paul Schmehl wrote: I'm not sure what the point of that is: Macintosh:~ pauls$ dig +short my.mywebsite.com Because of the way mx1.free.bsd.org was used (indicating that someone is trying to describe an error rather than actually copy it verbatim), I gathered that my.mywebsite.com was redacted along the lines of host.example.com, rather than the actual hostname in question -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server crashing, no explanations
Then, if crash dumps are enabled, it could be a HW failure.. Once I had a server crashing with no dumps, and I found out it was I power supply problem. Best regards. Robi Alan Gilmour wrote: Hi Roberto, There's nothing in /var/crash Any other ideas? Cheers Alan On 20/05/2008, Roberto Nunnari [EMAIL PROTECTED] wrote: Crash dumps should help. Alan Gilmour wrote: Hey all, We have recently been getting a lot of traffic to one of our sites. The CPU is consistently during busy periods using 100% utilisation. When this happens we have approx 150 apache threads, and the loads goes way above 15. However recently the server has been auto-restarting (when under heavy load) with no explanation in any logs. I've checked the console log, messages, db logs e.t.c. but no mention of anything wrong. Brief server summary : FreeBSD 6.3-STABLE #0: CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz 686-class CPU) Logical CPUs per core: 2 real memory = 17716740096 (16896 MB) avail memory = 16837763072 (16057 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs We tried installing mbmon and lmmon and healthd, but none seem to work. Anyone got any suggestions for other things we can try to detect why the server is failing? or other ways to check things like CPU temp and memory status? Cheers Alan ___ 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: Updated php, and apache segfaults on SIGHUP
OK I've narrowed down my problem to: extension=mhash.so in extensions.ini If I comment out that php extension, I'm good. If I don't, I crash when sending HUP signal to parent apache process. I experimented with the order of the extensions.ini file but could not get to work regardless of putting that mhash in the beginning or the end of the file. On freebsd 7, I've cvsup'd and rebuilt all ports, so I know it's not an 'out of date' kind of thing. Hmm.. --Andy On May 20, 2008, at 8:02 AM, Sean C. Farley wrote: On Mon, 19 May 2008, Randy Bush wrote: 386 very current i have been unable to get apache not to segv on one server for a while now. i tried the php rebuild i tried clearing obj, full system build, full ports force rebuild, ... i just tried If you have a backup of php/extensions.ini from before you did your updates, it would be worth trying reverting to that, to get the order you had before that seemed OK. still coring but it is nice to know i have company :) I recall mention on an E-mail list or on IRC of a core dump with PHP due to improper use of putenv(), but I do not remember where. Bug #44836[1] discusses it. It seems the patch was reverted, but I see that it is included as a patch within the ports tree. You could try to see if things improve by using the older patch[2] for FreeBSD 7 (and above) systems. Cc'ing delphij to mention that the patch was reverted in the PHP tree. Was the patch written for FreeBSD 6? I noticed that it frees memory just after the call to putenv(). The is valid for FreeBSD 6 where the string was duped, but in 7, it follows the POSIX standard of using the string directly. Sean 1. http://bugs.php.net/bug.php?id=44836 2. http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/files/patch-ext_standard_basic_functions.c?rev=1.1;content-type=text%2Fplain -- [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current 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: Server crashing, no explanations
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roberto Nunnari Sent: Tuesday, May 20, 2008 10:49 AM To: Alan Gilmour Cc: freebsd-questions@freebsd.org Subject: Re: Server crashing, no explanations Then, if crash dumps are enabled, it could be a HW failure.. Once I had a server crashing with no dumps, and I found out it was I power supply problem. Best regards. Robi Same here: my aging Dell with ECC Rambus (yes, Rambus) memory was rebooting without producing a panic and thus without a chance for a crash-dump, because one memory bank on the system was failing. However, the BIOS on the system was nice enough to tell me about the memory errors and even tell me which module it thought it was. That may be something you should check on your system (meaning: BIOS error log - if you happen to have one of those). Cheers - Tobias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem Sending Mail With Postfix
[EMAIL PROTECTED]: Because of the way mx1.free.bsd.org was used (indicating that someone is trying to describe an error rather than actually copy it verbatim), I gathered that my.mywebsite.com was redacted along the lines of host.example.com, rather than the actual hostname in question My thoughts exactly. I am almost certain he is just trying to hide the actual hostname. -- Sahil Tandon NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SVN Advice
Hello Montag, On Mon, May 19, 2008 at 7:05 AM, [EMAIL PROTECTED] wrote: Hello all, I'm seeking to set up an SVN repository on my home machine. I've come across the following two guides: http://www.bsdguides.org/guides/freebsd/misc/subversion.php http://www.onlamp.com/pub/a/bsd/2007/09/27/subversion-for-bsd-with-all-the-bells-and-whistles.html For a quick start on Subversion you can see Dru Lavigne's articles Setting up a Secure Subversion Server [1] and Accessing Secure Subversion Servers [2]. They discuss how to use Subversion over ssh, that is svn+ssh:// scheme. I myself prefer subversion over http(s) and I have written a tutorial here [3] and more concretely here. The second one is certainly overkill for what I need (I just want to use it to manage my personal projects, since I work remotely a lot). I'd definitely like a password protected web interface though. You have two options then. -) use subversion over http(s) and you can access your repository both with a svn client and from a browser. -) use whatever access scheme you want and install viewvc [5]. My issue is the following. In both guides (and in all the other ones I've come across) Apache is compiled with options that I did not select when I installed Apache a while ago. I'd rather not have to redo everything I've set up with my web server. Is there any way I get include those modules (namely WITH_BERKELEYDB) without having to recompile? As far as I remember you do not need berkleydb option. Subversion supports two backends for its repositories - BDB and FSFS. FSFS is a file format developed by Subversion and when you create the repository it is used by default. For a comparison between the two formats see [6]. So you may compile Subversion with Berkley DB - you should provide WITHOUT_BDB option or similar when you install the Subversion port. Also, any advice relating to setting up Subversion on FreeBSD in general. Well, the Subversion Book contains everything you need to set it up and use it. And the link below should help you as well. Regards Rambius [1] http://www.onlamp.com/pub/a/bsd/2005/05/12/FreeBSD_Basics.html [2] http://www.onlamp.com/pub/a/bsd/2005/08/11/FreeBSD_Basics.html [3] http://vania.sourceforge.net/svnnotes-en/ [4] http://vania.sourceforge.net/svnnotes-en/node10.html [5] http://www.viewvc.org/ [6] http://svnbook.red-bean.com/en/1.4/svn.reposadmin.planning.html#svn.reposadmin.basics.backends -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server crashing, no explanations
Hi Tobias, Yes the plan is the next time it crashes is to check BIOS, unfortunately I need to get hosts to do this as I can't physically access the machine at this point, but they have some KVM like switch attached to it. Cheers Alan On 20/05/2008, Tobias Hoellrich [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roberto Nunnari Sent: Tuesday, May 20, 2008 10:49 AM To: Alan Gilmour Cc: freebsd-questions@freebsd.org Subject: Re: Server crashing, no explanations Then, if crash dumps are enabled, it could be a HW failure.. Once I had a server crashing with no dumps, and I found out it was I power supply problem. Best regards. Robi Same here: my aging Dell with ECC Rambus (yes, Rambus) memory was rebooting without producing a panic and thus without a chance for a crash-dump, because one memory bank on the system was failing. However, the BIOS on the system was nice enough to tell me about the memory errors and even tell me which module it thought it was. That may be something you should check on your system (meaning: BIOS error log - if you happen to have one of those). Cheers - Tobias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message, together with any attachments, is for the confidential and exclusive use of the intended addressee(s). If you receive it in error, please delete the message. All information contained within this e-mail is without prejudice. Do not disclose, copy, circulate or use any information contained herein. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server crashing, no explanations
Then, if crash dumps are enabled, it could be a HW failure.. no it is not. i have similar problems but not with apache, it is certainly FreeBSD bug that causes it to randomly reboot under certain types of load. i found the way to fix it in my case ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updated php, and apache segfaults on SIGHUP
On Tue, 20 May 2008, Andrew Moran wrote: OK I've narrowed down my problem to: extension=mhash.so in extensions.ini If I comment out that php extension, I'm good. If I don't, I crash when sending HUP signal to parent apache process. I experimented with the order of the extensions.ini file but could not get to work regardless of putting that mhash in the beginning or the end of the file. On freebsd 7, I've cvsup'd and rebuilt all ports, so I know it's not an 'out of date' kind of thing. Hmm.. I meant the opposite. The latest port version of PHP has a bug on FreeBSD 7. Try it again with the previous patch. On May 20, 2008, at 8:02 AM, Sean C. Farley wrote: *snip* I recall mention on an E-mail list or on IRC of a core dump with PHP due to improper use of putenv(), but I do not remember where. Bug #44836[1] discusses it. It seems the patch was reverted, but I see that it is included as a patch within the ports tree. You could try to see if things improve by using the older patch[2] for FreeBSD 7 (and above) systems. Cc'ing delphij to mention that the patch was reverted in the PHP tree. Was the patch written for FreeBSD 6? I noticed that it frees memory just after the call to putenv(). The is valid for FreeBSD 6 where the string was duped, but in 7, it follows the POSIX standard of using the string directly. Sean 1. http://bugs.php.net/bug.php?id=44836 2. http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/files/patch-ext_standard_basic_functions.c?rev=1.1;content-type=text%2Fplain Sean -- [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: Updated php, and apache segfaults on SIGHUP
OK I've narrowed down my problem to: extension=mhash.so in extensions.ini If I comment out that php extension, I'm good. If I don't, I crash when sending HUP signal to parent apache process. I experimented with the order of the extensions.ini file but could not get to work regardless of putting that mhash in the beginning or the end of the file. On freebsd 7, I've cvsup'd and rebuilt all ports, so I know it's not an 'out of date' kind of thing. Hmm.. Try to compile it into php rather than a module. http://no.php.net/manual/en/mhash.installation.php -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem Sending Mail With Postfix
On Tue, 20 May 2008 12:59:08 -0400 Tandon, Sahil \(IM\) [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]: Because of the way mx1.free.bsd.org was used (indicating that someone is trying to describe an error rather than actually copy it verbatim), I gathered that my.mywebsite.com was redacted along the lines of host.example.com, rather than the actual hostname in question My thoughts exactly. I am almost certain he is just trying to hide the actual hostname. The constant mangling of information is definitely making it much harder to diagnose his problem. He would probably be better of posting the unedited output of: 'postconf -n' along with any pertinent log entries, error messages, etc. He probably should just move the entire thread to the Postfix forum anyway. They are really more adept at handling this since it does, at least partially, pertain to Postfix. -- “Gerard” [EMAIL PROTECTED] Mandrell: You know what I think? Doctor: Ah, ah that's a catch question. With a brain your size you don't think, right? Dr. Who signature.asc Description: PGP signature
resident memory limit
Greetings, I have an application that runs on Linux or Mac OS X but seems to have a problem when I run on FreeBSD (6.3 or 7). The issue is the memory footprint for the application (osubw_sctpclien below) is quite large; on Linux it can be as much as 950 MB in resident memory, according to top. However, on FreeBSD I start to get ENOMEM always around the time my resident memory size is about 200 MB. I read a few posts and have seen people fixing their problems by adjusting kern.maxdsiz in /boot/loader.conf and/or by adding a swap file. I've tried both and for my application, it still seems to be limited to 200 MB resident memory regardless of maxdsize and swap file setting. I wrote a toy application (malloctest below) that calls malloc in a while(1) and breaks once it gets ENOMEM (doing another while(1) so it doesn't exit); this application's memory size in top always matches the kern.maxdsiz setting, however it has a very low resident memory number, according to top. I have all the data below from these two applications. For malloctest, I can malloc as much as maxdsiz allows (without panic'ing the kernel). My main question is, in FreeBSD how can I increase the permitted resident memory of the system for my application to beyond 200 MB? Any ideas where this 200 MB resident memory limit is coming from? Why (in the last data entry below) does the resident memory limit become 80 MB after I increase maxdsiz AND use a swap file (the settings where malloctest can malloc the most!)? Thanks! brad Using FreeBSD 6.3. kern.maxdsiz default setting ( 524288 kB ) no swap file. Mem: 218M Active, 9184K Inact, 36M Wired, 14M Buf, 1739M Free Swap: 512M Total, 512M Free PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 978 root4 1180 203M 201M RUN 0:12 0.00% osubw_sctpclien ... separate run... 969 penoff 1 1250 513M 1144K RUN 0:09 90.73% malloctest -- kern.maxdsiz default setting ( 524288 kB ) 512 MB swap file. Mem: 218M Active, 9144K Inact, 36M Wired, 12K Cache, 14M Buf, 1739M Free Swap: 1024M Total, 1024M Free PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 982 root3 1200 203M 201M RUN 0:13 0.00% osubw_sctpclien ... separate run... 967 penoff 1 1260 513M 1144K RUN 0:10 94.60% malloctest -- kern.maxdsiz=2147483648 # Set the max data size no swap file. Mem: 218M Active, 9168K Inact, 36M Wired, 14M Buf, 1739M Free Swap: 512M Total, 512M Free PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 967 root3 1220 203M 201M RUN 0:31 0.00% osubw_sctpclien ... separate run... 980 root1 1290 2050M 2680K RUN 0:12 97.64% malloctest kern.maxdsiz=2147483648 # Set the max data size 512 MB swap file. Mem: 220M Active, 12M Inact, 41M Wired, 12K Cache, 20M Buf, 1730M Free Swap: 1024M Total, 1024M Free PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 1041 root4 200 204M 202M kserel 0:04 0.00% osubw_sctpclien ... separate run... 967 root1 1210 2050M 2680K RUN 0:07 93.16% malloctest kern.maxdsiz=30 no swap file kernel panic kern.maxdsiz=30 # Set the max data size 512 MB swap file. Mem: 103M Active, 52M Inact, 106M Wired, 112M Buf, 1742M Free Swap: 1024M Total, 1024M Free PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 15286 root2 1280 81172K 79080K RUN 1:47 0.00% osubw_sctpclien ... separate run... 963 penoff 1 1220 2865M 3500K RUN 0:08 96.62% malloctest - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: resident memory limit
In response to Brad Penoff [EMAIL PROTECTED]: I have an application that runs on Linux or Mac OS X but seems to have a problem when I run on FreeBSD (6.3 or 7). The issue is the memory footprint for the application (osubw_sctpclien below) is quite large; on Linux it can be as much as 950 MB in resident memory, according to top. However, on FreeBSD I start to get ENOMEM always around the time my resident memory size is about 200 MB. I read a few posts and have seen people fixing their problems by adjusting kern.maxdsiz in /boot/loader.conf and/or by adding a swap file. I've tried both and for my application, it still seems to be limited to 200 MB resident memory regardless of maxdsize and swap file setting. I wrote a toy application (malloctest below) that calls malloc in a while(1) and breaks once it gets ENOMEM (doing another while(1) so it doesn't exit); this application's memory size in top always matches the kern.maxdsiz setting, however it has a very low resident memory number, according to top. Have a look at /etc/login.conf and the associated man pages. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipw2200 freebsd 7 firmware problem
Hi all, I have an ipw2200 bg. I can't make it work under FreeBSD 7 on AMD64. This is the output of pciconf -lv [EMAIL PROTECTED]:0:5:0: class=0x028000 card=0x27028086 chip=0x42208086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'MPCI3B driverIntel PRO/Wireless 2200BG' class = network dmesg shows the following: pci0: network at device 5.0 (no driver attached) I tried to instal the iwi-firmware from ports: === iwi-firmware-2.4_8 is configured with iwicontrol(8) which you don't need, use 'make rmconfig' and uncheck CONTROL. *** Error code 1 Stop in /usr/ports/net/iwi-firmware. I tried the suggested workaround, but I got: === No user-specified options configured for iwi-firmware-2.4_8 I tried with pkg_add -r iwi-firmware-2.4_8 and I got Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/iwi-firmware-2.4_8.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/iwi-firmware-2.4_8.tbz' by URL My ports are up to date (cvsup.de.FreeBSD.org) So... How can I make the wireless card work? Any help is appreciated. 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: resident memory limit
On Tue, May 20, 2008 at 1:54 PM, Bill Moran [EMAIL PROTECTED] wrote: In response to Brad Penoff [EMAIL PROTECTED]: I have an application that runs on Linux or Mac OS X but seems to have a problem when I run on FreeBSD (6.3 or 7). The issue is the memory footprint for the application (osubw_sctpclien below) is quite large; on Linux it can be as much as 950 MB in resident memory, according to top. However, on FreeBSD I start to get ENOMEM always around the time my resident memory size is about 200 MB. I read a few posts and have seen people fixing their problems by adjusting kern.maxdsiz in /boot/loader.conf and/or by adding a swap file. I've tried both and for my application, it still seems to be limited to 200 MB resident memory regardless of maxdsize and swap file setting. I wrote a toy application (malloctest below) that calls malloc in a while(1) and breaks once it gets ENOMEM (doing another while(1) so it doesn't exit); this application's memory size in top always matches the kern.maxdsiz setting, however it has a very low resident memory number, according to top. Have a look at /etc/login.conf and the associated man pages. Thanks for the prompt reply. This system has the default settings for all users set to unlimited for more or less all login.conf categories. I've pasted them below. My application uses a raw socket so I was running it as root, which also uses the default settings. It mentioned that setting memoryuse is the same as setting both -cur and -max ; any ideas why memoryuse is saying it's unlimited even though it is not? I tried explicitly setting -cur to 1000M and it still started giving ENOMEM around 200 MB resident memory in top... brad default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin ~/bin:\ :nologin=/var/run/nologin:\ :cputime=unlimited:\ :datasize=unlimited:\ :stacksize=unlimited:\ :memorylocked=unlimited:\ :memoryuse=unlimited:\ :filesize=unlimited:\ :coredumpsize=unlimited:\ :openfiles=unlimited:\ :maxproc=unlimited:\ :sbsize=unlimited:\ :vmemoryuse=unlimited:\ :priority=0:\ :ignoretime@:\ :umask=022: root:\ :ignorenologin:\ :tc=default: -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Shell scripting - suppressing and eliminating error messages
I'm using the following construction in a pkg-deinstall script for a port I maintain: if ( ${BATCH} ); then The idea is, if you type make BATCH=1 deinstall, the port will deinstall without running an interactive portion of the pkg-deinstall script. If you type make deinstall, the pkg-deinstall script runs. The script works, but, when you use BATCH=1, it generates an error message: # make BATCH=1 deinstall clean === Deinstalling for security/sguil-server === Deinstalling sguil-server-0.7.0_1 Stopping sguild.. sguild not running? 1: not found Why is this error printing to stdout and how can I suppress it? Or is there a flaw in the logic that, if fixed, would resolve this problem? -- Paul Schmehl As if it wasn't already obvious, my opinions are my own and not those of my employer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell scripting - suppressing and eliminating error messages
--On Tuesday, May 20, 2008 17:36:26 -0500 Paul Schmehl [EMAIL PROTECTED] wrote: I'm using the following construction in a pkg-deinstall script for a port I maintain: if ( ${BATCH} ); then The idea is, if you type make BATCH=1 deinstall, the port will deinstall without running an interactive portion of the pkg-deinstall script. If you type make deinstall, the pkg-deinstall script runs. The script works, but, when you use BATCH=1, it generates an error message: # make BATCH=1 deinstall clean === Deinstalling for security/sguil-server === Deinstalling sguil-server-0.7.0_1 Stopping sguild.. sguild not running? 1: not found Why is this error printing to stdout and how can I suppress it? Or is there a flaw in the logic that, if fixed, would resolve this problem? Never mindforgot to use [ ] for test instead of ( ). My perl is getting in the way of my shell. :-( -- Paul Schmehl As if it wasn't already obvious, my opinions are my own and not those of my employer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell scripting - suppressing and eliminating error messages
Hi, Paul-- On May 20, 2008, at 3:36 PM, Paul Schmehl wrote: I'm using the following construction in a pkg-deinstall script for a port I maintain: if ( ${BATCH} ); then [ ... ] Why is this error printing to stdout and how can I suppress it? Or is there a flaw in the logic that, if fixed, would resolve this problem? It's happening because the shell normally tries to run the command in the if statement, and evaluate the return value. Your system doesn't have a 1 or 0 command, so that produces the 1: not found message. For /bin/sh, use the test macro instead: % BATCH=1 % if [ ${BATCH} -gt 0 ]; then echo yeah; fi yeah % BATCH=0 % if [ ${BATCH} -gt 0 ]; then echo yeah; fi Another way to do this is to use string comparisons, especially if env variable is supposed to either be defined or not defined, and what the value it is set to if defined doesn't matter: % unset BATCH % if [ x${BATCH} != x ]; then echo yeah; fi % BATCH=1 % if [ x${BATCH} != x ]; then echo yeah; fi yeah % BATCH=0 % if [ x${BATCH} != x ]; then echo yeah; fi yeah Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell scripting - suppressing and eliminating error messages
On Tue, May 20, 2008 at 05:36:26PM -0500, Paul Schmehl wrote: I'm using the following construction in a pkg-deinstall script for a port I maintain: if ( ${BATCH} ); then This should read: if [ -n ${BATCH} ] ; then -- Jonathan Chen [EMAIL PROTECTED] -- Irrationality is the square root of all evil - Douglas Hofstadter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Certain Fonts Don't Print
I'm using abiword and gnumeric on FreeBSD 7 (amd64) and certain fonts don't show in print preview mode, on actual printouts, or when saving to postscript or PDF, while other fonts do. Times New Roman and Helvetica are examples of fonts that don't work. The bitstream fonts are examples that work. Any ideas? Here is all the font-related ports that I have installed: $ pkg_info -E '*font*' cmpsfont-1.0_6 font-adobe-100dpi-1.0.0_1 font-adobe-75dpi-1.0.0 font-adobe-utopia-100dpi-1.0.1 font-adobe-utopia-75dpi-1.0.1 font-adobe-utopia-type1-1.0.1 font-alias-1.0.1 font-arabic-misc-1.0.0 font-bh-100dpi-1.0.0 font-bh-75dpi-1.0.0 font-bh-lucidatypewriter-100dpi-1.0.0 font-bh-lucidatypewriter-75dpi-1.0.0 font-bh-ttf-1.0.0 font-bh-type1-1.0.0 font-bitstream-100dpi-1.0.0 font-bitstream-75dpi-1.0.0 font-bitstream-type1-1.0.0 font-cronyx-cyrillic-1.0.0 font-cursor-misc-1.0.0 font-daewoo-misc-1.0.0 font-dec-misc-1.0.0 font-ibm-type1-1.0.0 font-isas-misc-1.0.0 font-jis-misc-1.0.0 font-micro-misc-1.0.0 font-misc-cyrillic-1.0.0 font-misc-ethiopic-1.0.0 font-misc-meltho-1.0.0_1 font-misc-misc-1.0.0 font-mutt-misc-1.0.0 font-schumacher-misc-1.0.0 font-screen-cyrillic-1.0.1 font-sony-misc-1.0.0 font-sun-misc-1.0.0 font-util-1.0.1 font-winitzki-cyrillic-1.0.0 font-xfree86-type1-1.0.0 fontcacheproto-0.1.2 fontconfig-2.5.0,1 fontsproto-2.0.2 fonttosfnt-1.0.3 fslsfonts-1.0.1 gsfonts-8.11_4 libXfont-1.3.1_3,1 libXfontcache-1.0.4 libfontenc-1.0.4 linux-fontconfig-2.2.3_7 mkfontdir-1.0.3_1 mkfontscale-1.0.3 showfont-1.0.1_1 xf86bigfontproto-1.1.2 xfontsel-1.0.2 xlsfonts-1.0.2 xorg-fonts-100dpi-7.3 xorg-fonts-7.3_1 xorg-fonts-75dpi-7.3 xorg-fonts-cyrillic-7.3 xorg-fonts-miscbitmaps-7.3 xorg-fonts-truetype-7.3 xorg-fonts-type1-7.3 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slightly OT - steaming data server software?
On Sun, 2008-05-18 at 15:32 -0700, John Pettitt wrote: Slightly OT but since I'm going to run this on FreeBSD 7 I figured I'd ask here .. I have an application where data arrives in what is effectively continuous stream (actually NMEA messages from an AIS receiver) and I'd like to have a server where an arbitrary number of clients can connect to a tcp port and receive a copy of the stream.I could probably write this in perl without too much work but somebody has to have done something similar already - does anybody know of code that does this? (and yes I know sending the messages as individual udp packets would be easier - I'm already doing that internally but it doesn't work for opening up the data stream to the public). nc -lk port for original data | tee /var/ais/data nc -lk port for copy data /var/ais/data see nc manpage for details. I may have syntax wong. This is my initial thought on how you can do this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel panic: flush_pagedep_deps: flush failed
hi, [EMAIL PROTECTED] STORAGE kgdb kernel.debug /var/crash/vmcore.1 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as amd64-marcel-freebsd. Unread portion of the kernel message buffer: ad8: FAILURE - WRITE_DMA48 timed out LBA=314770767 g_vfs_done():ad8s1a[WRITE(offset=161162592256, length=16384)]error = 5 panic: flush_pagedep_deps: flush failed cpuid = 0 Uptime: 3d15h11m52s Physical memory: 1011 MB Dumping 271 MB: 256 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16 #0 doadump () at pcpu.h:194 194 __asm __volatile(movq %%gs:0,%0 : =r (td)); both cores says the same. Thomas Toni Schmidbauer wrote: At Tue, 20 May 2008 07:59:19 +0200, Thomas Herzog wrote: cat /var/crash/info.1 follow this guide: http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html and post the results. if nobody answers, open a pr (problem report) http://www.freebsd.org/send-pr.html hth, toni ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]