Hi, let us talk over the list please, I don't like discussing stuff over the tracker.
"SourceForge.net" wrote: > The patch was written because according to a lot of threads I have read, > the python select call can raise interrupted system call exceptions > sporadically on some systems that are safe to ignore. In my system (Ubuntu > 7.10 Linux izzy 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 > GNU/Linux), the select call was raising an interrupted system call > exception so often as to make the recording server unusable. Very strange. If that happens, it could also happen during other systems calls like ioctl which will cause a lot of trouble. > As far as being unable to kill the record server, I don't see this issue > with the patch in place: > > $ ps aux | grep py > root 26061 0.0 0.3 14160 7680 ? S Nov27 0:00 python > /home/doug/freevo/dist/lib/python2.5/site-packages/freevo/helpers/daemon.py > root 27281 0.0 2.7 79976 55780 ? Sl 06:49 0:08 python > /home/doug/freevo/dist/lib/python2.5/site-packages/freevo/helpers/recordserver.py > root 27285 0.0 0.5 17380 11000 ? S 06:49 0:00 python > /home/doug/freevo/dist/lib/python2.5/site-packages/freevo/helpers/webserver.py > root 27303 0.0 0.1 4524 2876 ? S 06:49 0:00 > /usr/bin/python /home/doug/freevo/dist/bin/freevo -force-fs > root 27306 0.0 2.8 105948 57828 ? Sl 06:49 0:07 python > /home/doug/freevo/dist/lib/python2.5/site-packages/freevo/main.py > -force-fs > > $ sudo kill 27281 > > $ ps aux | grep py > root 26061 0.0 0.3 14160 7680 ? S Nov27 0:00 python > /home/doug/freevo/dist/lib/python2.5/site-packages/freevo/helpers/daemon.py > root 27285 0.0 0.5 17380 11000 ? S 06:49 0:00 python > /home/doug/freevo/dist/lib/python2.5/site-packages/freevo/helpers/webserver.py > root 27303 0.0 0.1 4524 2876 ? S 06:49 0:00 > /usr/bin/python /home/doug/freevo/dist/bin/freevo -force-fs > root 27306 0.0 2.8 105948 57828 ? Sl 06:49 0:07 python > /home/doug/freevo/dist/lib/python2.5/site-packages/freevo/main.py > -force-fs > doug 28005 0.0 0.0 2888 768 pts/0 S+ 10:46 0:00 grep py > > The record server process is gone. I did not try the recordserver, I don't use 1.7. For my 2.0 testing apps, I could not kill the process anymore. Duncan: is the code using unix signals? Is this the code running kaa.notifier as thread inside twisted? If the later is true, this could explain why I never saw this and why kill still worked. In that case we need a special fix for the threaded code. Please try to only catch that signal in nf_thread.py in run around | nf_wrapper.step(simulate = True) > Maybe on your system, you need kill -9 kill -9 won't give me a clean shutdown. Dischi -- A computer scientist is someone who, when told to 'Go to Hell', sees the 'go to', rather than the destination, as harmful.
pgppi109qcnY1.pgp
Description: PGP signature
------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel