Skype - problem with sound device

Ariff Abdullah ariff at FreeBSD.org
Fri Jul 6 11:46:40 UTC 2007


On Fri, 6 Jul 2007 21:09:06 +1000
Norberto Meijome <freebsd at meijome.net> wrote:
> On Fri, 6 Jul 2007 16:29:34 +0800
> Ariff Abdullah <ariff at FreeBSD.org> wrote:
> 
> 
> > Show me the output of
> > 
> > #fstat|grep
> > #'\(\(dsp\|audio\|dspW\|mixer\)[0-9]\|\(snd\|midi\)stat\)'
> > 
> > .. before/after opening skype.
> 
> Hi Ariff :) 
> 
> I haven't had the problem since.But i decided to check with
> fstat...and I was amazed at the number of file descriptors (to
> /dev/[sound_related]) that skype keeps open.
> 
> I use skype extensively, both for chat + voice. I've had skype
> running for over 12 hours, probably 24 hours (my uptime says 1 day
> 21 hours...so maybe as long as that). When  I run your command, I
> got 2700+ entries  - all but 2 were skype's!  You can see it for
> yourself at
> 
> http://www.meijome.net/files/freebsd/20070706/withskype_12hrs+.txt
> 
> I then shut down skype :
> http://www.meijome.net/files/freebsd/20070706/b4skype.txt
> 
> And opened it again, waited it to log in and go another snapshot:
> http://www.meijome.net/files/freebsd/20070706/withskype.txt (no
> changes really).
> 
> I then did a test call to the skype test call bot, while the call
> was running i got:
> http://www.meijome.net/files/freebsd/20070706/skype_1_call.txt
> 
> which is , i suppose, ok... but AFTER the call, I still had several
> entries left over:
> http://www.meijome.net/files/freebsd/20070706/skype_1_call_finished.txt
> 

Most of it are actually duplicates due to spawning threads or child
forks, so it is safe to ignore it.

> Is this normal / expected? 
> 

It is as "normal/expected" as it is since I don't have any skype
sources to examine with :) . Why it leaves so many dangling opened
devices is beyond my comprehension.




--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070706/82987dae/attachment.pgp


More information about the freebsd-questions mailing list