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>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Fri__6_Jul_2007_19_46_34_+0800_Ets.Y8mlQ7vQTwyE
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
>=20
> > Show me the output of
> >=20
> > #fstat|grep
> > #'\(\(dsp\|audio\|dspW\|mixer\)[0-9]\|\(snd\|midi\)stat\)'
> >=20
> > .. before/after opening skype.
>=20
> Hi Ariff :)=20
>=20
> 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.
>=20
> 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
>=20
> http://www.meijome.net/files/freebsd/20070706/withskype_12hrs+.txt
>=20
> I then shut down skype :
> http://www.meijome.net/files/freebsd/20070706/b4skype.txt
>=20
> 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).
>=20
> 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
>=20
> 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
>=20

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

> Is this normal / expected?=20
>=20

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 ........

--Signature=_Fri__6_Jul_2007_19_46_34_+0800_Ets.Y8mlQ7vQTwyE
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

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

--Signature=_Fri__6_Jul_2007_19_46_34_+0800_Ets.Y8mlQ7vQTwyE--



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