We've fixed this in the official ettercap release 0.7.4-Lazarus which will be available tonight on the Official ettercap sourceforge page. Ettercap.sourceforge.net
Best regards, Eric Milam Sr. Security Assessor Accuvant Labs [email protected] Cell: 925.783.2773 Corp: 303.298.0600 ----- Reply message ----- From: "C de-Avillez" <[email protected]> To: "Eric Milam" <[email protected]> Subject: [Bug 817101] Re: ettercap produces Error 11 and runs out of resources Date: Sun, Dec 4, 2011 11:45 am Resetting to Triaged/Medium. There is no visible fix in the bug's text, and no explanation for the move to fix released. ** Changed in: ettercap (Ubuntu) Importance: Undecided => Medium ** Changed in: ettercap (Ubuntu) Status: Fix Released => Triaged -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/817101 Title: ettercap produces Error 11 and runs out of resources Status in “ettercap” package in Ubuntu: Triaged Bug description: OS: Ubuntu 10.04 2GB RAM 2 Processors (Is patched with the latest updated from the repos) Issue: I was poisoning 22 victims, ettercap lasted roughly 10 minutes before it closed with the following message: ERROR : 11, Resource temporarily unavailable [ec_threads.c:ec_thread_new:203] not enough resources to create a new thread in this process I found this in my research, apparently its from the Ettercap forums/bug list from 2004: "It's a known issue because pthread_exit seems to not free correctly threads' memory. We are investigating this problem." My etter.conf has the ec_uid & gid set to 0 and the proper iptables redirs uncommented. I have experienced this issue with ettercap installs from both the Ubuntu repos & compiling from source. ulimit is set to unlimited: root@blank:~# ulimit -Ha core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited scheduling priority (-e) 20 file size (blocks, -f) unlimited pending signals (-i) 16382 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) unlimited cpu time (seconds, -t) unlimited max user processes (-u) unlimited virtual memory (kbytes, -v) unlimited file locks (-x) unlimited As a workaround I set my max threads to 123,456,789 up from 39K. It still ran out of resources after about 15 minutes. I am not a developer, but in reading up on pthreads, it looks like you have to specify "joinable" if you use pthread_join and the code does not appear to do this. However, I know nothing about pthreads and am still learning the basics of C. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/817101/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/817101 Title: ettercap produces Error 11 and runs out of resources To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/817101/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
