Thread: [aKregator-devel] Akregator problem
Brought to you by:
lippel
From: Modesto A. <al...@ma...> - 2006-02-05 22:24:08
|
Hello, I've an serious problem with akregator 1.2.1 when i launch my akregator, i have this message : $ akregator: WARNING: KTempFile: Error trying to create /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers ouverts akregator: WARNING: KTempFile: Error trying to create /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers ouverts akregator: WARNING: KTempFile: Error trying to create /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers ouverts akregator: WARNING: KTempFile: Error trying to create /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers ouverts akregator: WARNING: KTempFile: Error trying to create /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers ouverts akregator: WARNING: KTempFile: Error trying to create /home/alex/.kde/share/config/akregatorrcXXXXXX.new: Trop de fichiers ouverts I've lot of feeds and archives. It's and hard limit of feeds ? into akregator ? Thanks for your reply Alex. |
From: Frank O. <fra...@gm...> - 2006-02-06 07:20:36
|
On Sunday 05 February 2006 23:24, Modesto Alexandre wrote: > Hello, > > I've an serious problem with akregator 1.2.1 > > when i launch my akregator, i have this message : > > $ akregator: WARNING: KTempFile: Error trying to create > /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers > ouverts akregator: WARNING: KTempFile: Error trying to create > /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers > ouverts akregator: WARNING: KTempFile: Error trying to create > /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers > ouverts akregator: WARNING: KTempFile: Error trying to create > /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers > ouverts akregator: WARNING: KTempFile: Error trying to create > /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers > ouverts akregator: WARNING: KTempFile: Error trying to create > /home/alex/.kde/share/config/akregatorrcXXXXXX.new: Trop de fichiers > ouverts > > I've lot of feeds and archives. > > It's and hard limit of feeds ? into akregator ? This is about the configuration, which has nothing to do with the feed=20 list/article archive. Could you move all /home/alex/.kde/share/config/akregator* files somewhere= =20 else and try again? =46rank |
From: Frank O. <fra...@gm...> - 2006-02-06 07:24:16
|
On Sunday 05 February 2006 23:24, Modesto Alexandre wrote: > Hello, > > I've an serious problem with akregator 1.2.1 > > when i launch my akregator, i have this message : > > $ akregator: WARNING: KTempFile: Error trying to create > /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers > ouverts akregator: WARNING: KTempFile: Error trying to create > /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers > ouverts akregator: WARNING: KTempFile: Error trying to create > /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers > ouverts akregator: WARNING: KTempFile: Error trying to create > /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers > ouverts akregator: WARNING: KTempFile: Error trying to create > /home/alex/.kde/share/config/akregatorrc.lockXXXXXX.tmp: Trop de fichiers > ouverts akregator: WARNING: KTempFile: Error trying to create > /home/alex/.kde/share/config/akregatorrcXXXXXX.new: Trop de fichiers > ouverts Ah, and what means "Trop de fichiers ouverts"? Do you have any problems running akregator because of this message? Frank |
From: Modesto A. <al...@ma...> - 2006-02-06 12:05:46
|
> > It's and hard limit of feeds ? into akregator ? > > This is about the configuration, which has nothing to do with the feed > list/article archive. > Could you move all /home/alex/.kde/share/config/akregator* files somewhere > else and try again? I try it,=20 Same problem toom many files open akregator: WARNING: KTempFile: Error trying to create /tmp/ksocket-alex/akr= egatorXXXXXX.slave-socket: Trop de fichiers ouverts akregator: ERROR: : couldn't create slave : Impossible de cr=E9er le module= d'entr=E9es/sorties=A0: Trop de fichiers ouverts akregator: WARNING: KTempFile: Error trying to create /tmp/ksocket-alex/akr= egatorXXXXXX.slave-socket: Trop de fichiers ouverts akregator: ERROR: : couldn't create slave : Impossible de cr=E9er le module= d'entr=E9es/sorties=A0: Trop de fichiers ouverts akregator: WARNING: KTempFile: Error trying to create /tmp/ksocket-alex/akr= egatorXXXXXX.slave-socket: Trop de fichiers ouverts akregator: ERROR: : couldn't create slave : Impossible de cr=E9er le module= d'entr=E9es/sorties=A0: Trop de fichiers ouverts Alex. > > Frank |
From: Frank O. <fra...@gm...> - 2006-02-06 13:27:15
|
On Monday 06 February 2006 13:05, Modesto Alexandre wrote: > > > It's and hard limit of feeds ? into akregator ? > > > > This is about the configuration, which has nothing to do with the feed > > list/article archive. > > Could you move all /home/alex/.kde/share/config/akregator* files > > somewhere else and try again? > > I try it, > > Same problem > > toom many files open How many feeds do have in your list? The metakit backend creates 3 files pe= r=20 feed, which could cause problems... =46rank |
From: Modesto A. <al...@ma...> - 2006-02-06 21:56:11
|
Le Lundi 06 F=E9vrier 2006 14:30, Frank Osterfeld a =E9crit=A0: > On Monday 06 February 2006 13:05, Modesto Alexandre wrote: > > > > It's and hard limit of feeds ? into akregator ? > > > > > > This is about the configuration, which has nothing to do with the feed > > > list/article archive. > > > Could you move all /home/alex/.kde/share/config/akregator* files > > > somewhere else and try again? > > > > I try it, > > > > Same problem > > > > toom many files open > > How many feeds do have in your list? The metakit backend creates 3 files > per feed, which could cause problems... ~ 500 RSS Feeds Alex. > Frank |
From: Modesto A. <al...@ma...> - 2006-02-07 20:58:34
|
I solve my : Too many files open by : Before :=20 $ ulimit -n 1024 Modify into : /etc/security/limits.conf New limits for my user : alex soft nofile 45000 alex hard nofile 50000 After : $ ulimit -n 45000 My settings is an example Akregator could cause problem to an user if you have 400 + RSS Feeds.. Under Debian Unstable (others ?) file opens by user is limited.. to 1024. It's and metakit usage problem ? Alex. |
From: Modesto A. <al...@ma...> - 2006-02-07 19:54:32
|
Le Lundi 6 F=E9vrier 2006 22:56, Modesto Alexandre a =E9crit=A0: No archiving.. Causes problem.. for reading :) One suggestion : kernel : 2.6.14 $ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited pending signals (-i) unlimited max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) unlimited stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) unlimited virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Max number open file for users is open 1024, it's my problem ? Help ! > Le Lundi 06 F=E9vrier 2006 14:30, Frank Osterfeld a =E9crit=A0: > > On Monday 06 February 2006 13:05, Modesto Alexandre wrote: > > > > > It's and hard limit of feeds ? into akregator ? > > > > > > > > This is about the configuration, which has nothing to do with the > > > > feed list/article archive. > > > > Could you move all /home/alex/.kde/share/config/akregator* files > > > > somewhere else and try again? > > > > > > I try it, > > > > > > Same problem > > > > > > toom many files open > > > > How many feeds do have in your list? The metakit backend creates 3 files > > per feed, which could cause problems... > > ~ 500 RSS Feeds > > Alex. > > > Frank > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=103432&bid#0486&dat=121642 > _______________________________________________ > aKregator-devel mailing list > aKr...@li... > https://lists.sourceforge.net/lists/listinfo/akregator-devel |
From: Frank O. <fra...@gm...> - 2006-02-08 10:04:54
|
On Tuesday 07 February 2006 20:17, Modesto Alexandre wrote: > Le Lundi 6 F=E9vrier 2006 22:56, Modesto Alexandre a =E9crit=A0: > > No archiving.. Causes problem.. for reading :) > > One suggestion : > > kernel : 2.6.14 > $ ulimit -a > core file size (blocks, -c) 0 > data seg size (kbytes, -d) unlimited > file size (blocks, -f) unlimited > pending signals (-i) unlimited > max locked memory (kbytes, -l) unlimited > max memory size (kbytes, -m) unlimited > open files (-n) 1024 > pipe size (512 bytes, -p) 8 > POSIX message queues (bytes, -q) unlimited > stack size (kbytes, -s) 8192 > cpu time (seconds, -t) unlimited > max user processes (-u) unlimited > virtual memory (kbytes, -v) unlimited > file locks (-x) unlimited > > Max number open file for users is open 1024, it's my problem ? Yes, that's the problem... 1024/3 =3D 341 feeds (minus config files) is max= imum=20 with metakit right now. We could reduce it easily to 1024/2 =3D 512 for the= =20 3.5.2 release. But that's the maximum for the metakit backend in the 3.5.x= =20 cycle. Changing the backend so it uses only one big file would cause too mu= ch=20 problems with archive migration I'm afraid.=20 Alternative: A second backend plugin could be written, either metakit with = one=20 file, or SQLite etc.=20 Power users with many feeds could switch to that backend then. Data migrati= on=20 from one backend to another is also a problem; there is some code, but no G= UI=20 for it and it's not really tested either. Changing the max. number of opened files is a workaround, but we need a bet= ter=20 solution mid/long-term. Any volunteers? =46rank |
From: Modesto A. <al...@ma...> - 2006-02-10 21:07:51
|
Le Mercredi 8 F=E9vrier 2006 11:08, Frank Osterfeld a =E9crit=A0: Hello, Mysql Backend is complex ?=20 How i can help ?=20 Alex. > On Tuesday 07 February 2006 20:17, Modesto Alexandre wrote: > > Le Lundi 6 F=E9vrier 2006 22:56, Modesto Alexandre a =E9crit=A0: > > > > No archiving.. Causes problem.. for reading :) > > > > One suggestion : > > > > kernel : 2.6.14 > > $ ulimit -a > > core file size (blocks, -c) 0 > > data seg size (kbytes, -d) unlimited > > file size (blocks, -f) unlimited > > pending signals (-i) unlimited > > max locked memory (kbytes, -l) unlimited > > max memory size (kbytes, -m) unlimited > > open files (-n) 1024 > > pipe size (512 bytes, -p) 8 > > POSIX message queues (bytes, -q) unlimited > > stack size (kbytes, -s) 8192 > > cpu time (seconds, -t) unlimited > > max user processes (-u) unlimited > > virtual memory (kbytes, -v) unlimited > > file locks (-x) unlimited > > > > Max number open file for users is open 1024, it's my problem ? > > Yes, that's the problem... 1024/3 =3D 341 feeds (minus config files) is > maximum with metakit right now. We could reduce it easily to 1024/2 =3D 5= 12 > for the 3.5.2 release. But that's the maximum for the metakit backend in > the 3.5.x cycle. Changing the backend so it uses only one big file would > cause too much problems with archive migration I'm afraid. > Alternative: A second backend plugin could be written, either metakit with > one file, or SQLite etc. > Power users with many feeds could switch to that backend then. Data > migration from one backend to another is also a problem; there is some > code, but no GUI for it and it's not really tested either. > > Changing the max. number of opened files is a workaround, but we need a > better solution mid/long-term. Any volunteers? > > Frank |
From: Frank O. <fra...@gm...> - 2006-02-10 23:27:26
|
On Friday 10 February 2006 22:07, you wrote: > Mysql Backend is complex ? > > How i can help ? You can develop it ;-) Shouldn't be too hard. Just a little bit of C/C++ and (My)SQL knowledge is= =20 needed. The interfaces to implement are in $KDEDIR/include/akregator, storage.h,=20 plugin.h and feedstorage.h in particular. The easiest way to start is to co= py=20 the metakit plugin sources, remove the metakit stuff and insert mysql calls. =46rank |
From: Modesto A. <al...@ma...> - 2006-02-19 14:14:12
|
Hello, There is an solution for my archive backend ? Compiling kde-pim with akregator is too complex for me ! If you want, i can test experimental debian package.. Alex. |
From: Frank O. <fra...@gm...> - 2006-02-19 19:28:30
|
On Sunday 19 February 2006 15:14, Modesto Alexandre wrote: > Hello, > > There is an solution for my archive backend ? > Compiling kde-pim with akregator is too complex for me ! > > If you want, i can test experimental debian package.. No, there is none currently. The attached archive is just a "stub" not doin= g=20 anything. I just created it to make implementing another backend easier for= =20 someone willing to do it. But until then, there is only the default metakit= =20 archive. =46rank |
From: Frank O. <fra...@gm...> - 2006-02-12 22:00:17
Attachments:
enable-sqlite-compilation.diff
sqlitestorage-stub.tar.bz2
|
Hi list, For all those pontentially interested in developing a storage plugin for Akregator, I created a plugin stub which can be filled more easily with the backend-specific code than copying and modifying the mk4 plugin on your own. I named it "SQLite", but changing it to something else like MySQL (or even better Qt SQL interface) is easy. Besides renaming the files, using some sed magic like s/SQLite/MySQL/g, s/SQLITE/MYSQL/g, s/sqlite/mysql/g should do the rest. The steps: 1) install KDE-PIM from 3.5.x sources or SVN, 3.5 branch 2) apply the patch in ..../kdepim/akregator/src 3) untar sqlitestorage-stub.tar.bz2 in kdepim/akregator/src 4) rerun make -f Makefile.cvs (SVN only) and configure 5) compile and install sqlitestorage plugin 6) run kbuildsycoca, start akregator. "SQLite" should show up in Configure Akregator->Advanced now (you need a restart to get it used) 7) implement the backend, compile, install, test ;-) 8) send plugin to the list 9) Receive honour and respect from your fellow developers If you need a configuration dialog: It is possible, but I removed it from the stub for now. The mk4 plugin has one, disabled though. If you are interested let me know; I can help if there are problems with understanding how the interfaces should be implemented, the documentation is, uhm, somewhat lacking... Regards, Frank |
From: Modesto A. <al...@ma...> - 2006-02-14 20:12:05
|
Le Dimanche 12 F=E9vrier 2006 23:03, Frank Osterfeld a =E9crit=A0: > Hi list, Hello, If people make an debian package (unstable).. i want to be an tester ! thanks Alex. > > For all those pontentially interested in developing a storage plugin for > Akregator, I created a plugin stub which can be filled more easily with t= he > backend-specific code than copying and modifying the mk4 plugin on your > own. > > I named it "SQLite", but changing it to something else like MySQL (or even > better Qt SQL interface) is easy. > > Besides renaming the files, using some sed magic like s/SQLite/MySQL/g, > s/SQLITE/MYSQL/g, s/sqlite/mysql/g should do the rest. > > The steps: > > 1) install KDE-PIM from 3.5.x sources or SVN, 3.5 branch > 2) apply the patch in ..../kdepim/akregator/src > 3) untar sqlitestorage-stub.tar.bz2 in kdepim/akregator/src > 4) rerun make -f Makefile.cvs (SVN only) and configure > 5) compile and install sqlitestorage plugin > 6) run kbuildsycoca, start akregator. "SQLite" should show up in Configure > Akregator->Advanced now (you need a restart to get it used) > 7) implement the backend, compile, install, test ;-) > 8) send plugin to the list > 9) Receive honour and respect from your fellow developers > > If you need a configuration dialog: It is possible, but I removed it from > the stub for now. The mk4 plugin has one, disabled though. > > If you are interested let me know; I can help if there are problems with > understanding how the interfaces should be implemented, the documentation > is, uhm, somewhat lacking... > > Regards, > > Frank |
From: Frank O. <fra...@gm...> - 2006-02-14 21:51:11
|
On Tuesday 14 February 2006 21:11, Modesto Alexandre wrote: > Le Dimanche 12 F=C3=A9vrier 2006 23:03, Frank Osterfeld a =C3=A9crit=C2= =A0: > > Hi list, > > Hello, > > If people make an debian package (unstable).. i want to be an tester ! =46irst we someone who actually implements it ;-) =46rank |