akregator fails to open network connections when there are more than 1024 feeds
Bug #205888 reported by
Benjamin Kudria
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE PIM |
Incomplete
|
Medium
|
|||
kdepim (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Binary package hint: akregator
When more than 1024 feeds are loaded into akregator, it fails to fetch updated items over the network. First, I received the error: "Error listening on socket: -1". strace output showed that that the socket call was failing because of "too many open files". Increasing the ulimit -n amount (number of open files) reveals this error: "QSocketNotifier: Socket descriptor too large for select()".
Changed in kdepim: | |
status: | Unknown → New |
Changed in kdepim: | |
importance: | Unknown → Medium |
Changed in kdepim: | |
status: | New → Incomplete |
To post a comment you must log in.
Version: 1.2.1 (using KDE 3.5.1, Gentoo) 5.20050130- 1, pie-8.7.7.1)
Compiler: gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.
OS: Linux (i686) release 2.6.14-gentoo-r5
Akregator 1.2.1 in KDE 3.5.1. I recently added hundreds of feeds to akregator. Now, I get a lot of this when akregator tries to fetch feeds:
======= ======= ======= ======= ======= ======= ==== ======= ======= ======= ======= =======
QSocketNotifier: Internal error
QSocketNotifier: Socket descriptor too large for select()
QSocketNotifier: Internal error
QSocketNotifier: Socket descriptor too large for select()
QSocketNotifier: Internal error
QSocketNotifier: Socket descriptor too large for select()
QSocketNotifier: Internal error
.........
=======
And the red error icon replaces all my feed icons. Whenever I try to access any article from a feed I already have, I get this:
======= ======= ======= ======= ======= ======= html.nbc4. com protocol died unexpectedly. ======= ======= ======= ======= =======
kio (KRun): ERROR: 0x848ecd8 ERROR 43 The process for the http://
=======
For any feed on any host. I even tried changing some default "ulimit" settings to this, thinking it might help:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======
ore file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 4095
max locked memory (kbytes, -l) 1048576
max memory size (kbytes, -m) unlimited
open files (-n) 32768
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 16384
cpu time (seconds, -t) unlimited
max user processes (-u) 8190
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
=======
And it didn't. Restarting doesn't change anything. I tried with and without using browser cache. Akregator is now useless. Deleting a lot of feeds will allow akregator to function properly again.