aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Crash on Mac (too many open files)  (Read 5114 times)

baccos

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Crash on Mac (too many open files)
« on: November 30, 2009, 09:16:52 PM »

Hello having serious problems with version 2.2.6 of aMule, which follows. Can tell me how I can solve them. Thanks . :)

Nome modello:     iMac  OSX  10. 5. 8
   Nome processore:   Intel Core 2 Duo
  Velocità processore:   2.66 GHz


2009-11-30 18:31:09: Starting aMule 2.2.6 using wxMac v2.8.10
2009-11-30 18:31:09: Il file dei crediti è stato caricato, 17916 client conosciuti
2009-11-30 18:31:09: Carico i filtri IP da 'ipfilter.dat' e 'ipfilter_static.dat'.
2009-11-30 18:31:09: Caricati 0 intervalli di IP da '/Users/iMac24/Library/Application Support/aMule/ipfilter.dat'. 0 righe non valide sono state scartate.
2009-11-30 18:31:09: Caricati 0 intervalli di IP da '/Users/iMac24/Library/Application Support/aMule/ipfilter_static.dat'. 0 righe non valide sono state scartate.
2009-11-30 18:31:09: Connessioni esterne disabilitate nel file di configurazione
2009-11-30 18:31:09: Created Server UDP-Socket at port 4665
2009-11-30 18:31:09: Created Client UDP-Socket at port 4672

2009-11-30 18:31:09:  - Questo è aMule 2.2.6 using wxMac v2.8.10 basato su eMule.
2009-11-30 18:31:09:    In esecuzione su Mac OS X (Darwin 9.8.0 i386)
2009-11-30 18:31:09:  - Visita http://www.amule.org per sapere se è disponibile una nuova versione.

2009-11-30 18:31:09: Caricati 248 flag bitmap.
2009-11-30 18:31:09: Caricamento file server.met: /Users/iMac24/Library/Application Support/aMule/server.met
2009-11-30 18:31:10: Trovati 40 server nel file server.met
2009-11-30 18:31:10: Trovati 59 file parziali
2009-11-30 18:31:10: Trovati 52 file condivisi conosciuti, 1 sconosciuti
2009-11-30 18:31:10: Connessione in corso
2009-11-30 18:31:10: Connessione a www.UseNeXT.to (87.230.83.44 - 87.230.83.44:443) utilizzo offuscamento del protocollo.
2009-11-30 18:31:10: Letti 176 contatti Kad
2009-11-30 18:31:10: Hasher: Creo gli hash MD4 e AICH del file Some File 1.avi
2009-11-30 18:31:10: Connesso a www.UseNeXT.to (87.230.83.44:4661)
2009-11-30 18:31:11: ThreadScheduler: Completed task 'Hashing - Some File 1.avi', 0 tasks remaining.
2009-11-30 18:31:11: ThreadScheduler: Completed task 'AICH Syncronizing', 0 tasks remaining.
2009-11-30 18:31:11: La tua copia di aMule è aggiornata.
2009-11-30 18:31:12: Connessione stabilita con: www.UseNeXT.to
2009-11-30 18:31:12: Il nuovo clientID è 819274575
2009-11-30 18:38:41: Nuovo messaggio da 'http://emule-project.net «AngelMule 1.0»' (IP:195.32.91.252)
2009-11-30 18:46:49: Hasher: Creo gli hash MD4 e AICH del file 054.part
2009-11-30 18:46:56: ThreadScheduler: Completed task 'Hashing - /Users/iMac24/Library/Application Support/aMule/Temp/054.part', 0 tasks remaining.
2009-11-30 18:46:56: ThreadScheduler: Completed task 'AICH Syncronizing', 0 tasks remaining.
2009-11-30 18:46:56: Sospensione invio del file in corso: E52A82A9003902AB1E1AA4A89EE7C6AB
2009-11-30 18:46:56: ThreadScheduler: Completed task 'Completing - /Users/iMac24/Library/Application Support/aMule/Temp/054.part.met', 0 tasks remaining.
2009-11-30 18:46:56: Ripristino invio del file: E52A82A9003902AB1E1AA4A89EE7C6AB
2009-11-30 18:46:56: Download completato: Some File 2.mp3

ERROR BEGIN


2009-11-30 18:52:15: Error: can't create file '/Users/iMac24/Library/Application Support/aMule/Temp/051.part.met.backup' (error 24: Too many open files)
2009-11-30 18:52:15: Error: can't create file '/Users/iMac24/Library/Application Support/aMule/Temp/022.part.met.backup' (error 24: Too many open files)
2009-11-30 18:52:15: Error: can't create file '/Users/iMac24/Library/Application Support/aMule/Temp/022.part.met.bak' (error 24: Too many open files)
2009-11-30 18:52:17: Hasher: Creo gli hash MD4 e AICH del file 050.part
2009-11-30 18:52:18: Credits: Error while creating signature: OS_Rng: open /dev/urandom operation failed with error 24
2009-11-30 18:52:18: Credits: Error while creating signature: OS_Rng: open /dev/urandom operation failed with error 24
2009-11-30 18:52:19: ThreadScheduler: Completed task 'Hashing - /Users/iMac24/Library/Application Support/aMule/Temp/050.part', 0 tasks remaining.
2009-11-30 18:52:19: ThreadScheduler: Completed task 'AICH Syncronizing', 0 tasks remaining.
2009-11-30 18:52:19: Sospensione invio del file in corso: 3EB16F69CDD2199FF41CCE0F067D3957
2009-11-30 18:52:19: ThreadScheduler: Completed task 'Completing - /Users/iMac24/Library/Application Support/aMule/Temp/050.part.met', 0 tasks remaining.
2009-11-30 18:52:19: Ripristino invio del file: 3EB16F69CDD2199FF41CCE0F067D3957
2009-11-30 18:52:19: Download completato: Some File 3.rar
2009-11-30 18:52:30: Error: can't open file '/Users/iMac24/Library/Application Support/aMule/Temp/015.part.met' (error 24: Too many open files)
2009-11-30 18:52:30: CFile: Error when opening file (/Users/iMac24/Library/Application Support/aMule/Temp/015.part.met): Too many open files
2009-11-30 18:52:30: Errore durante il salvataggio del file incompleto: Failed to open part.met file (015.part.met ==> Some File 4.rar)
2009-11-30 18:52:30: Error: can't open file '/Users/iMac24/Library/Application Support/aMule/Temp/027.part.met' (error 24: Too many open files)
2009-11-30 18:52:30: CFile: Error when opening file (/Users/iMac24/Library/Application Support/aMule/Temp/027.part.met): Too many open files
2009-11-30 18:52:30: Errore durante il salvataggio del file incompleto: Failed to open part.met file (027.part.met ==> renato zero)
2009-11-30 18:52:30: Credits: Error while creating signature: OS_Rng: open /dev/urandom operation failed with error 24
2009-11-30 18:52:30: Credits: Error while creating signature: OS_Rng: open /dev/urandom operation failed with error 24
2009-11-30 18:52:30: Error: can't open file '/Users/iMac24/Library/Application Support/aMule/Temp/030.part.met' (error 24: Too many open files)
2009-11-30 18:52:30: CFile: Error when opening file (/Users/iMac24/Library/Application Support/aMule/Temp/030.part.met): Too many open files
2009-11-30 18:52:30: Errore durante il salvataggio del file incompleto: Failed to open part.met file (030.part.met ==> renato zero 2009)
2009-11-30 18:52:31: Credits: Error while creating signature: OS_Rng: open /dev/urandom operation failed with error 24
2009-11-30 18:52:31: Credits: Error while creating signature: OS_Rng: open /dev/urandom operation failed with error 24
2009-11-30 18:52:33: Credits: Error while creating signature: OS_Rng: open /dev/urandom operation failed with error 24
2009-11-30 18:52:33: Credits: Error while creating signature: OS_Rng: open /dev/urandom operation failed with error 24
2009-11-30 18:52:34: Error: Impossible to get permissions for file '/Users/iMac24/Library/Application Support/aMule/Temp/015.part.met' (error 2: No such file or directory)
2009-11-30 18:52:34: CFile: Error when opening file (/Users/iMac24/Library/Application Support/aMule/Temp/015.part.met): Too many open files
2009-11-30 18:52:34: Errore durante il salvataggio del file incompleto: Failed to open part.met file (015.part.met ==> Some File 4.rar)
2009-11-30 18:52:34: Error: can't open file '/Users/iMac24/Library/Application Support/aMule/Temp/002.part.met' (error 24: Too many open files)
2009-11-30 18:52:34: CFile: Error when opening file (/Users/iMac24/Library/Application Support/aMule/Temp/002.part.met): Too many open files
2009-11-30 18:52:34: Errore durante il salvataggio del file incompleto: Failed to open part.met file (002.part.met ==> Some File 5.rar)
2009-11-30 18:52:34: Credits: Error while creating signature: OS_Rng: open /dev/urandom operation failed with error 24
2009-11-30 18:52:34: Credits: Error while creating signature: OS_Rng: open /dev/urandom operation failed with error 24
2009-11-30 18:52:34: Credits: Error while creating signature: OS_Rng: open /dev/urandom operation failed with error 24
2009-11-30 18:52:34: Error: can't open file '/Users/iMac24/Library/Application Support/aMule/Temp/039.part.met' (error 24: Too many open files)


AND CRASH PROGRAM

Edit: Mangled file names.
« Last Edit: November 30, 2009, 11:39:31 PM by GonoszTopi »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Crash on Mac (too many open files)
« Reply #1 on: November 30, 2009, 10:31:55 PM »

How many files are you downloading ?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

baccos

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Crash on Mac (too many open files)
« Reply #2 on: December 01, 2009, 02:26:57 AM »

Many, perhaps, but also with older versions of aMule and I ve never had problems like this. I think the problem is this?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Crash on Mac (too many open files)
« Reply #3 on: December 02, 2009, 09:04:51 PM »

59 ?
Quote
Trovati 59 file parziali
That's not that much and shouldn't cause problems, except if you are running something else that eats file handles. Have you tried rebooting your machine?
Anybody knows how to set file limit on Mac?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Crash on Mac (too many open files)
« Reply #4 on: December 02, 2009, 09:41:26 PM »

ulimit should work on OS X, too.

Try "ulimit -a" to view all limits and use "sudo ulimit -n 1024" to raise the open file limit to 1024.
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Crash on Mac (too many open files)
« Reply #5 on: January 01, 2010, 11:47:10 PM »

I looked at the log and found this line interesting:
Code: [Select]
2009-11-30 18:52:18: Credits: Error while creating signature: OS_Rng: open /dev/urandom operation failed with error 24I googled about the error and found this thread with a solution:

http://ubuntuforums.org/showthread.php?t=638539

It's not about OS X, but it might give some light on the solution.

Edit: I found this also, for OS X: http://forum.amule.org/index.php?topic=17284.45

Regards.
« Last Edit: January 02, 2010, 12:11:09 AM by skolnick »
Logged