Hi Jonathan, here are some info about file limits : lsox03:/var/log # cat /proc/sys/fs/file-nr 3073 0 104857 lsox03:/var/log # cat /proc/sys/fs/file-max 104857
lsox03:/var/log # lsof | grep sockd | wc -l 4705 -Number of session request today (from 00:00 at now): lsox03:/var/log # cat /var/log/sockd.log | grep 'pass(1)' | wc -l 60201 -Sockd active process: lsox03:/var/log # ps -ef | grep sockd | wc -l 167 Cordiali saluti / Best regards Marco Bosisio From: "Quay, Jonathan (IHG)" <jonathan.q...@ihg.com> To: LINUX-390@VM.MARIST.EDU Date: 26/11/2009 15.36 Subject: Re: sockd and Too many open files (errno = 24) Sent by: Linux on 390 Port <LINUX-390@VM.MARIST.EDU> Is the system out of sockets/open file descriptors? ________________________________ From: Linux on 390 Port on behalf of Marco Bosisio Sent: Thu 11/26/2009 8:50 AM To: LINUX-390@VM.MARIST.EDU Subject: sockd and Too many open files (errno = 24) Hello, the sockd deamon (of dante-1.1.19-1 server http://www.inet.no/dante/ ) running on Linux SLES9 64b SP4 have the following problem : ..... Nov 26 09:52:48 (1259225568) sockd[2067]: addchild(): Too many open files (errno = 24) Nov 26 09:52:54 (1259225574) sockd[2067]: can't accept new clients, no free negotiate slots:Too many open files (errno = 24) ........ This service is very used and it is increased this month : for example searching in log "pass(1)" this key it appear 155799 for a day.... So I changed ulimits for sockd user in : lsox03:~ # grep sockd /etc/security/limits.conf ## changed for Too many open files (errno = 24)" #### sockd hard nofile 30000 sockd soft nofile 30000 and it has been applied from system : lsox03:~ # su - sockd -c 'ulimit -a | grep open ' open files (-n) 30000 The system usage it seems normal : lsox03:~ # free total used free shared buffers cached Mem: 1020040 487352 532688 0 90236 190984 -/+ buffers/cache: 206132 813908 Swap: 600376 0 600376 The problem persist I have to restart almost one time for day the sockd service (or reboot sys) Any suggestion is welcome ... Thanks in advance Cordiali saluti / Best regards Marco Bosisio IBM Italia S.p.A. Sede Legale: Circonvallazione Idroscalo - 20090 Segrate (MI) Cap. Soc. euro 384.506.359,00 C. F. e Reg. Imprese MI 01442240030 - Partita IVA 10914660153 Società soggetta all?attività di direzione e coordinamento di International Business Machines Corporation (Salvo che sia diversamente indicato sopra / Unless stated otherwise above) ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 IBM Italia S.p.A. Sede Legale: Circonvallazione Idroscalo - 20090 Segrate (MI) Cap. Soc. euro 384.506.359,00 C. F. e Reg. Imprese MI 01442240030 - Partita IVA 10914660153 Società soggetta all?attività di direzione e coordinamento di International Business Machines Corporation (Salvo che sia diversamente indicato sopra / Unless stated otherwise above) ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390