I'm having the same problem with ActiveState Perl 5.16 on Windows and ASSP
build 14085.

ASSP log indicates the following errors:

Apr-14-14 09:13:44 [Worker_2] Error: Worker_2 accept to client failed
IO::Socket::INET=GLOB(0xcdc4e5c0) (timeout: 2 s) : Too many open files
Apr-14-14 09:14:01 [Worker_2] Error: Worker_2 accept to client failed
IO::Socket::INET=GLOB(0xce100f70) (timeout: 2 s) : Too many open files
Apr-14-14 09:14:07 [Worker_2] Error: Worker_2 accept to client failed
IO::Socket::INET=GLOB(0xce101048) (timeout: 2 s) : Too many open files
Apr-14-14 09:14:12 [Worker_2] Error: Worker_2 accept to client failed
IO::Socket::INET=GLOB(0xce100a78) (timeout: 2 s) : Too many open files
Apr-14-14 09:14:16 [Worker_2] Error: Worker_2 accept to client failed
IO::Socket::INET=GLOB(0xce110560) (timeout: 2 s) : Too many open files
Apr-14-14 09:14:21 [Worker_2] Error: Worker_2 accept to client failed
IO::Socket::INET=GLOB(0xcdc37228) (timeout: 2 s) : Too many open files
Apr-14-14 09:14:36 [Worker_2] Error: Worker_2 accept to client failed
IO::Socket::INET=GLOB(0xce6c01f0) (timeout: 2 s) : Too many open files
Apr-14-14 09:14:42 [Worker_2] Error: Worker_2 accept to client failed
IO::Socket::INET=GLOB(0xce10d920) (timeout: 2 s) : Too many open files
Apr-14-14 09:14:56 [Worker_2] Error: Worker_2 accept to client failed
IO::Socket::INET=GLOB(0xce0c8b60) (timeout: 2 s) : Too many open files
Apr-14-14 09:14:58 [Worker_2] Error: Worker_2 accept to client failed
IO::Socket::INET=GLOB(0xce0fff48) (timeout: 2 s) : Too many open files
Apr-14-14 09:14:59 [Worker_2] Error: Worker_2 accept to client failed
IO::Socket::INET=GLOB(0xcdc538b0) (timeout: 2 s) : Too many open files
main exception: error: AsspSelfLoader is unable to load code from file
d:/assp/sl-cache/main-resetFH.sl - Too many open files

Does anyone know how to check/raise ulimit on Win 2012?

--
Best regards,
Rajib Momen

Boston Computing Network
http://www.bostoncomputing.net

-----Original Message-----
From: James Brown [mailto:[email protected]] 
Sent: Tuesday, April 15, 2014 2:40 AM
To: ASSP development mailing list
Subject: Re: [Assp-test] Upgraded Perl, now getting error re BerkeleyDB "Too
many open files"

Thanks Thomas.

Doesn't seem to work:

$ sudo ulimit -n 1024 1024
Password:
$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 256
pipe size            (512 bytes, -p) 1
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 709
virtual memory          (kbytes, -v) unlimited

Anyone else have any ideas/experience of getting BerkeleyDB to not have the
"Too many open files" error on Mac OS X?

The BerkeleyDB site mentions this, but it goes back to 2003 and refers to a
file which doesn't exist in OS X 10.7.5:

Mac OS X

Thanks,

James.

On 11 Apr 2014, at 5:04 pm, Thomas Eckardt <[email protected]>
wrote:

> check ulimit
> 
> Thomas
> 
> 
> 
> 
> Von:    James Brown <[email protected]>
> An:     ASSP development mailing list <[email protected]>, 
> Datum:  10.04.2014 03:30
> Betreff:        [Assp-test] Upgraded Perl,      now getting error re 
> BerkeleyDB "Too many open files"
> 
> 
> 
> I took Thomas's suggestion and upgraded my Perl to 5.18.2.
> 
> Upgraded all the modules, etc.
> 
> BerkelyDB module wouldn't install via CPAN, so I had to download it, 
> change the config.ini file to show location of lib and Include folder, 
> then it would compile  and install OK.
> 
> Now ASSP starts up OK, but complains about there being too many open 
> files and constantly restarts. Here are some of the error lines from
> maillog.log:
> 
> Apr-10-14 11:20:28 [Worker_10000] Error: Worker_10000: error: 
> AsspSelfLoader is unable to load code from file 
> /Applications/assp/sl-cache/main-DNSSocketsClose.sl - Too many open 
> files
> Apr-10-14 11:20:28 [Worker_10000] Info: auto restart died worker
> Worker_10000
> Apr-10-14 11:20:31 [Worker_5] BerkeleyDB-ENV-ERROR Spamdb: Cannot open 
> file /Applications/assp/tmpDB/Spamdb/BDB-error.txt: Too many open files
>                  at (eval 537) line 1 thread 6.
>                  - BDB:BDB0062 Successful return: 0
> Apr-10-14 11:20:31 [Worker_5] Spamdb database error: 
> BerkeleyDB-ENV-ERROR
> Spamdb: Cannot open file /Applications/assp/tmpDB/Spamdb/BDB-error.txt: 
> Too many open files
>                  at (eval 537) line 1 thread 6.
>                  - BDB:BDB0062 Successful return: 0
> Apr-10-14 11:20:31 [init] Starting rebuild SpamDB worker thread 
> [10001] - ThreadCycleTime is set to 50 microseconds
> Apr-10-14 11:20:31 [Worker_5] Worker_5 started
> Apr-10-14 11:20:31 [Worker_5] Worker_5 finished
> Apr-10-14 11:20:45 [Worker_10001] BerkeleyDB-CRT-ENV-ERROR (1) in HASH 
> Delay , on file /Applications/assp/delaydb.bdb : BDB:Too many open 
> files
> Apr-10-14 11:20:45 [Worker_10001] BerkeleyDB-ENV-ERROR Delay:  - 
> BDB:Too many open files
> Apr-10-14 11:20:45 [Worker_10001] Delaydb database error: 
> BerkeleyDB-ENV-ERROR Delay:  - BDB:Too many open files
> Apr-10-14 11:20:45 [Worker_10001] Worker_10001 started
> Apr-10-14 11:20:45 [Worker_10001] Worker_10001 finished
> 
> I rebooted the server to no avail.
> 
> ASSP-professional version 2.4.2(14097) (Perl 5.018002) (on darwin)
> 
> Any suggestions?
> 
> Thanks,
> 
> James.
> 
> 
> ----------------------------------------------------------------------
> --------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration Continuously 
> Automate Build, Test & Deployment Start a new project now. Try Jenkins 
> in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> 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!
> *******************************************************
> 
> 
> ----------------------------------------------------------------------
> --------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration Continuously 
> Automate Build, Test & Deployment Start a new project now. Try Jenkins 
> in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees___________________________________
> ____________
> Assp-test mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-test

----------------------------------------------------------------------------
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the
definitive new guide to graph databases and their applications. Written by
three acclaimed leaders in the field, this first edition is now available.
Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to