From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 10:44:24 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F011F16A4CE for ; Mon, 1 Dec 2003 10:44:24 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 761E443FE1 for ; Mon, 1 Dec 2003 10:44:13 -0800 (PST) (envelope-from myfreebsd@skicentral.tv) Received: from workhorse.skicentral.tv ([68.63.97.223]) by comcast.net (sccrmhc12) with ESMTP id <2003120118441201200d8rgbe>; Mon, 1 Dec 2003 18:44:12 +0000 Received: from skicentral.tv (localhost.skicentral.tv [127.0.0.1]) hB1JpUXc084710; Mon, 1 Dec 2003 14:51:30 -0500 (EST) Message-ID: <3FCB8BFA.8060300@skicentral.tv> Date: Mon, 01 Dec 2003 13:44:10 -0500 From: dkw User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: root@pukruppa.de Subject: RE: Samba server freezes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: myfreebsd@skicentral.tv List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 18:44:25 -0000 Hi Peter: I had the same problems with a machine running Samba Version 2.2.6pre2. I am using fbsd 4.7. The box would just hang completely. I could only reset the power to get a response. The problem began after I started using a windows box as a router/gateway/proxy. I also use DHCPD & think that was causing the problem. The windows box was trying to DHCP up but it had a static address on the inside (it seemed like the outside/internet interface was asking the inside/LAN interface for an IP. Somehow I think that was killing my freebsd server. I had repeated requests in my dhcpd log & it seemed that all my leases were used up but no hosts were connected to the network that were dynamic... Before I started using the windows box as my gateway, I had uptimes close to 6 months with my samba freebsd box. It is a pentium 133 with 64 MB RAM. I recompiled my kernel to test the hardware & found no problems. They (unix geeks) say that recompiling is a perfect hardware test for memory & CPU, etc. You may want to try this. This will simulate heavy load on the box & help discover any flaky hardware. Well, the problem went away as mysteriously as it started. I updated my DHCPD server to the latest version that ISC was offering & I made sure my ISA windows server was not asking for dhcp on the internal network. My box has been running steadily for 30 days now. Probably, it was my error on misconfiguring the stupid windoze server. I think I may have had too many file descriptors opened or something, but I don't know enough about that to determine the validity. I probably needed to get a core dump, but am not sure how to turn that feature on or where to look. The system & samba logs indicated no problems before the thing stopped responding. Best of luck! Regards, dkw ------------------------------ Message: 17 Date: Mon, 1 Dec 2003 15:49:20 +0100 (CET) From: Peter Ulrich Kruppa Subject: Samba server freezes To: freebsd-questions@freebsd.org Message-ID: <20031201154111.S1722@pukruppa.net> Content-Type: TEXT/PLAIN; charset=US-ASCII Hi! Sometimes - particularily over the weekends - our samba server at school stops working. Sometimes it's only the smbd daemon, sometimes the whole system doesn't react anymore. After a reboot or a restart of smbd everything works fine again. What might be the reasons for this behaviour? - I can't see any error messages on the screen. Would it make sense to set up a cron job that does a reboot in the early morning? Thanks for any ideas. Regards, Uli. +---------------------------+ | Peter Ulrich Kruppa | | Wuppertal | | Germany | +---------------------------+ ------------------------------