ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 502 при работающих сервис ах и не нагруженном серв ера



про это тоже 
TIME_WAIT ищите в рассылке, как это уменьшить 

кип-алив - выключить 

On 28.12.2010, at 15:06, iskander wrote:

> kav Wrote:
> -------------------------------------------------------
>> зачем на апаче кипалив? 
>> посмотрите нетстат-ом,
>> сколько "реально" коннектов
>> между нгинх-ом и индейцем 
> 
> 
> # netstat -an | grep 8080
> tcp        0      0 xxx.xxx.xxx.xxx:55760        xxx.xxx.xxx.xxx:8080   
>     ESTABLISHED
> tcp        0      0 :::8080                     :::*                    
>   LISTEN
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55722 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55746 TIME_WAIT
> tcp        1      1 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:38873 LAST_ACK
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55696 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55762 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55692 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55711 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55721 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55716 TIME_WAIT
> tcp        1  54683 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:45762 LAST_ACK
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55753 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55738 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55734 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55697 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55739 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55754 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55683 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55735 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55710 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55731 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55707 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55712 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55727 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55699 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55701 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55705 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55681 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55694 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55758 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55757 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55747 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55736 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55687 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55715 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55708 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55726 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55704 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55717 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55744 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55741 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55755 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55682 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55760 ESTABLISHED
> tcp        1      1 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:38769 LAST_ACK
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55751 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55678 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55737 TIME_WAIT
> tcp        1      1 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:38997 LAST_ACK
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55680 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55733 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55693 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55719 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55750 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55748 TIME_WAIT
> tcp        1      1 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55502 LAST_ACK
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55718 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55698 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55689 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55702 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55714 TIME_WAIT
> tcp        1  65537 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:38849 LAST_ACK
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55695 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55729 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55720 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55703 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55730 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55745 TIME_WAIT
> tcp        1      1 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:38895 LAST_ACK
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55732 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55709 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55686 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55742 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55724 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55700 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55685 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55752 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55713 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55688 TIME_WAIT
> tcp        1      1 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:38832 LAST_ACK
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55728 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55756 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55706 TIME_WAIT
> tcp        0      0 ::ffff:xxx.xxx.xxx.xxx:8080 
> ::ffff:xxx.xxx.xxx.xxx:55759 TIME_WAIT
> 
> вы про это?
> 
> Posted at Nginx Forum: 
> http://forum.nginx.org/read.php?21,161682,161687#msg-161687
> 
> 
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://nginx.org/mailman/listinfo/nginx-ru


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.