I have a problem where mplayer hangs on some files. When I try to investigate I never am able to replicate the problem.
If I leave mplayer alone and don't kill the process then more and more processes spawn till the server is over loaded.
When I grep the process this is what is returned.
root 20867 0.0 0.0 11336 1172 ? S 02:00 0:00 sh -c mplayer /home/fileserver/htdocs/cgi-bin/temp/4791446/CGItemp 36521 -identify -frames 0 -quiet -ao null -vo null 2>/dev/null | grep ^ID_
root 20868 99.4 0.0 262804 7148 ? R 02:00 5:16 mplayer /home/fileserver/htdocs/cgi-bin/temp/4791446/CGItemp36521 -identify -frames 0 -quiet -ao null -vo null
Right now I've just set-up a cron job to kill the processes that are stuck but this isn't really a good solution. I'd rather fix the problem.
Any suggestions on how to resolve this?
1 post • Page 1 of 1