Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2007 19:46:34 +0800
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        Norberto Meijome <freebsd@meijome.net>
Cc:        cblasius@gmail.com, freebsd-questions@freebsd.org
Subject:   Re: Skype - problem with sound device
Message-ID:  <20070706194634.3dcb08c3.ariff@FreeBSD.org>
In-Reply-To: <20070706210906.5a58b7b2@localhost>
References:  <200707051557.21884.cblasius@gmail.com> <20070706111251.7366d59e@localhost> <20070706162934.5d962e77.ariff@FreeBSD.org> <20070706210906.5a58b7b2@localhost>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Fri, 6 Jul 2007 21:09:06 +1000
Norberto Meijome <freebsd@meijome.net> wrote:
> On Fri, 6 Jul 2007 16:29:34 +0800
> Ariff Abdullah <ariff@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 ........

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGjiualr+deMUwTNoRApThAKDcneoLE3AKqlTKED0xKuJeeYC5wQCfYWFH
HiiMSqLuxDsAsD4Y+oA4oqE=
=4xsG
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070706194634.3dcb08c3.ariff>