apache nem elerheto

Fórumok

Sziasztok,

olyan problemaval talalkoztam, hogy aranylag magasra van allitva a max clients (2500), ellenben egy ido utan, semmit nem irva az error logba az ext IP-n keresztul nem erhetoek el az oldalak. localhostrol igen.
Nem tudja valaki milyen limitek johetnek ez esetben szoba?
Meg aranylag sok a TIME_WAIT.

apache conf igy nez ki.

KeepAlive On
Timeout 20
MaxKeepAliveRequests 0
KeepAliveTimeout 5
ServerLimit 2500
StartServers 100
MinSpareServers 30
MaxSpareServers 200
MaxClients 2500
MaxRequestsPerChild 10

iptables szokasos, new kapcsolatok a 80-as portra beengedve.
tcp fin timeout 20

illetve, ha kisebb a max kapcsolatok szama, akkor kiirja az errorlogba, hogy maxclient blabla, de ha mar nincs annyi kapcsolat, akkor sem lehet mar elerni. mintha nem szabaditana fel a kapcsolatokat.

debian, apache2 (apt fele prefork bin.)

valakinek otlete?

Hozzászólások

jah, es mas szolgaltatasok elerhetoek. load 0 alatt. (sql kulon serveren 10e max kapcsolatszammal.)

csak ötletem lehet:

KeepKeepAlive Off
Timeout 120
KeepAliveTimeout 15
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MaxSpareServers 20
MaxClients 256
MaxRequestsPerChild 4000
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256

mivel nálam centos,apache2 stb.. és kevés felhasználó
de nincs time_wait..

majd a tapasztaltabbak kijavítanak

Az apache önmagában nem fogja meg a kapcsolatokat. Milyen alkalmazást futtat az apache? Nem lehet, hogy az alkalmazás tart nyitva valamit?

strace ennyit mond, mikor semmi hiba, de nem is jon be semmi weboldal.

[pid 3807] select(0, NULL, NULL, NULL, {0, 100}
[pid 3806] select(0, NULL, NULL, NULL, {0, 100}
[pid 3805] select(0, NULL, NULL, NULL, {0, 100}
[pid 3804] select(0, NULL, NULL, NULL, {0, 100}
[pid 3796] select(0, NULL, NULL, NULL, {0, 100}
[pid 3795] select(0, NULL, NULL, NULL, {0, 100}
[pid 10643] <... select resumed> ) = 0 (Timeout)
[pid 10642] <... select resumed> ) = 0 (Timeout)
[pid 10637] <... select resumed> ) = 0 (Timeout)
[pid 10623] <... select resumed> ) = 0 (Timeout)
[pid 10617] <... select resumed> ) = 0 (Timeout)
[pid 10616] <... select resumed> ) = 0 (Timeout)