Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running out of tcp connections #782

Closed
Clementine-Issue-Importer opened this issue Dec 6, 2013 · 0 comments
Closed

Running out of tcp connections #782

Clementine-Issue-Importer opened this issue Dec 6, 2013 · 0 comments

Comments

@Clementine-Issue-Importer

From jaspervoskuilen on September 21, 2010 10:32:56

What steps will reproduce the problem? 1. Leave clemtine playing for a while What is the expected output? What do you see instead? Expected: I can continue using the internet when using clementine, instead clementine slowly eats up all the tcp connections (see screenshots). I noted a small drop in the number of handles after a song finishes so some are cleaned up, but not all :( What version of the product are you using? On what operating system? Using 0.5 on Windows XP SP3

As noted by http://blogs.technet.com/b/markrussinovich/archive/2009/09/29/3283844.aspx a handle count over 10.000 indicates a leak, so please investigate.

Attachment: clementine-after-1-song.gif clementine-30-minutes-after-first-song.gif clementine-90-minutes-after-first-song.gif

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=782

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on September 22, 2010 09:34:36

Labels: -Priority-Medium Priority-High

@Clementine-Issue-Importer
Copy link
Author

From prosiaczekk on September 22, 2010 13:57:09

I have similiar problem on Windows XP SP2.

@Clementine-Issue-Importer
Copy link
Author

From lindsay.mathieson on September 22, 2010 14:53:05

Ditto on Win 7 64 bit

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on September 22, 2010 15:22:07

This issue was closed by revision r2037 .

Status: Fixed

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on September 22, 2010 15:38:07

Do you think you could test r2037 and check it's fixed for you as well? You can get a new windows build here: http://builds.clementine-player.org/win32/ClementineSetup-0.4.90.r2037-rel.exe If it's fixed then I'll make a new release.

@Clementine-Issue-Importer
Copy link
Author

From evan.mclean on September 23, 2010 23:48:31

Installed the r2037 release on my Windows XP machine this morning (no reboot), and the problem is still occurring. Happened twice now, and both times was cleared up by closing and reopening Clementine.

@Clementine-Issue-Importer
Copy link
Author

From prosiaczekk on September 23, 2010 23:53:16

The same problem here. I've tested this yesterday on my Windows XP SP2 and the problem still persists.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on September 24, 2010 01:45:57

I might need a bit more help to reproduce the problem then. What are you doing that increases the number of handles? Just playing songs? What kind of songs - mp3, ogg, radio streams, local files? Are they from the library or dragged from the Files tab? What crossfading settings do you have enabled in the settings dialog? Watch the handle count in the task manager (Ctrl+Shift+Esc, processes tab, right click on the column header and show the Handles column) - is there anything you do in Clementine that consistently makes the handle count increase without decreasing?

Status: Accepted

@Clementine-Issue-Importer
Copy link
Author

From jaspervoskuilen on September 24, 2010 02:05:17

Tested it today. It took a while longer to get to 10.000 handles: 2 and a half hours as opposed to 1 and a half with version 0.5, so you plugged one leak but there are more.
As to my usage pattern:

  • I played mostly mp3 songs from a shared folder on the network, shuffle enabled.
  • Library size: 35572 tracks
  • Crossfading: all checkboxes checked, duration 2s.
  • Lastfm scrobbling is disabled, because it cant get through the proxy issue 38 - The handle count just increases while playing, I even refrained from skipping songs.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on September 24, 2010 03:01:06

  • The handle count just increases while playing, I even refrained from skipping songs.

Does it increase steadily during playback, or is there just an increase when it changes track? Do you have the analyzer enabled (the thing at the bottom of the window), are you using visualisations or the equalizer, have you disabled the currently-playing-track animation?

Sorry for all the questions, but they're really useful to help me find the problem :)

@Clementine-Issue-Importer
Copy link
Author

From petedabbs on September 24, 2010 03:28:41

Still happening for me too takes a good few hours to knock out the web, playing a mix of files from local HD and from a NAS drive. Apart from that I think all settings are standard apart from Last.fm is enabled.

I'll give it another run today and watch the handles with local then network playing.

@Clementine-Issue-Importer
Copy link
Author

From petedabbs on September 24, 2010 03:58:13

After a quick test the handles count continually rises by about 1 per second, source of files doesn't seem to matter, neither does if they're actually playing or not. Turning on/off monitor library for changes has no effect.

@Clementine-Issue-Importer
Copy link
Author

From petedabbs on September 24, 2010 06:19:32

More testing... Still getting continuous increase in handles. Nothing seems to effect it, I've tried all settings I can on and off (tray icon, glowing animation on playlist, Last.fm, equalizer off etc)

@Clementine-Issue-Importer
Copy link
Author

From ioansolteanu on September 24, 2010 18:32:22

Same problem here, handles increase at a constant rate of about 1/second, doesn't matter if there are songs playing or not.
No analyzer, no crossfade, no OSD, no visualizations, Last.fm plugin enabled (disabling it doesn't affect the rate though).

Disabling the "Monitor the library for changes" decreases the number of handles, but the number continues to rise regardless.

Clementine 0.5 on Window 7 64bit.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on September 25, 2010 07:34:01

This issue was closed by revision r2039 .

Status: Fixed

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on September 25, 2010 08:53:24

Definitely fixed this time :) The problem was a bug in libusbmuxd where it would try to connect to usbmuxd once a second but wouldn't close the sockets properly. I think this is probably important enough to make a 0.5.2 release.

@Clementine-Issue-Importer
Copy link
Author

From john.maguire on September 27, 2010 02:24:24

Issue 818 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From Antony256 on December 28, 2010 05:54:05

This one is back. Windows 7 SP1 Beta with 0.5.3, 0.6 and latest revision.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on December 29, 2010 07:22:53

Antony256: what are you doing to trigger the problem? How fast are the handles increasing?

@Clementine-Issue-Importer
Copy link
Author

From Antony256 on December 29, 2010 10:56:58

By the end of "updating library" there are ~2500 handles and it stays there. First song +100 handles, visualizations don't change it much. The handles don't increase over time.

After looking at the resource monitor, this is not the same. It's the AppleMobileDeviceService.exe that goes nuts and starts overusing the network. Disabling bypasses the problem. But this only happens with Clementine running.

@Clementine-Issue-Importer
Copy link
Author

From Antony256 on December 29, 2010 11:14:53

Also AppleMobileDeviceService.exe tries to connect to anything I have redirected to localhost while Clementine is running! (I swear I ran a full virus scan just last night :p )

@Clementine-Issue-Importer
Copy link
Author

From johnathan.drozdowski on February 27, 2011 13:23:23

I can confirm this issue is back... Although as stated above it is the AppleMobileDeviceService.exe that opens all the connections, but only while Clementine is opened as well.

@Clementine-Issue-Importer
Copy link
Author

From keirangtp on February 28, 2011 09:41:56

If this is true, we should do fix it before 0.7.

Labels: -Priority-High Priority-Critical Milestone-0.7

@Clementine-Issue-Importer
Copy link
Author

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on March 16, 2011 02:55:12

Issue 1580 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From andrej.mernik on March 16, 2011 03:01:07

I might have the same problem. When playing radio stream on my Debian Squeeze system, with 0.6 and one of the 0.6dev releases the connection "drops" for 20-30 seconds. There are no errors in the logs, just the music stops playing, webpages stop loading, ping doesn't work and so on for 20-30 seconds. Then everything returns to normal, except clementine doesn't play the stream anymore.
But I must alsom admit that I don't remember this happening on Ubuntu 10.10.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on March 16, 2011 12:30:41

Status: New
Labels: -Priority-Critical Priority-High

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on March 16, 2011 12:30:54

Issue 1527 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on March 16, 2011 14:49:26

Anyone who's still experiencing this on Windows, can you try one of the debug builds and see if there's anything useful printed to the console? http://builds.clementine-player.org/win32/debug/ Also can you tell me:

  • if you have any iPods connected, if so which ones?
  • which version of iTunes you have installed
  • if you're running 32-bit windows or 64-bit windows?

@Clementine-Issue-Importer
Copy link
Author

From philipjcammarata on March 17, 2011 17:51:58

I'm running the latest build in debug with Windows 7 Ultimate 64 bit, iTunes 10.1.1.4 and iOS 4.3 on an iPhone 4 that does not show up in the device list. The moment I start up Clementine I get:
usbmuxd_listen: ERROR: did not get OK but -1
usbmuxd_get_result: Unexpected message of type 8 received!
usbmuxd_listen: ERROR: did not get OK but -1
usbmuxd_get_result: Unexpected message of type 8 received!
usbmuxd_listen: ERROR: did not get OK but -1
usbmuxd_get_result: Unexpected message of type 8 received!
Repeated over and over again, having a hard time catching anything else. The TCP issue seems to be gone though. My iPhone was connected after using Clementine for about 15 minutes, no change in console.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on March 19, 2011 12:10:41

This issue was closed by revision r3011 .

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant