здравствуйте, помогите разобраться.
есть игровой сервер на java, есть плагин для этого сервера тоже на java который динамически показывает игровую карту по http и висит на 8123 порту.
и есть nginx который переадресует запросы на эту карту.
вот часть конфига nginx
server {
server_name map.xxxxxxxxx.ru;
access_log /var/log/nginx/localhost.access_log main;
error_log /var/log/nginx/localhost.error_log info;
location / {
proxy_pass http://127.0.0.1:8123;
}
}
если посмотреть netstat то видим кучу соединений time_wait
tcp6 0 0 localhost:8123 localhost:55801 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55916 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55876 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55861 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55826 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55798 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55911 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55829 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55840 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55899 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55928 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55799 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55859 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55947 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55828 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55803 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55893 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55882 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55815 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55931 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55841 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55881 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55902 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55946 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55809 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55845 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55887 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55844 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55873 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55872 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55857 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55843 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55880 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55835 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55951 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55915 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55914 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55938 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55895 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55957 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55860 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55875 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55954 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55952 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55925 TIME_WAIT
tcp6 0 0 localhost:8123 localhost:55913 TIME_WAIT
гуглил на эту тему но так и не разобрался. в какую сторону вообще копать?
настройка nginx, sysctl или сам плагин править?