Page 1 of 1

pwidgets: huge /tmp/xerrs.log

Posted: Sun 12 Sep 2010, 05:44
by vinayv
Hi,
I'm using Lucid Puppy 5.1.0 (full installation). The Pwidgets look great. So, I installed them and added a few widgets to my desktop. After a day or two, I saw huge decrease in the free space. The free space dropped by about 1.5GB. When I used gdmap to find out what took so much space, I saw that the /tmp/xerrs.log is 1.5GB in size. Most of it's entries were:

Code: Select all

# tail /tmp/xerrs.log
Conky: can't select(): Invalid argument
Conky: can't select(): Invalid argument
Conky: can't select(): Invalid argument
Conky: can't select(): Invalid argument
Conky: can't select(): Invalid argument
Conky: can't select(): Invalid argument
Conky: can't select(): Invalid argument
Conky: can't select(): Invalid argument
Conky: can't select(): Invalid argument
Conky: can't select(): Invalid argument
I know pwidgets uses conky to render the desktop widgets. But they seem to be causing huge log files. I deleted the log file and everything was fine for a day. After that, I had a bigger 2.5GB log file the next day!

Has anyone else seen this behaviour? Is there anyway to turn off logging for pwidgets/conky? Also, how can I stop pwidgets/conky from autoloading everytime I boot?

Posted: Sun 12 Sep 2010, 05:55
by puppyluvr
:D Hello,
Delete /root/Startup/0showwidgets...
Or something like that, (as I dont have pwidgets installed ATM), but look in /root/Startup for a file with a similar name and remove it...

Posted: Sun 12 Sep 2010, 06:13
by vinayv
Thanks puppyluvr.. The file was /root/Startup/0_show_widgets
I deleted this file and pwidgets won't autoload anymore..

But it would be nice if I can load pwdigets AND somehow not have such a big log.. Is there a way to disable conky from writing to xerrs.log? Or it would be even better if there was a way to restrict the size of xerrs.log file itself

Posted: Sun 12 Sep 2010, 06:29
by aarf
I am sure zigbert in the pwidgets thread would like to know about this issue.

Posted: Sun 12 Sep 2010, 08:18
by vinayv
I have reported the same to zigbert in the pwidgets thread..

I also saw that there was a newer version 2.3.0 (I was using 2.2.7). So, I upgraded the pwidgets. Let me run this for a day and see if this still causes huge log files

Posted: Sun 12 Sep 2010, 08:41
by Sylvander
My Boxpup-413 /tmp/xerrs.log file is 44.3 kB in size.
Includes quite a long list of:
Error opening mixer device :(

...Preceded by mainly Conky errors.
Which are preceded by various others.

Pwidgets = ver 2.0.8

Posted: Sun 12 Sep 2010, 12:43
by puppyluvr
:D Hello,
Maybe a quick solution is to put a script in /root/Startup:

#!/bin/sh
rm /tmp/xerrs.log &

That will delete it on startup ...
At least till we get to the root of the problem..