posts - Too many connections to server

admin2025-06-05  3

I'm facing a really weird problem with my wordpress/server.

Sometimes when I add media (images) to a new post, and then try to submit this post, instead of my website I got the information in browser:

connection rejected by server

I contacted my hosting provider to solve this problem and they claim that my wordpress is generating too many simultaneous connections to server and that's why my IP is being blocked (usually for about 48 hours). For everyone else the site is working perfectly fine.

Is it possible that adding images/submitting the post is generating more than 18 connections to server (that's the limit that my hosting provider has on its servers)?

And if yes, how to solve this problem?

I'm using wordpress always updated to the newest version.

I'm facing a really weird problem with my wordpress/server.

Sometimes when I add media (images) to a new post, and then try to submit this post, instead of my website I got the information in browser:

connection rejected by server

I contacted my hosting provider to solve this problem and they claim that my wordpress is generating too many simultaneous connections to server and that's why my IP is being blocked (usually for about 48 hours). For everyone else the site is working perfectly fine.

Is it possible that adding images/submitting the post is generating more than 18 connections to server (that's the limit that my hosting provider has on its servers)?

And if yes, how to solve this problem?

I'm using wordpress always updated to the newest version.

Share Improve this question edited May 27, 2013 at 13:25 Gacek asked May 26, 2013 at 12:45 GacekGacek 1971 gold badge3 silver badges14 bronze badges 8
  • Is this PHP 5.3? core.trac.wordpress/ticket/23968 – fuxia Commented May 26, 2013 at 12:58
  • Nope. 5.2. I can set also php 5.4 or php dev – Gacek Commented May 26, 2013 at 13:13
  • For the record, I run a number of sites on PHP 5.3 and don't have this issue. It would help if you could post the logs showing exactly what those connects are. Also, are you running any plugins? And if so have you tried disabling them? – s_ha_dum Commented May 26, 2013 at 14:13
  • 1 Do you mean web hosting provider? ISP (internet servvice provider) is typically company that provides you with access to Internet. If they give you hosting with weird restrictions - I'd look to change to real hosting. :) – Rarst Commented May 26, 2013 at 20:07
  • 1 Try looking up setting for number of connections to server in your browser. Or, you know, nagging your hosting into removing stupid restriction. I am thinkings this probably can't really be handled on WordPress level. – Rarst Commented May 27, 2013 at 13:32
 |  Show 3 more comments

2 Answers 2

Reset to default 1

I contacted my hosting provider to solve this problem and they claim that my wordpress is generating too many simultaneous connections to server...

The only times I've seen hosts put limits on the number of MySQL connections is when the host is free or very cheap or incompetent.

Is it free hosting? It's really easiest to spend a little money and get a good host.

See Recommended WordPress Web Hosting

Many web hosting companies "throttle" accounts based on the number of simultaneous I/O connections & amount of CPU resources consumed. Your shared hosting should support around 10-20 simultaneous active users under this configuration for WordPress. Sounds like you were only using the site in development & triggered the account throttling, which may point to either problems in the WP install or overactive targeting by the web host. Check the error logs for the web site & consider another shared hosting plan with better resources.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749102932a316385.html

最新回复(0)