Hi Priotr, for the moment the probem has solved, In the past I created a cgi control panel for stop and start pound service and a global view with pounctl, I detected that the cgi run pound but not use init.d script for run or stop, in my /etc/init.d/pound script I added a line
ulimit -n 50000 when poun stop/start with cgi, this value is not modified, but there is no problem with the init.d script. It is a big mistake that I just detect , I was crazy!!! and now pound run like a charm!!!, The next week a new webservice will be loaded with 20k new access, I will see if all is ok! Thanks to everybody for your help and suggestions! THANK YOU VERY MUCH!!! 2010/12/31 Piotr Jakubowski <[email protected]> > Hello Emilio, > > Did you check your PAM config? > Which Linux distribution do you have? > > Piotr > > W dniu 2010-12-30 18:42, Emilio Campos pisze: > > This is my global configuration section >> >> ## global options: >> >> User "root" >> Group "root" >> #RootJail /chroot/pound >> >> ## allow PUT and DELETE also (by default only GET, POST and HEAD)?: >> #ExtendedHTTP 0 >> >> >> ## Logging: (goes to syslog by default) >> ## 0 no logging >> ## 1 normal >> ## 2 extended >> ## 3 Apache-style (common log format) >> LogLevel 2 >> #LogLevel 0 >> >> ## check backend: >> Timeout 45 >> Alive 10 >> #Client 30 >> Control "/opt/pound-2.5/etc/pound.socket" >> >> >> >> ..... after, there is a lot of virtualhost configuration! >> >> ####### >> >> thanks! >> >> 2010/12/30 Piotr Jakubowski<[email protected]> >> >> Hi, >>> >>> Still, if you use RootJail parameter (send us your pound.conf) you should >>> check your pam config. >>> >>> I'm sure it has nothing to do with IIS and pound. It's clearly linux >>> limits >>> problem. >>> >>> Piotr >>> >>> W dniu 2010-12-30 14:34, Emilio Campos pisze: >>> >>> Hi, Piotr, Now I am running pound with user root: >>> >>>> >>>> r...@mymachine# /opt/pound-2.5/sbin/pound -f >>>> /opt/pound-2.5/etc/pound.conf >>>> >>>> r...@mymachine# ps -ef | grep pound >>>> root 11864 1 0 08:59 ? 00:00:00 >>>> /opt/pound-2.5/sbin/pound >>>> -f >>>> /opt/pound-2.5/etc/pound.conf >>>> root 11865 11864 40 08:59 ? 00:32:05 >>>> /opt/pound-2.5/sbin/pound >>>> -f >>>> /opt/pound-2.5/etc/pound.conf >>>> >>>> # >>>> >>>> at the same time I executed: >>>> >>>> lsof -p 11865 | wc -l >>>> 1088 >>>> >>>> >>>> and at the moment i can see on the logs: >>>> >>>> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:32 sc02sns01 pound: backend 10.234.23.182:80 create: Too >>>> many >>>> open files >>>> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:32 sc02sns01 pound: backend 10.234.23.182:80 create: Too >>>> many >>>> open files >>>> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:32 sc02sns01 pound: backend 10.234.23.183:80 create: Too >>>> many >>>> open files >>>> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:32 sc02sns01 pound: backend 10.234.23.181:80 create: Too >>>> many >>>> open files >>>> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:32 sc02sns01 pound: backend 10.234.23.180:80 create: Too >>>> many >>>> open files >>>> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:32 sc02sns01 pound: backend 10.234.23.183:80 create: Too >>>> many >>>> open files >>>> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:32 sc02sns01 pound: backend 10.234.23.180:80 create: Too >>>> many >>>> open files >>>> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:32 sc02sns01 pound: backend 10.234.23.183:80 create: Too >>>> many >>>> open files >>>> Dec 30 09:07:33 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:33 sc02sns01 pound: backend 10.234.23.183:80 create: Too >>>> many >>>> open files >>>> Dec 30 09:07:33 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:33 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:33 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:33 sc02sns01 pound: backend 10.234.23.182:80 create: Too >>>> many >>>> open files >>>> Dec 30 09:07:33 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:33 sc02sns01 pound: HTTP accept: Too many open files >>>> Dec 30 09:07:33 sc02sns01 pound: backend 10.234.23.183:80 create: Too >>>> many >>>> open files >>>> Dec 30 09:07:33 sc02sns01 pound: backend 10.234.23.183:80 create: Too >>>> many >>>> open files >>>> Dec 30 09:07:33 sc02sns01 pound: backend 10.200.36.66:80 create: Too >>>> many >>>> open files >>>> >>>> I think it is problem of communication between pound (linux) and IIS >>>> (Windows), when I restart pound the connections are Ok for minutes only. >>>> >>>> # ulimit -a >>>> core file size (blocks, -c) 0 >>>> data seg size (kbytes, -d) unlimited >>>> max nice (-e) 0 >>>> file size (blocks, -f) unlimited >>>> pending signals (-i) 67584 >>>> max locked memory (kbytes, -l) 32 >>>> max memory size (kbytes, -m) unlimited >>>> open files (-n) 1000000 >>>> pipe size (512 bytes, -p) 8 >>>> POSIX message queues (bytes, -q) 819200 >>>> max rt priority (-r) 0 >>>> stack size (kbytes, -s) 10240 >>>> cpu time (seconds, -t) unlimited >>>> max user processes (-u) 67584 >>>> virtual memory (kbytes, -v) unlimited >>>> file locks (-x) unlimited >>>> >>>> any suggestions? >>>> >>>> Do you think that this is a pound problem? >>>> >>>> Thanks and regards >>>> >>>> 2010/12/30 Piotr Jakubowski<[email protected]> >>>> >>>> Hello Emilio, >>>> >>>>> >>>>> How do you run your pound? >>>>> My guess is that if you run it with su command you should check your >>>>> pam >>>>> config for su. >>>>> >>>>> Debian has it here: /etc/pam.d/su and it should contain uncomented >>>>> line: >>>>> >>>>> session required pam_limits.so >>>>> >>>>> Works for me. >>>>> >>>>> Piotr >>>>> >>>>> >>>>> W dniu 2010-12-30 11:41, Emilio Campos pisze: >>>>> >>>>> Yes modified. >>>>> >>>>> >>>>>> I can see two diferents error messages: >>>>>> >>>>>> 1º) >>>>>> Dec 30 10:24:46 lb pound: (b2ee0b90) e503 backend >>>>>> 192.168.1.10:80<http://192.168.1.10/>socket >>>>>> >>>>>> create: Too many open files >>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> and >>>>>> >>>>>> 2º) >>>>>> Dec 30 11:36:35 sc02sns01 pound: HTTP accept: Too many open files >>>>>> >>>>>> I think the first message is problem between pound and backend server, >>>>>> the >>>>>> server response with amessage when it try open a socket >>>>>> >>>>>> and the second message I dn`t know, is it a response from the first >>>>>> message? >>>>>> or is it a problem with pound an the system? >>>>>> >>>>>> I updated de ulimit -n for user that run pound (root) to: >>>>>> >>>>>> ulimit -n >>>>>> >>>>>>> >>>>>>> 1009000 >>>>>>> >>>>>> >>>>>> any suggestions? >>>>>> >>>>>> Thanks >>>>>> >>>>>> 2010/12/30 Simon Matter<[email protected]> >>>>>> >>>>>> Hi, Today I can see this message on my pound log >>>>>> >>>>>> >>>>>>> Dec 30 10:24:46 lb pound: (b2ee0b90) e503 backend 192.168.1.10:80 >>>>>>>> socket >>>>>>>> create: Too many open files >>>>>>>> Dec 30 10:24:46 lb pound: (af2fab90) e503 backend 192.168.1.10:80 >>>>>>>> socket >>>>>>>> create: Too many open files >>>>>>>> Dec 30 10:24:46 lb pound: (b1a55b90) e503 backend 192.168.1.10:80 >>>>>>>> socket >>>>>>>> create: Too many open files >>>>>>>> >>>>>>>> I modified the open files on my operative system >>>>>>>> >>>>>>>> >>>>>>>> Did you change it for the user as which pound runs? >>>>>>> >>>>>>> Simon >>>>>>> >>>>>>> >>>>>>> >>>>>>> # ulimit -a >>>>>>>> core file size (blocks, -c) 0 >>>>>>>> data seg size (kbytes, -d) unlimited >>>>>>>> max nice (-e) 0 >>>>>>>> file size (blocks, -f) unlimited >>>>>>>> pending signals (-i) 67584 >>>>>>>> max locked memory (kbytes, -l) 32 >>>>>>>> max memory size (kbytes, -m) unlimited >>>>>>>> open files (-n) 1000000 >>>>>>>> pipe size (512 bytes, -p) 8 >>>>>>>> POSIX message queues (bytes, -q) 819200 >>>>>>>> max rt priority (-r) 0 >>>>>>>> stack size (kbytes, -s) 10240 >>>>>>>> cpu time (seconds, -t) unlimited >>>>>>>> max user processes (-u) 67584 >>>>>>>> virtual memory (kbytes, -v) unlimited >>>>>>>> file locks (-x) unlimited >>>>>>>> >>>>>>>> My pound is 2.5 version >>>>>>>> >>>>>>>> CAn you help me please? >>>>>>>> >>>>>>>> -- >>>>>>>> Load balancer distribution - Open Source Project >>>>>>>> http://zenloadbalancer.sourceforge.net >>>>>>>> Distribution list (subscribe): >>>>>>>> [email protected] >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> To unsubscribe send an email with subject unsubscribe to >>>>>>>> [email protected] >>>>>>>> . >>>>>>>> Please contact [email protected] for questions. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> -- >>>>>>> To unsubscribe send an email with subject unsubscribe to >>>>>>> [email protected]. >>>>>>> Please contact [email protected] for questions. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>> To unsubscribe send an email with subject unsubscribe to >>>>> [email protected]. >>>>> Please contact [email protected] for questions. >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>> To unsubscribe send an email with subject unsubscribe to [email protected]. >>> Please contact [email protected] for questions. >>> >>> >> >> >> > -- > To unsubscribe send an email with subject unsubscribe to [email protected]. > Please contact [email protected] for questions. > -- Load balancer distribution - Open Source Project http://zenloadbalancer.sourceforge.net Distribution list (subscribe): [email protected] -- To unsubscribe send an email with subject unsubscribe to [email protected]. Please contact [email protected] for questions.
