18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Too may open files

michael01612michael01612 Members
edited November -1 in Sahi - Open Source
Hi,

Sometimes I see an error message on the console output for Sahi proxy

Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files
Too many open files


This happens during test execution when I run our test suite on my local Linux box.

A variant of this is happens as part of our Hudson continuous integration ....

Total time: 4 seconds
Archiving artifacts
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /home/hudson/workspace/overnight-rhq-4.0/automatjon/jon/sahi/test-output/html to /home/hudson/.hudson/jobs/overnight-rhq-4.0/builds/2011-07-04_22-10-51/htmlreports/TestNG_Report
ERROR: Specified HTML directory '/home/hudson/workspace/overnight-rhq-4.0/automatjon/jon/sahi/test-output/html' does not exist.
Sending e-mails to: dgao@redhat.com mfoley@redhat.com ckannan@redhat.com
ERROR: Could not connect to SMTP host: localhost, port: 25
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
nested exception is:
java.net.SocketException: Too many open files
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)


This blocks a notification email from being sent ....


Any ideas?

Regards,

Michael Foley

Comments

Sign In or Register to comment.