For completenes I though I should post this: My xmltv script was set to run from cron, i though i was running it once daily, but i was running it 60 times during that one hour. Anyway, now the script autosenses if its running already and now I don't get screenshots in my tmp dir.. I still think this was *very* wierd ;-)
Mick On Tue, 2004-05-11 at 19:59, Mick wrote: > I've been trying to trace this back for a couple of weeks now. Sorry for > the vague report but I'mhoping someone can guide me into giving a better > report.. > > Around every week or so i wouldcomehometo find freevo crashed. The times > seemed to relate to a scheduled recording. What I have found is that my > /tmp directory is full of freevo screenshots.. > > Some demo filenames: > freevo_ss695.bmp freevo_ss759.bmp freevo_ss823.bmp > freevo_ss887.bmp freevo_ss951.bmp > freevo_ss696.bmp freevo_ss760.bmp freevo_ss824.bmp > freevo_ss888.bmp freevo_ss952.bmp > freevo_ss697.bmp freevo_ss761.bmp freevo_ss825.bmp > freevo_ss889.bmp freevo_ss953.bmp > freevo_ss698.bmp freevo_ss762.bmp freevo_ss826.bmp > freevo_ss890.bmp freevo_ss954.bmp > freevo_ss699.bmp freevo_ss763.bmp freevo_ss827.bmp > freevo_ss891.bmp freevo_ss955.bmp > freevo_ss700.bmp freevo_ss764.bmp freevo_ss828.bmp > freevo_ss892.bmp > > Traceback: > File "/usr/lib/python2.3/site-packages/freevo/main.py", line 398, in ? > event = rc_object.poll() > File "/usr/lib/python2.3/site-packages/freevo/util/misc.py", line 527, in > __call__ > return self.__method(self.__obj, *args, **kwargs) > File "/usr/lib/python2.3/site-packages/freevo/rc.py", line 344, in poll > e = i.poll(self) > File "/usr/lib/python2.3/site-packages/freevo/rc.py", line 235, in poll > return self.callback(rc.context != 'input') > File "/usr/lib/python2.3/site-packages/freevo/util/misc.py", line 527, in > __call__ > return self.__method(self.__obj, *args, **kwargs) > File "/usr/lib/python2.3/site-packages/freevo/osd.py", line 524, in _cb > '/tmp/freevo_ss%s.bmp' % self._screenshotnum) > error: Error writing to datastream > > I can make a guess as to why freevo is crashing, its because the partiion is > full: > df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/hda3 6894324 6894324 0 100% / > > What I can't help with is what is causing this too happen. > > Last time it cashed these are the process that were left when I got to it: > freevo tmp # ps -aux > Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND > root 1 0.0 0.1 1460 448 ? S May05 0:03 init [3] > root 2 0.0 0.0 0 0 ? SW May05 1:00 [keventd] > root 3 0.0 0.0 0 0 ? SWN May05 0:00 > [ksoftirqd_CPU0] > root 4 0.0 0.0 0 0 ? SW May05 0:39 [kswapd] > root 5 0.0 0.0 0 0 ? SW May05 0:01 [bdflush] > root 6 0.0 0.0 0 0 ? SW May05 0:00 [kupdated] > root 155 0.0 0.3 1820 820 ? S May05 0:12 /sbin/devfsd > /dev > root 409 0.0 0.0 0 0 ? SW May05 0:00 [kreiserfsd] > root 414 0.0 0.0 0 0 ? SW May05 0:00 [kjournald] > root 415 0.0 0.0 0 0 ? SW May05 0:00 [kjournald] > root 424 0.0 0.0 0 0 ? SW May05 0:00 [khubd] > root 979 0.0 0.2 1808 636 ? S May05 0:08 > /usr/sbin/syslog-ng > root 1884 0.0 0.1 1512 484 ? S May05 0:02 > /usr/sbin/lircd > ntp 1992 0.0 1.4 3660 3660 ? SL May05 0:00 > /usr/bin/ntpd -p /var/run/ntpd.pid -u ntp:ntp > root 2025 0.0 0.2 5476 668 ? S May05 0:00 > /usr/sbin/smbd > root 2027 0.0 0.3 3672 992 ? S May05 0:00 > /usr/sbin/nmbd > root 2060 0.0 0.2 3256 560 ? S May05 0:01 > /usr/sbin/sshd > root 2085 0.0 0.1 1648 436 ? S May05 0:01 > /usr/sbin/cron > root 2152 0.0 0.1 1500 404 vc/2 S May05 0:00 /sbin/agetty > 38400 tty2 linux > root 2153 0.0 0.1 1500 404 vc/3 S May05 0:00 /sbin/agetty > 38400 tty3 linux > root 2154 0.0 0.1 1500 404 vc/4 S May05 0:00 /sbin/agetty > 38400 tty4 linux > root 2155 0.0 0.1 1500 404 vc/5 S May05 0:00 /sbin/agetty > 38400 tty5 linux > root 2156 0.0 0.1 1500 404 vc/6 S May05 0:00 /sbin/agetty > 38400 tty6 linux > root 9316 0.0 0.1 1500 404 vc/1 S May06 0:00 /sbin/agetty > 38400 tty1 linux > root 25648 0.0 0.3 5972 816 ? S May07 0:00 sshd: > [EMAIL PROTECTED]/1 > root 25652 0.0 0.3 2272 976 pts/1 S May07 0:00 -bash > root 8596 0.0 0.0 0 0 ? SW May07 0:03 > [usb-storage-0] > root 8597 0.0 0.0 0 0 ? SW May07 0:00 [scsi_eh_0] > root 28714 0.5 8.3 31540 21420 ? S May08 26:48 python -OO > /usr/lib/python2.3/site-packages/freevo/helpers/recordserv > root 28832 0.0 8.3 31540 21420 ? S May08 0:00 python -OO > /usr/lib/python2.3/site-packages/freevo/helpers/recordserv > root 12292 0.0 0.2 2368 532 ? S May09 0:00 SCREEN > root 12293 0.0 0.3 2276 788 pts/3 S May09 0:00 -/bin/bash > root 18913 0.0 0.0 0 0 ? Z 17:28 0:00 > [tv_record.sh] <defunct> > root 21393 0.1 0.5 5972 1428 ? S 18:29 0:00 sshd: > [EMAIL PROTECTED]/0 > root 21395 0.0 0.5 2404 1380 pts/0 S 18:29 0:00 -bash > root 21452 0.0 0.3 2440 804 pts/0 R 18:30 0:00 ps -aux. > > tv_record.sh is the script for altering the audio indputs and setting off > mencoder.. > > A few days ago i set a script to cound the number of screenshots in /tmp to > try to track down a time that this occurs: > (today..) > 05/11/04 17:13:00, there are now 0 screenshots in /tmp > 05/11/04 17:14:00, there are now 0 screenshots in /tmp > 05/11/04 17:15:00, there are now 631 screenshots in /tmp > Crash! > Traceback (most recent call last): > File "/usr/lib/python2.3/site-packages/freevo/main.py", line 398, in ? > event = rc_object.poll() > File "/usr/lib/python2.3/site-packages/freevo/util/misc.py", line 527, in > __call__ > return self.__method(self.__obj, *args, **kwargs) > File "/usr/lib/python2.3/site-packages/freevo/rc.py", line 344, in poll > e = i.poll(self) > File "/usr/lib/python2.3/site-packages/freevo/rc.py", line 235, in poll > return self.callback(rc.context != 'input') > File "/usr/lib/python2.3/site-packages/freevo/util/misc.py", line 527, in > __call__ > return self.__method(self.__obj, *args, **kwargs) > File "/usr/lib/python2.3/site-packages/freevo/osd.py", line 524, in _cb > '/tmp/freevo_ss%s.bmp' % self._screenshotnum) > error: Error writing to datastream > Stopping webserver plugin. > 05/11/04 17:16:00, there are now 1173 screenshots in /tmp > Stopping webserver plugin. > 05/11/04 17:17:01, there are now 1173 screenshots in /tmp > > As you can see it takes 2 minutes for the process to fill the partition and > then crash.. > > The last recording before 17:15 was at 9:00 AM: > > 2004/05/11 08:58 WST [*RecordServer*] RECORDSERVER GOT EVENT NOTICE > 2004/05/11 08:58 WST [*RecordServer*] RECORDSERVER HANDLING EVENT > 2004/05/11 08:58 WST [*RecordServer*] popen > /home/freevo/scripts/tv_record.sh 7 1985 > "/tv_recordings/05-11_09:00_Playhouse_Disney_-_Weddings_Frogs_and_Mice" > 2004/05/11 09:01 WST [HTTPChannel,94,127.0.0.1] 127.0.0.1 - - > [11/May/2004:01:01:01 +0000] "POST / HTTP/1.0" 200 31648 "-" > "xmlrpclib.py/1.0.1 (by www.pythonware.com)" > 2004/05/11 09:11 WST [HTTPChannel,95,127.0.0.1] 127.0.0.1 - - > [11/May/2004:01:11:04 +0000] "POST / HTTP/1.0" 200 31648 "-" > "xmlrpclib.py/1.0.1 (by www.pythonware.com)" > 127.0.0.1 - - [11/May/2004:01:21:07 +0000] "POST / HTTP/1.0" 200 31648 "-" > "xmlrpclib.py/1.0.1 (by www.pythonware.com)" > 2004/05/11 09:31 WST [HTTPChannel,97,127.0.0.1] 127.0.0.1 - - > [11/May/2004:01:31:10 +0000] "POST / HTTP/1.0" 200 31648 "-" > "xmlrpclib.py/1.0.1 (by www.pythonware.com)" > 2004/05/11 09:31 WST [*RecordServer*] RECORDSERVER GOT EVENT NOTICE > 2004/05/11 09:31 WST [*RecordServer*] RECORDSERVER GOT EVENT NOTICE > 2004/05/11 09:31 WST [*RecordServer*] RECORDSERVER HANDLING EVENT > 2004/05/11 09:31 WST [*RecordServer*] killing pid 19168 with sig 15 > 2004/05/11 09:31 WST [*RecordServer*] recorderver: After wait() > 2004/05/11 09:31 WST [*RecordServer*] RECORDSERVER HANDLING EVENT > 2004/05/11 09:31 WST [*RecordServer*] waiting on pid 19168 > > It looks to have completed fine. > > I know for sure it was not a user initiated action as no-one was in the > house at the time.. > > As you probably have gathered, the screenshots are of the main menu screen.. > > Can anybody help? > > Mick > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Freevo-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-devel ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel