aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Errors in file descriptors  (Read 780 times)

nonnopentola

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Errors in file descriptors
« on: June 13, 2020, 03:56:41 PM »

Hi all guys! First of all, sorry for my bad English, I’m Italian! :)

 I’m running aMule-daemon on a Raspberry PI4 Mod B, with Raspbian Lite. My Incoming and Temp folder are located on a shared samba folder on my NAS. Everything works well, but after three-four minutes aMule is started, his log shows me several errors like:

Error: can’t flush file descriptor 28 (Permission Denied)

I’ve edited limits.conf; after reboot my nofile limit (soft & hard) for root and pi user is about 99999 and it shows correctly with “ulimit -a”. But the error remains. Anyone who had this problem?

Thx in advance! :)
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 167
  • Offline Offline
  • Posts: 2692
Re: Errors in file descriptors
« Reply #1 on: June 16, 2020, 09:13:54 AM »

That's because aMule tries to prevent data loss by ensuring kernel buffers are written on disk when downloading. However, using a network share (should it be nfs or samba or ...) this goal cannot be achieved (we just cannot force the remote side to write data to disk). Maybe we should check if the Temp directory is a network share and stop trying to sync it...
Logged
concordia cum veritate