The short answer: My original changes to /etc/system were correct, but I needed to recompile Apache to handle additional filehandles (It is 256 by default). As of right now I am running with 266 open files, so all appears to be well. /etc/system: set rlim_fd_cur = 1024 Apache: Re-Compile with extra flag -DFD_SETSIZE=1024 Other notes: - A number of people suggesting lowering rlim_fd_cur to 1024 as a number of tuning documents state this is the max - The default for rlim_fd_max is 1024, so that does not need to be set in /etc/system - Another really good suggestion was to add 'ulimit -n unlimited' in my startup script. This would have taken care of my Solaris filehandles w/out a reboot. - About 50 people asked if I had remembered to reboot. Must be more specific next time ;) thanks a bunch, matt > I moved a about 200 domains running under Apache to an U2. After moving the > sites over, I have started to see the error "Too many open files: Could not > open..." in my logs. > > I added the following to /etc/system as advised in a number posts to other > lists: > > set rlim_fd_max = 166384 > set rlim_fd_cur = 8192 > > These settings have not solved my file handle problems. Once I kill off > some processes the box runs fine, but I kinda need the ones I killed :) > > Is there something else I need to do to increase my filehandles in Solaris > 8? I am running Solaris 8 64-bit on a Ultra 2. I will summarize. > > thanks, > > matt _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Tue Oct 15 11:42:19 2002
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:56 EST