From owner-freebsd-isp@FreeBSD.ORG Sun Dec 25 03:35:05 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5566816A41F for ; Sun, 25 Dec 2005 03:35:05 +0000 (GMT) (envelope-from brian.dunbar@millcitypc.com) Received: from pilfer.dreamhost.com (pilfer.dreamhost.com [66.33.217.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEFFC43D5A for ; Sun, 25 Dec 2005 03:35:04 +0000 (GMT) (envelope-from brian.dunbar@millcitypc.com) Received: from [192.168.1.102] (rrcs-67-52-210-247.west.biz.rr.com [67.52.210.247]) by pilfer.dreamhost.com (Postfix) with ESMTP id E9F90109EAC for ; Sat, 24 Dec 2005 19:35:03 -0800 (PST) Message-ID: <43AE1366.4050401@millcitypc.com> Date: Sat, 24 Dec 2005 21:35:02 -0600 From: Brian Dunbar User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-isp@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: New to the web host and ISP side of the house X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Dec 2005 03:35:05 -0000 I've taken on the (so far) part time system admin duties at a startup web hosting company. I've just shy of a decade of experience as a system admin (Solaris, BSD, Windows etc) but I find myself a bit out of depth dealing with systems that are customer facing. Frankly I can't go much wrong - I know the basic setup is 'ok' but it needs a fair bit of work. What are the best resources for coming up to speed in the ISP / web hosting world? I'm thinking 'Dummies Guide for ISP System Admins' here. -- Brian Dunbar System Administrator Millcitypc.com brian.dunbar@millcitypc.com aim: bdunbar1967 this email is: [ ] bloggable [x] ask first [ ] private Remember. But move forward, too. Light a candle, yes. But also drive a rivet. ~Lileks From owner-freebsd-isp@FreeBSD.ORG Mon Dec 26 00:50:05 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7F4916A41F for ; Mon, 26 Dec 2005 00:50:05 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4950343D5E for ; Mon, 26 Dec 2005 00:50:03 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from lapdance.yazzy.net (unknown [192.168.99.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yazzy.org (Postfix) with ESMTP id B490039832; Mon, 26 Dec 2005 01:50:07 +0100 (CET) Date: Mon, 26 Dec 2005 00:49:20 +0000 From: Marcin Jessa To: Brian Dunbar Message-Id: <20051226004920.33e8069b.lists@yazzy.org> In-Reply-To: <43AE1366.4050401@millcitypc.com> References: <43AE1366.4050401@millcitypc.com> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-isp@freebsd.org Subject: Re: New to the web host and ISP side of the house X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2005 00:50:05 -0000 On Sat, 24 Dec 2005 21:35:02 -0600 Brian Dunbar wrote: > I've taken on the (so far) part time system admin duties at a startup > web hosting company. I've just shy of a decade of experience as a > system admin (Solaris, BSD, Windows etc) but I find myself a bit out > of depth dealing with systems that are customer facing. > > Frankly I can't go much wrong - I know the basic setup is 'ok' but it > needs a fair bit of work. > > What are the best resources for coming up to speed in the ISP / web > hosting world? I'm thinking 'Dummies Guide for ISP System Admins' > here. A typical answer would be your favourit search engine. IMHO There is none. People have their own subjective preferences when it comes to setups and software of choice. It's based on their experience and budgets. Ask a more specific question and I am sure people will be happy to help you out. Marcin From owner-freebsd-isp@FreeBSD.ORG Wed Dec 28 04:33:18 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F6C716A41F for ; Wed, 28 Dec 2005 04:33:18 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EB7043D49 for ; Wed, 28 Dec 2005 04:33:18 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 80DA25DD5; Tue, 27 Dec 2005 23:33:17 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 78921-06; Tue, 27 Dec 2005 23:33:16 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-122-227.ny325.east.verizon.net [68.161.122.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 8E6E45C77; Tue, 27 Dec 2005 23:33:16 -0500 (EST) Message-ID: <43B21599.7060606@mac.com> Date: Tue, 27 Dec 2005 23:33:29 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brian Dunbar References: <43AE1366.4050401@millcitypc.com> In-Reply-To: <43AE1366.4050401@millcitypc.com> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-isp@freebsd.org Subject: Re: New to the web host and ISP side of the house X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2005 04:33:18 -0000 Brian Dunbar wrote: > I've taken on the (so far) part time system admin duties at a startup > web hosting company. I've just shy of a decade of experience as a > system admin (Solaris, BSD, Windows etc) but I find myself a bit out of > depth dealing with systems that are customer facing. > > Frankly I can't go much wrong - I know the basic setup is 'ok' but it > needs a fair bit of work. > > What are the best resources for coming up to speed in the ISP / web > hosting world? I'm thinking 'Dummies Guide for ISP System Admins' here. Read the later sections of the Handbook, twice. Look over the archives for the freebsd-isp mailing list. Talk to your clients and find out more about what they want, like, and dislike. Only worry about problems you can solve but haven't yet. Memorize polite phrases when a client blames you for their problems and yet you have to fix it anyway. Show them how to fix things, perhaps via Webmin, and see whether this helps. portaudit is your friend. -- -Chuck From owner-freebsd-isp@FreeBSD.ORG Wed Dec 28 08:17:43 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C9BD16A41F for ; Wed, 28 Dec 2005 08:17:43 +0000 (GMT) (envelope-from cmuser@hoho.sjc.ebay.com) Received: from camp8.sjc.ebay.com (camppool08.emailebay.com [216.33.244.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87D1443D64 for ; Wed, 28 Dec 2005 08:17:37 +0000 (GMT) (envelope-from cmuser@hoho.sjc.ebay.com) Received: from hoho.sjc.ebay.com ([10.112.159.101]) by camp8.sjc.ebay.com (8.12.3/8.12.3) with ESMTP id jBS8Hb93009683 for ; Wed, 28 Dec 2005 00:17:37 -0800 Received: (from cmuser@localhost) by hoho.sjc.ebay.com (8.11.6+Sun/8.11.6) id jBS8Hbo09601; Wed, 28 Dec 2005 00:17:37 -0800 (PST) Date: Wed, 28 Dec 2005 00:17:37 -0800 (PST) From: Unexpected reply handler Message-Id: <200512280817.jBS8Hbo09601@hoho.sjc.ebay.com> To: freebsd-isp@freebsd.org References: <200512280817.jBS8HUSM021943@mailhost8.sjc.ebay.com> In-Reply-To: <200512280817.jBS8HUSM021943@mailhost8.sjc.ebay.com> Precedence: junk X-Loop: reply@reply.ebay.com Subject: Re: Mail Delivery (failure ay.331409127.326169.0@reply.ebay.com) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2005 08:17:43 -0000 Thank you for your response. Please don't reply to this message - it is an automated response and your reply will not be received. If you have a question for eBay Customer Support, please visit the following eBay Help page. This page will help you locate the answer to your question, or assist you in contacting us: http://pages.ebay.com/help/index.html If you would like to change your notification preferences, which determine what type of email you receive from eBay, please follow the steps below: 1. Click "My eBay" located at the top of all eBay pages. You may be asked to sign in. 2. Click the "eBay Preferences" link located under the "My Account" heading. 3. Click the "view/change" link to the right of "Notification Preferences." You may be asked to sign in once more. 4. On the "Change Your Notification Preferences" page, check the boxes to indicate the types of messages you'd like to receive from eBay. Then, uncheck the boxes to indicate the types of messages you don't want to receive from us. 5. Once you're done, be sure to click the "Save Changes" button at the top or bottom of the page. Again, thanks for writing eBay. -- From owner-freebsd-isp@FreeBSD.ORG Wed Dec 28 15:35:29 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 919D316A41F for ; Wed, 28 Dec 2005 15:35:29 +0000 (GMT) (envelope-from rubenl@bloemgarten.demon.nl) Received: from post-24.mail.nl.demon.net (post-24.mail.nl.demon.net [194.159.73.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id F03FA43D7B for ; Wed, 28 Dec 2005 15:35:28 +0000 (GMT) (envelope-from rubenl@bloemgarten.demon.nl) Received: from axelds.demon.nl ([83.160.138.74]:11428 helo=abubbletprpdda) by post-24.mail.nl.demon.net with esmtp (Exim 4.51) id 1ErdKn-000BBI-SY for freebsd-isp@freebsd.org; Wed, 28 Dec 2005 15:35:26 +0000 From: "Ruben Bloemgarten" To: Date: Wed, 28 Dec 2005 16:35:02 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcYLxER/2cHh0HbIRu+A+r0r+tpsww== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: sendmail-submit and envelope-from X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ruben@bloemgarten.demon.nl List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2005 15:35:29 -0000 Hi all, I hope someone could help me out with the following : On 5.4 I'm running a few jails, one of which is running the mail::toaster incarnation of qmail. All is well. From another jail I want to use a php script to generate mailings rewriting the envelope-from: This does work on a different system, not running on jails with a non ports compile of qmail (not installed by me). The main difference here being that on the 'working system', the mail-sendmail wrapper is used instead of sendmail. So I went and tested the same script on the qmail jail, which has the same 'problem' as sendmail does from the other jail. So something seems to have been changed on this setup to allow this behaviour (I assume having 'From', rewrite both return address and the envelope-from). I can't for the life of me figure out what. Oh, and unrelated but also annoying is the submit from the different jails to the qmail jail is a bit slow. Any pointers anyone ? Thanks, Ruben From owner-freebsd-isp@FreeBSD.ORG Wed Dec 28 16:46:59 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B0A316A41F for ; Wed, 28 Dec 2005 16:46:59 +0000 (GMT) (envelope-from paule.phillips3@verizon.net) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5089743D53 for ; Wed, 28 Dec 2005 16:46:59 +0000 (GMT) (envelope-from paule.phillips3@verizon.net) Received: from view ([71.104.205.178]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IS700M1NVY74IUC@vms040.mailsrvcs.net> for freebsd-isp@freebsd.org; Wed, 28 Dec 2005 10:46:58 -0600 (CST) Date: Wed, 28 Dec 2005 08:46:51 -0800 From: "Delores Phillips" To: freebsd-isp@freebsd.org Message-id: MIME-version: 1.0 Content-type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 Content-transfer-encoding: 8bit User-Agent: Opera M2/8.51 (Win32, build 7712) Subject: Autoreply to Mail Delivery (failure helpdesk@cdfreaks.com) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2005 16:46:59 -0000 I cannot open http://www.cdfreaks.com From owner-freebsd-isp@FreeBSD.ORG Wed Dec 28 18:07:08 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82DAA16A41F for ; Wed, 28 Dec 2005 18:07:08 +0000 (GMT) (envelope-from lyris-noreply@paramountparks.net) Received: from paramountparks.net (mail.paramountparks.net [66.129.74.135]) by mx1.FreeBSD.org (Postfix) with SMTP id 1C74743D55 for ; Wed, 28 Dec 2005 18:07:07 +0000 (GMT) (envelope-from lyris-noreply@paramountparks.net) Message-Id: X-lyris-type: command-notify From: "Lyris ListManager" To: freebsd-isp@freebsd.org Date: Wed, 28 Dec 2005 13:13:15 -0500 Subject: re: your email message X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lyris ListManager List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2005 18:07:08 -0000 The following lines in your email message did not appear to be Lyris ListManager commands and were skipped: > set mail > -> You did not specify a valid mailing list name. This email message is simply a notification of how Lyris ListManager understood your email message. If you want to resend your commands, send them to lyris@paramountparks.net From owner-freebsd-isp@FreeBSD.ORG Thu Dec 29 10:19:16 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75FB216A41F for ; Thu, 29 Dec 2005 10:19:16 +0000 (GMT) (envelope-from boisan@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7741843D5A for ; Thu, 29 Dec 2005 10:19:15 +0000 (GMT) (envelope-from boisan@gmail.com) Received: by nproxy.gmail.com with SMTP id o60so93447nfa for ; Thu, 29 Dec 2005 02:19:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=X3wZw5pHIem36R9+EACNdgMuQcDFRGj+ktcXZ+75Ioxn9t8RGNq70qWR4UKaBBCepts9dnIHqhQkl0t92FPhfUmqk8YxCqFzLcPGy7ZEYQSjLe5g/W/ixY+g7pG5tO3+rO7Zy9g69yLzAdnEQvWnnDe5BH04XPrqgWY+cqsi6z0= Received: by 10.48.142.8 with SMTP id p8mr351312nfd; Thu, 29 Dec 2005 02:19:14 -0800 (PST) Received: by 10.49.41.9 with HTTP; Thu, 29 Dec 2005 02:19:14 -0800 (PST) Message-ID: Date: Thu, 29 Dec 2005 11:19:14 +0100 From: Angel Blazquez To: freebsd-isp@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: nfs server overload (nfsd) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2005 10:19:16 -0000 Hello, We are expecting incredible overload in a NFS server. A top shows nfsd consuming most of the CPU: PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMA= ND 6000 root -8 0 1204K 660K biord 1 124:15 27.88% 27.88% nfsd 6002 root 4 0 1204K 660K *Giant 0 124:18 17.58% 17.58% nfsd 6006 root 4 0 1204K 660K *Giant 0 123:38 10.21% 10.21% nfsd 6005 root 4 0 1204K 660K *Giant 0 123:36 7.47% 7.47% nfsd 6003 root 4 0 1204K 660K *Giant 0 123:08 4.15% 4.15% nfsd 6001 root 4 0 1204K 660K *Giant 0 123:16 2.83% 2.83% nfsd Memory looks fine: Mem: 27M Active, 910M Inact, 136M Wired, 51M Cache, 112M Buf, 1828K Free Swap: 2048M Total, 72K Used, 2048M Free Typing in the nfs server (console/ssh) becomes terrible, the server does not reply well. We are running this nfs server in FreeBSD 5.3-RELEASE-p23 on a Compaq Proliant server with a Compaq Smart Array 5300 that comunicates with a array of disks: /dev/da0s1d 164G 124G 27G 82% /data0 /dev/da1s1d 131G 80G 41G 66% /data1 We have /data0 and /data1 exported: /data0 -maproot=3Droot -alldirs -network 192.168.62.0 -mask 255.255.255.0 /data1 -maproot=3Droot -alldirs -network 192.168.62.0 -mask 255.255.255.0 so a couple of incoming SMTP servers we have can deliver e-mail to those filesystems. We are running exim 4.60.0 in those other servers, 4.10-RELEASE-p5 in one of them, and FreeBSD 6.0-RELEASE #0 in the other one. If we stop exim delivering e-mail, nfs server does well, the cpu gets free, and the nfs server works fine (replies to user interaction, etc). FreeBSD 6.0 sysctl output (nfs related): vfs.nfs4.access_cache_timeout: 60 vfs.nfs4.nfsv3_commit_on_close: 0 vfs.nfs.downdelayinitial: 12 vfs.nfs.downdelayinterval: 30 vfs.nfs.realign_test: 1294030 vfs.nfs.realign_count: 0 vfs.nfs.bufpackets: 4 vfs.nfs.reconnects: 2 vfs.nfs.iodmaxidle: 120 vfs.nfs.iodmin: 4 vfs.nfs.iodmax: 20 vfs.nfs.defect: 0 vfs.nfs.nfs_ip_paranoia: 1 vfs.nfs.diskless_valid: 0 vfs.nfs.diskless_rootpath: vfs.nfs.access_cache_timeout: 2 vfs.nfs.nfsv3_commit_on_close: 0 vfs.nfs.clean_pages_on_close: 1 vfs.nfs.nfs_directio_enable: 0 vfs.nfs.nfs_directio_allow_mmap: 1 vfs.nfsrv.nfs_privport: 0 vfs.nfsrv.async: 0 vfs.nfsrv.commit_blks: 0 vfs.nfsrv.commit_miss: 0 vfs.nfsrv.realign_test: 0 vfs.nfsrv.realign_count: 0 vfs.nfsrv.gatherdelay: 10000 vfs.nfsrv.gatherdelay_v3: 0 FreeBSD 4.10 sysctl output (nfs related): vfs.nfs.nfs_privport: 0 vfs.nfs.async: 0 vfs.nfs.commit_blks: 0 vfs.nfs.commit_miss: 0 vfs.nfs.realign_test: 84602323 vfs.nfs.realign_count: 99713 vfs.nfs.bufpackets: 4 vfs.nfs.gatherdelay: 10000 vfs.nfs.gatherdelay_v3: 0 vfs.nfs.defect: 0 vfs.nfs.nfs_ip_paranoia: 1 vfs.nfs.diskless_valid: 0 vfs.nfs.diskless_rootpath: vfs.nfs.diskless_swappath: vfs.nfs.access_cache_timeout: 2 vfs.nfs.nfsv3_commit_on_close: 0 This couple of servers mounts the filesystems with this options: 192.168.62.54:/data1 /mail nfs =20 rw,nfsv3,intr,dumbtimer,rdirplus,nosuid,nodev 0 0 192.168.62.54:/data0 /data0 nfs =20 rw,nfsv3,intr,dumbtimer,rdirplus,nosuid,nodev 0 0 On the server, sysctl nfs related output looks like this: vfs.nfs.downdelayinitial: 12 vfs.nfs.downdelayinterval: 30 vfs.nfs.realign_test: 2694 vfs.nfs.realign_count: 0 vfs.nfs.bufpackets: 4 vfs.nfs.reconnects: 2 vfs.nfs.iodmaxidle: 120 vfs.nfs.iodmin: 4 vfs.nfs.iodmax: 20 vfs.nfs.defect: 0 vfs.nfs.nfs_ip_paranoia: 1 vfs.nfs.diskless_valid: 0 vfs.nfs.diskless_rootpath: vfs.nfs.access_cache_timeout: 2 vfs.nfs.nfsv3_commit_on_close: 0 vfs.nfs4.access_cache_timeout: 60 vfs.nfs4.nfsv3_commit_on_close: 0 vfs.nfsrv.nfs_privport: 0 vfs.nfsrv.async: 1 vfs.nfsrv.commit_blks: 579238 vfs.nfsrv.commit_miss: 413059 vfs.nfsrv.realign_test: 88269083 vfs.nfsrv.realign_count: 11961 vfs.nfsrv.gatherdelay: 10000 vfs.nfsrv.gatherdelay_v3: 0 debug.hashstat.nfsnode: 65536 5 1 0 Thanks in advance, Best regards, Angel Blazquez From owner-freebsd-isp@FreeBSD.ORG Thu Dec 29 13:04:23 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7644D16A41F for ; Thu, 29 Dec 2005 13:04:23 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E68343D64 for ; Thu, 29 Dec 2005 13:04:20 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from centtech.com (andersonbox4.centtech.com [192.168.42.24]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id jBTD4JmI015080; Thu, 29 Dec 2005 07:04:19 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <43B3DEE1.3050606@centtech.com> Date: Thu, 29 Dec 2005 07:04:33 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Angel Blazquez References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1219/Wed Dec 28 16:57:59 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-isp@freebsd.org Subject: Re: nfs server overload (nfsd) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2005 13:04:23 -0000 Angel Blazquez wrote: >Hello, > >We are expecting incredible overload in a NFS server. A top shows nfsd >consuming most of the CPU: > >PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND >6000 root -8 0 1204K 660K biord 1 124:15 27.88% 27.88% nfsd >6002 root 4 0 1204K 660K *Giant 0 124:18 17.58% 17.58% nfsd >6006 root 4 0 1204K 660K *Giant 0 123:38 10.21% 10.21% nfsd >6005 root 4 0 1204K 660K *Giant 0 123:36 7.47% 7.47% nfsd >6003 root 4 0 1204K 660K *Giant 0 123:08 4.15% 4.15% nfsd >6001 root 4 0 1204K 660K *Giant 0 123:16 2.83% 2.83% nfsd > > During these loads, can you run nfsstat -s -w 1 on the server and see what is going on? >Memory looks fine: > >Mem: 27M Active, 910M Inact, 136M Wired, 51M Cache, 112M Buf, 1828K Free >Swap: 2048M Total, 72K Used, 2048M Free > >Typing in the nfs server (console/ssh) becomes terrible, the server does >not reply well. > >We are running this nfs server in FreeBSD 5.3-RELEASE-p23 on a Compaq >Proliant server with a Compaq Smart Array 5300 that comunicates with a >array of disks: > >/dev/da0s1d 164G 124G 27G 82% /data0 >/dev/da1s1d 131G 80G 41G 66% /data1 > > You may want to also look at gstat and see how busy your disks look. >We have /data0 and /data1 exported: > >/data0 -maproot=root -alldirs -network 192.168.62.0 -mask 255.255.255.0 >/data1 -maproot=root -alldirs -network 192.168.62.0 -mask 255.255.255.0 > >so a couple of incoming SMTP servers we have can deliver e-mail to >those filesystems. >We are running exim 4.60.0 in those other servers, 4.10-RELEASE-p5 in >one of them, and FreeBSD 6.0-RELEASE #0 in the other one. > >If we stop exim delivering e-mail, nfs server does well, the cpu gets >free, and the nfs server works fine (replies to user interaction, etc). > > You may try mounting the filesystems on the server with the 'noatime' option to reduce disk writes. You can also try setting the gatherdelay down from 10000 to 1000 on the server and see if that helps. Also - are you sure you want: vfs.nfsrv.async: 1 I fairly certain default is 0, which is safer. >FreeBSD 6.0 sysctl output (nfs related): > >vfs.nfs4.access_cache_timeout: 60 >vfs.nfs4.nfsv3_commit_on_close: 0 >vfs.nfs.downdelayinitial: 12 >vfs.nfs.downdelayinterval: 30 >vfs.nfs.realign_test: 1294030 >vfs.nfs.realign_count: 0 >vfs.nfs.bufpackets: 4 >vfs.nfs.reconnects: 2 >vfs.nfs.iodmaxidle: 120 >vfs.nfs.iodmin: 4 >vfs.nfs.iodmax: 20 >vfs.nfs.defect: 0 >vfs.nfs.nfs_ip_paranoia: 1 >vfs.nfs.diskless_valid: 0 >vfs.nfs.diskless_rootpath: >vfs.nfs.access_cache_timeout: 2 >vfs.nfs.nfsv3_commit_on_close: 0 >vfs.nfs.clean_pages_on_close: 1 >vfs.nfs.nfs_directio_enable: 0 >vfs.nfs.nfs_directio_allow_mmap: 1 >vfs.nfsrv.nfs_privport: 0 >vfs.nfsrv.async: 0 >vfs.nfsrv.commit_blks: 0 >vfs.nfsrv.commit_miss: 0 >vfs.nfsrv.realign_test: 0 >vfs.nfsrv.realign_count: 0 >vfs.nfsrv.gatherdelay: 10000 >vfs.nfsrv.gatherdelay_v3: 0 > >FreeBSD 4.10 sysctl output (nfs related): > >vfs.nfs.nfs_privport: 0 >vfs.nfs.async: 0 >vfs.nfs.commit_blks: 0 >vfs.nfs.commit_miss: 0 >vfs.nfs.realign_test: 84602323 >vfs.nfs.realign_count: 99713 >vfs.nfs.bufpackets: 4 >vfs.nfs.gatherdelay: 10000 >vfs.nfs.gatherdelay_v3: 0 >vfs.nfs.defect: 0 >vfs.nfs.nfs_ip_paranoia: 1 >vfs.nfs.diskless_valid: 0 >vfs.nfs.diskless_rootpath: >vfs.nfs.diskless_swappath: >vfs.nfs.access_cache_timeout: 2 >vfs.nfs.nfsv3_commit_on_close: 0 > >This couple of servers mounts the filesystems with this options: > >192.168.62.54:/data1 /mail nfs >rw,nfsv3,intr,dumbtimer,rdirplus,nosuid,nodev 0 0 >192.168.62.54:/data0 /data0 nfs >rw,nfsv3,intr,dumbtimer,rdirplus,nosuid,nodev 0 0 > >On the server, sysctl nfs related output looks like this: > >vfs.nfs.downdelayinitial: 12 >vfs.nfs.downdelayinterval: 30 >vfs.nfs.realign_test: 2694 >vfs.nfs.realign_count: 0 >vfs.nfs.bufpackets: 4 >vfs.nfs.reconnects: 2 >vfs.nfs.iodmaxidle: 120 >vfs.nfs.iodmin: 4 > >vfs.nfs.iodmax: 20 >vfs.nfs.defect: 0 >vfs.nfs.nfs_ip_paranoia: 1 >vfs.nfs.diskless_valid: 0 >vfs.nfs.diskless_rootpath: >vfs.nfs.access_cache_timeout: 2 >vfs.nfs.nfsv3_commit_on_close: 0 >vfs.nfs4.access_cache_timeout: 60 >vfs.nfs4.nfsv3_commit_on_close: 0 >vfs.nfsrv.nfs_privport: 0 >vfs.nfsrv.async: 1 >vfs.nfsrv.commit_blks: 579238 >vfs.nfsrv.commit_miss: 413059 >vfs.nfsrv.realign_test: 88269083 >vfs.nfsrv.realign_count: 11961 >vfs.nfsrv.gatherdelay: 10000 >vfs.nfsrv.gatherdelay_v3: 0 >debug.hashstat.nfsnode: 65536 5 1 0 > >Thanks in advance, > >Best regards, >Angel Blazquez >_______________________________________________ >freebsd-isp@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-isp >To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > > From owner-freebsd-isp@FreeBSD.ORG Fri Dec 30 17:04:09 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09BE916A41F; Fri, 30 Dec 2005 17:04:09 +0000 (GMT) (envelope-from rubenl@bloemgarten.demon.nl) Received: from post-22.mail.nl.demon.net (post-22.mail.nl.demon.net [194.159.73.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6290943D49; Fri, 30 Dec 2005 17:04:08 +0000 (GMT) (envelope-from rubenl@bloemgarten.demon.nl) Received: from axelds.demon.nl ([83.160.138.74]:22951 helo=abubbletprpdda) by post-22.mail.nl.demon.net with esmtp (Exim 4.51) id 1EsNfj-000GJK-8m; Fri, 30 Dec 2005 17:04:07 +0000 From: "Ruben Bloemgarten" To: Date: Fri, 30 Dec 2005 18:03:44 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Thread-Index: AcYLxER/2cHh0HbIRu+A+r0r+tpswwBneMLw Cc: questions@freebsd.org Subject: RE: sendmail-submit and envelope-from X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ruben@bloemgarten.demon.nl List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2005 17:04:09 -0000 Hi all, A pity nobody came up with any ideas, oh well. I decided to just change to php syntax instead ( I'd still really like to now what was different in the 'working' setup though). It now reads The submit is still very slow, it takes approximately 3 seconds per mail. Hmmm, I suppose I'll just have to delve into that wonderfull world called sendmail even deeper. Unless, unless, maybe someone does have a pointer or two ?? Anyway, thanks. (not being sarcastic here) Regards, Ruben -----Original Message----- From: owner-freebsd-isp@freebsd.org [mailto:owner-freebsd-isp@freebsd.org] On Behalf Of Ruben Bloemgarten Sent: December 28, 2005 4:35 PM To: freebsd-isp@freebsd.org Subject: sendmail-submit and envelope-from Hi all, I hope someone could help me out with the following : On 5.4 I'm running a few jails, one of which is running the mail::toaster incarnation of qmail. All is well. From another jail I want to use a php script to generate mailings rewriting the envelope-from: This does work on a different system, not running on jails with a non ports compile of qmail (not installed by me). The main difference here being that on the 'working system', the mail-sendmail wrapper is used instead of sendmail. So I went and tested the same script on the qmail jail, which has the same 'problem' as sendmail does from the other jail. So something seems to have been changed on this setup to allow this behaviour (I assume having 'From', rewrite both return address and the envelope-from). I can't for the life of me figure out what. Oh, and unrelated but also annoying is the submit from the different jails to the qmail jail is a bit slow. Any pointers anyone ? Thanks, Ruben _______________________________________________ freebsd-isp@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date: 12/27/2005 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date: 12/27/2005