waiting for available socket error

2,945 views
Skip to first unread message

Suman Adak

unread,
Jun 2, 2015, 12:01:49 AM6/2/15
to chromium...@chromium.org

Dear All,

I am facing some serious issue for my web application running in chrome. After running some times, my web app are getting "waiting for available socket error"  and hangs. It mostly happens to slow network. Could not able to figure out the problem. My web app is running behind http proxy server "nginx". I am attaching some screen shot of chrome://net-internals where I could see huge number of socket connection is in pending list. What does it mean? Is it a chrome issue or it s a problem with my web app server? 






chrome-internals.docx

Suman Adak

unread,
Jun 6, 2015, 9:38:48 AM6/6/15
to chromium...@chromium.org
could anyone please help me on this issue??

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.



--
Thanks and Regards
Suman Adak

Yuta Kitamura

unread,
Jun 8, 2015, 1:24:51 AM6/8/15
to suma...@gmail.com, Chromium-discuss
Modern browsers restrict the number of simultaneous connections to the same origin to 6. If you attempt to make more connections at the same time, they will be blocked until active connections are closed.

Thanks,
Yuta

PhistucK

unread,
Jun 8, 2015, 1:51:30 AM6/8/15
to Yuta Kitamura, suma...@gmail.com, Chromium-discuss
If you have the time, moving to HTTP/2 would probably help, as it uses a single connection for all (or most) of the requests.


PhistucK

Suman Adak

unread,
Jun 8, 2015, 11:24:51 AM6/8/15
to Yuta Kitamura, Chromium-discuss
hi Yuta,

Does it mean, I dont have issue with my web-server request processing or do i need to change my front end app code or browser??


What would be effective way to fix this problem??

Thanks
Suman

Suman Adak

unread,
Jun 8, 2015, 11:26:36 AM6/8/15
to PhistucK, Yuta Kitamura, Chromium-discuss
Phistuck,

Thanks, We try to see if we can move http/2 

thanks
suman

PhistucK

unread,
Jun 8, 2015, 11:40:34 AM6/8/15
to Suman Adak, Yuta Kitamura, Chromium-discuss
That depends - what is taking so long for the request to complete? Are they big responses?
While it might be a front end issue (for example, you should concatenate JavaScript and CSS files or use sprites), it might also be a server issue (it takes a long time for the server to process a request and until one is completed, the browser does not request another one).

The Developer Tools feature should give you an idea of the reason (press F12 when you view the website).


PhistucK

Suman Adak

unread,
Jun 8, 2015, 1:27:55 PM6/8/15
to PhistucK, Yuta Kitamura, Chromium-discuss
dear Phistuck,

Thanks a lot for pointing out. I understood your points. I will do all those optimization. will update soon.

Thanks
Suman
Message has been deleted

Chris Bentzel

unread,
Feb 6, 2016, 8:53:07 AM2/6/16
to nic...@youmanage.academy, Chromium-discuss, suma...@gmail.com
Definitely open to adjusting these constraints, but they are there for a mix of aggregate performance as well as reducing resource load. Also - even if we changed these in Chrome the limits exist in other browsers and users may run into it.

I noticed that youmanage.academy is on https and has an Apache server. Given this, it may be fairly straightforward to use http/2 by configuring your Apache servers to use mod_h2. This would allow many more requests to a domain to happen at once. http/2 is also supported by many other browsers.

On Sat, Feb 6, 2016 at 3:56 AM Nicole Schaller <nic...@youmanage.academy> wrote:
Hi Yuta,

I am experiencing the same problem, but only for a week now: Page load problems in frontend and backend of Wordpress and "Waiting for socket".

It seems like when I am opening the 7th and 8th tab to my domain it becomes worst. Is there a possibility to open up this limitation?

Thank you

Nicole


Message has been deleted

Chris Bentzel

unread,
Feb 6, 2016, 12:29:16 PM2/6/16
to nic...@youmanage.academy, Chromium-discuss, suma...@gmail.com

For a short-term workaround, you could use different profiles for Chrome accessing your site at the same time as the limits are per profile.


On Sat, Feb 6, 2016, 10:27 AM Nicole Schaller <nic...@youmanage.academy> wrote:
Hi Chris,

I appreciate your suggestions. What I understand as a non-IT person is that you propose I'd rather change the server than the browser settings. But that would apply to anyone visiting my site. Hm. Not exactly what I hoped for.

It looks like I have change my workflow to edit my Wordpress site for Chrome limitations. Until now, I always had a backend and a frontend tab open for the sites in 4 different languages, working on a lesson, or a product page etc. in parallel.  I had even more tabs open with Google translator. And that all worked fine until a week ago, although this browser limit seems to exist for longer now.

But thanks anyway.

Nicole
Message has been deleted

Chris Bentzel

unread,
Feb 6, 2016, 12:47:03 PM2/6/16
to nic...@youmanage.academy, Chromium-discuss, suma...@gmail.com

No, the limit does not cross devices. Chrome allows for multiple profiles on the same device. See https://support.google.com/chrome/answer/2634824 for more information.


On Sat, Feb 6, 2016, 12:39 PM Nicole Schaller <nic...@youmanage.academy> wrote:
Does that mean that the limit of 6 is bound to my user profile and counts over all devices - 2 macs, a tablet and a smartphone?

Chris Bentzel

unread,
Feb 6, 2016, 12:48:31 PM2/6/16
to nic...@youmanage.academy, Chromium-discuss, suma...@gmail.com
Reply all
Reply to author
Forward
Message has been deleted
0 new messages