Date: Tue, 7 Oct 1997 21:56:03 -0500 (EST) From: Jim Riffle <rif@rif.kconline.com> To: freebsd-stable@freebsd.org Subject: Trobles with limits Message-ID: <Pine.BSF.3.96.971007213538.17462A-100000@rif.kconline.com>
next in thread | raw e-mail | index | archive | help
I recently upgraded a couple of my 2.2-Stable servers to 2.2.5-Beta and appear to be having troubles with maximum open files/processes. Sunday evening is when I cvsuped the source tree and made world. Both servers I upgraded are having serious problems when a lot of files or processes are open. My news server runs innd, which will die shortly after starting. This isn't too serious however, because restarting innd will make that machine happy. My web server, on the other hand, has big problems. Upon startup, everything will start and run okay until there are about 35 httpd processes. Once that happens, the cgi-bin programs will not work with errors that it cannot fork, fingerd will not fork (running with -p and a custom program), and after a while, named will die reporting too many open files. This sounds like it is a simple problem of needing to add CHILD_MAX and OPEN_MAX into my kernel config, however that doesn't seem to help. I had both of those set to 128 previously, and set them all the way to 512 to see if the problem would go away. I can get everything working and forking by starting everything over again from the shell, however every few hours during the busy times, the machine will spratically reboot (behavior I expect is a result of hitting a limit, which I can't seem to raise). I did have a old kernel around which was from about 2 months ago. I rebooted to that kernel, and the problem still persisted. So, it doesn't appear like the kernel is the problem (This kernel I ran problem free for months previous to upgrading). Anyone have any suggestions for me to try? Thanks, Jim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971007213538.17462A-100000>