Do you use UNIX syslog logging (not via network)? I just looked at the 
code, and it may possible, that there will be may sockets opened (and not 
closed) if the syslog-socket receiver is not available.

I don't expect that issue caused by INET or INET6 sockets.

Even on very high workload systems - I don't expect more than ~2000 
concurrent  sockets (files) in the following states used by assp.

listen
opened / connected / established
close-wait / fin-wait

Please check your settings of 'ulimit' for the assp user !

notice: the error 'Too many open files' is thrown by the OS not by Perl! 
Perl has no buildin limit for the number of concurrently opened files. So, 
if any other process on the system uses too many sockets/files - you'll 
get the same error in Perl/assp.

Thomas





Von:    Jean-Pierre van Melis <[email protected]>
An:     ASSP development mailing list <[email protected]>, 
Datum:  03.04.2014 10:26
Betreff:        Re: [Assp-test] Worker_2 accept to client failed 
IO::Socket::INET=GLOB(0xde40810) (timeout: 2 s) : Too many open files



When this problem occurs I will test this.
Currently there's nothing going wrong....

root@ns5:~# lsof -np26944 | wc -l
91

JP
 
-----Oorspronkelijk bericht-----
> Afzender:Thomas Eckardt <[email protected] <
mailto:[email protected]> >
> Verstuurd: Dinsdag 1 April 2014 14:23
> Aan: ASSP development mailing list <[email protected] <
mailto:[email protected]> >
> Onderwerp: Re: [Assp-test] Worker_2 accept to client failed 
IO::Socket::INET=GLOB(0xde40810) (timeout: 2 s) : Too many open files
> 
> How many file are opened on the system? Which process has opened them? 
> lsof
> 
> Thomas
> 
> 
> 
> 
> 
> Von:    Jean-Pierre van Melis <[email protected] <mailto:[email protected]> >
> An:     [email protected] <
mailto:[email protected]>  <[email protected] 
<mailto:[email protected]> >, 
> 
> Datum:  01.04.2014 13:32
> Betreff:        [Assp-test] Error: Worker_2 accept to client failed 
> IO::Socket::INET=GLOB(0xde40810) (timeout: 2 s) : Too many open files
> 
> 
> 
> I update my ASSP 2 from time to time and the last month my ASSP's are 
> dying after a period of time.
> This is being preceded by the error message "Too many open files"
> 
> I did some tests on my log-files and this shows that it happened after 
the 
> upgrade from 2.3.4 (14045) to 2.4.2 (14068)
> I can remember I also upgraded some perl modules with cpan....
> 
> root@ns5:˜# grep -A999999999 'Running ASSP version 2.4.2' 
> /opt/ASSP/logs/14-03-19.maillog.txt | grep -ic 'Too many open files'
> 910
> root@ns5:˜# grep -B999999999 'Running ASSP version 2.4.2' 
> /opt/ASSP/logs/14-03-19.maillog.txt | grep -ic 'Too many open files'
> 0
> 
> Anyone else experiencing this?
> I'm having it on 3 different servers running a similar configuration 
(they 
> are synced as well)....
> 
> 2.4.2(14081) also suffers from it....
> 
------------------------------------------------------------------------------
> _______________________________________________
> Assp-test mailing list
> [email protected] <mailto:[email protected]> 

> https://lists.sourceforge.net/lists/listinfo/assp-test
> 
> 
> 
> DISCLAIMER:
> *******************************************************
> This email and any files transmitted with it may be confidential, 
legally 
> privileged and protected in law and are intended solely for the use of 
the 
> 
> individual to whom it is addressed.
> This email was multiple times scanned for viruses. There should be no 
> known virus in this email!
> *******************************************************
> 
> 
> 
------------------------------------------------------------------------------
> _______________________________________________
> Assp-test mailing list
> [email protected] <mailto:[email protected]> 

> https://lists.sourceforge.net/lists/listinfo/assp-test
> 

------------------------------------------------------------------------------
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test



DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************


------------------------------------------------------------------------------
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to