Ticket #190 (new defect)

Opened 16 months ago

Last modified 5 weeks ago

Can't save config file, I/O error: [Errno 24] Too many open files: '/home/tony/.nicotine/config.new'

Reported by: touch@… Owned by: quinox
Priority: major Milestone:
Component: nicotine Version: SVN (checked out today)
Keywords: Crash Cc:

Description (last modified by quinox) (diff)

A man's best friend is his dogma.

tony@darkstar:~$ nicotine

Nicotine supports "psyco", an inline optimizer for python code, you can get it at trac did not like the url You do not have Python Vorbis bindings installed. Others will not be able to see the lengths and the bitrates of Ogg Vorbis files that you share. You can get the from trac did not like the url. If you're using Debian, install the python-pyvorbis package.

Nicotine supports a country code blocker but that

requires a (GPL'ed) library called GeoIP. You can find it here: C library: trac did not like the url Python bindings: trac did not like the url (the python bindings require the C library)

Note: Python Bindings for libsexy were not found. To enable spell checking, get them from trac did not like the url or your distribution's package manager. Look for sexy-python or python-sexy.

/usr/lib/python2.5/site-packages/pynicotine/gtkgui/utils.py:241: Warning: IAg_object_remove_toggle_ref: couldn't find toggle ref 0xb7bc8030(0x84b31e4)

urltag = _makeurltag(buffer, tag, url)

/usr/lib/python2.5/site-packages/pynicotine/gtkgui/utils.py:241: Warning: IAg_object_remove_toggle_ref: couldn't find toggle ref 0xb7bc8030(0x84afcfc)

urltag = _makeurltag(buffer, tag, url)

/usr/lib/python2.5/site-packages/pynicotine/gtkgui/frame.py:1236: Warning: IAg_object_remove_toggle_ref: couldn't find toggle ref 0xb7bc8030(0x84b31e4)

AppendLine?(self.LogWindow?, self.np.decode(msg.banner), self.tag_log)

Can't save config file, I/O error: [Errno 24] Too many open files: '/home/tony/.nicotine/config.new'

Killed

cat /proc/sys/fs/file-max

50734

ulimit -n

1024

Nicotine just crashes (freezes up,) about ten seconds after I put instrumental into the search field and search for it. If I don't actually search for anything the program will run fine.

I have tried loads of different ways of changing the ulimit globally to see if that was the problem but not really getting anywhere. I am using Slackware 12.

Would it be possible for Nicotine plus to check this limit, if that is the problem and adhere to it without crashing and give the user a notice to increase the ulimit if that is what is required? Could this problem in anyway be related to the IAg_object_remove_toggle_ref errors?

Attachments

Change History

Changed 16 months ago by daelstorm

  • status changed from new to assigned

The problem is that searching for a common search term, floods search results, which result in too many open sockets (which count as files).

Changed 16 months ago by touch@…

Do you think you can fix this?

Changed 8 months ago by anonymous

As a workaround (read: ugly hack) I added the following setting to /etc/security/limits.conf:

* - nofile 500000

So far it seems to work, but this might bring security issues.

Changed 3 months ago by Catalunia

Any fix known yet?

Changed 5 weeks ago by quinox

  • owner changed from daelstorm to quinox
  • status changed from assigned to new
  • description modified (diff)

Implemented a protection scheme with r723 - please test it to see if this helps

Add/Change #190 (Can't save config file, I/O error: [Errno 24] Too many open files: '/home/tony/.nicotine/config.new')

Author



Action
as new
 
Note: See TracTickets for help on using tickets.