В общем при более 110 он лайн людей на сайте, происходит разрыв:
[2003] dbconn: mysql_connect: Can't connect to MySQL server on 'localhost' (10048)
изменение числа max_connections не помогает
в статистики mysql в среднем 230 запросов в сек.
[2003] dbconn: mysql_connect: Can't connect to MySQL server on 'localhost' (10048)
[2003] dbconn: mysql_connect: Can't connect to MySQL server on 'localhost' (10048)
WSAEADDRINUSE
(10048)
Address already in use.
Only one usage of each socket address (protocol/IP address/port) is normally permitted. This error occurs if an application attempts to bind a socket to an IP address/port that has already been used for an existing socket, or a socket that wasn't closed properly, or one that is still in the process of closing. For server applications that need to bind multiple sockets to the same port number, consider using setsockopt(SO_REUSEADDR). Client applications usually need not call bind at all - connectwill choose an unused port automatically."
HKLM\SYSTEM\CurrentControLSet\Services\Tcpip\Parameters\TcpTimedWaitDelay
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
1. Click Start, click Run, type regedit.exe, and then click OK.
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
3. On the Edit menu, point to New, and then click DWORD Value.
4. Type MaxUserPort and then press ENTER.
5. Double-click the MaxUserPort value, and then type the maximum value in decimal or hexadecimal.
You must type a number in the range of 500065534 (decimal). Setting this parameter to a value outside of the valid range causes the nearest valid value to be used (5000 or 65534).
6. Click OK.
7. Quit Registry Editor.
Вернуться в Прочие серверы и сетевые технологии
Сейчас этот форум просматривают: Yandex [bot] и гости: 1