Freesco, NND, CDN, EOS
http://forum.freesco.pl/

thttpd i dziwne retsary co godzine
http://forum.freesco.pl/viewtopic.php?f=22&t=18549
Strona 1 z 1

Autor:  adi399 [ poniedziałek, 30 maja 2011, 23:13 ]
Tytuł:  thttpd i dziwne retsary co godzine

Na jednym i na drugim serwerze mam podobny problem co godzinę robi się taki restart thttpd na 2 min okolo jest brak dostepu..

Na dwuch maszynach jest problem identyczny, jak go wyeliminowac ?

(skrypt bc.pl mojego autorstwa zwraca tylko uptime serwera)

: [/] [] ()
.....
May 30 14:35:54 Server1 thttpd[853]: spawned CGI process 27453 for file 'cgi-bin/bc.pl'
May 30 14:36:47 Server1 thttpd[853]: spawned CGI process 28464 for file 'cgi-bin/bc.pl'
May 30 14:37:12 Server1 thttpd[853]: up 3605 seconds, stats for 3605 seconds:
May 30 14:37:12 Server1 thttpd[853]:   thttpd - 227 connections (0.0629681/sec), 1 max simultaneous, 5550000 bytes (1539.53/sec), 2 httpd_conns allocat$
May 30 14:37:12 Server1 thttpd[853]:   libhttpd - 30 strings allocated, 6800 bytes (226.667 bytes/str)
May 30 14:37:12 Server1 thttpd[853]:   map cache - 0 allocated, 0 active (0 bytes), 0 free; hash size: 0; expire age: 1800
May 30 14:37:12 Server1 thttpd[853]:   fdwatch - 1623 polls (0.450208/sec)
May 30 14:37:12 Server1 thttpd[853]:   timers - 5 allocated, 4 active, 1 free
May 30 14:37:16 Server1 thttpd[853]: spawned CGI process 28997 for file 'cgi-bin/bc.pl'
.....

.....
May 30 14:35:54 Server1 thttpd[853]: spawned CGI process 27453 for file 'cgi-bin/bc.pl'
May 30 14:36:47 Server1 thttpd[853]: spawned CGI process 28464 for file 'cgi-bin/bc.pl'
May 30 14:37:12 Server1 thttpd[853]: up 3605 seconds, stats for 3605 seconds:
May 30 14:37:12 Server1 thttpd[853]:   thttpd - 227 connections (0.0629681/sec), 1 max simultaneous, 5550000 bytes (1539.53/sec), 2 httpd_conns allocat$
May 30 14:37:12 Server1 thttpd[853]:   libhttpd - 30 strings allocated, 6800 bytes (226.667 bytes/str)
May 30 14:37:12 Server1 thttpd[853]:   map cache - 0 allocated, 0 active (0 bytes), 0 free; hash size: 0; expire age: 1800
May 30 14:37:12 Server1 thttpd[853]:   fdwatch - 1623 polls (0.450208/sec)
May 30 14:37:12 Server1 thttpd[853]:   timers - 5 allocated, 4 active, 1 free
May 30 14:37:16 Server1 thttpd[853]: spawned CGI process 28997 for file 'cgi-bin/bc.pl'
.....


.....
May 30 15:35:50 Server1 thttpd[853]: spawned CGI process 11814 for file 'cgi-bin/bc.pl'
May 30 15:36:40 Server1 thttpd[853]: spawned CGI process 13017 for file 'cgi-bin/bc.pl'
May 30 15:37:08 Server1 thttpd[853]: up 7201 seconds, stats for 3596 seconds:
May 30 15:37:08 Server1 thttpd[853]:   thttpd - 70 connections (0.0194661/sec), 1 max simultaneous, 1725000 bytes (479.7/sec), 2 httpd_conns allocated
May 30 15:37:08 Server1 thttpd[853]:   libhttpd - 30 strings allocated, 6800 bytes (226.667 bytes/str)
May 30 15:37:08 Server1 thttpd[853]:   map cache - 0 allocated, 0 active (0 bytes), 0 free; hash size: 0; expire age: 1800
May 30 15:37:08 Server1 thttpd[853]:   fdwatch - 1004 polls (0.279199/sec)
May 30 15:37:08 Server1 thttpd[853]:   timers - 4 allocated, 4 active, 0 free
May 30 15:37:08 Server1 thttpd[853]: spawned CGI process 13702 for file 'cgi-bin/bc.pl'
.....


.....
May 30 16:24:23 Server1 thttpd[853]: spawned CGI process 11461 for file 'cgi-bin/bc.pl'
May 30 16:37:08 Server1 thttpd[853]: up 10801 seconds, stats for 3600 seconds:
May 30 16:37:08 Server1 thttpd[853]:   thttpd - 32 connections (0.00888889/sec), 1 max simultaneous, 800000 bytes (222.222/sec), 2 httpd_conns allocated
May 30 16:37:08 Server1 thttpd[853]:   libhttpd - 30 strings allocated, 6800 bytes (226.667 bytes/str)
May 30 16:37:08 Server1 thttpd[853]:   map cache - 0 allocated, 0 active (0 bytes), 0 free; hash size: 0; expire age: 1800
May 30 16:37:08 Server1 thttpd[853]:   fdwatch - 859 polls (0.238611/sec)
May 30 16:37:08 Server1 thttpd[853]:   timers - 3 allocated, 3 active, 0 free
May 30 16:37:08 Server1 thttpd[853]: spawned CGI process 27860 for file 'cgi-bin/bc.pl'
.....

Autor:  Maciek [ poniedziałek, 30 maja 2011, 23:47 ]
Tytuł: 

A co to jest za skrypt bc.pl?

Autor:  adi399 [ środa, 1 czerwca 2011, 22:35 ]
Tytuł: 

przepraszam to nie jest tego wina znalazłem linijke odpowidajaca za zawieszanie thtpd

chodzi dokalnie o to
Jun 1 22:01:39 Server1 thttpd[853]: spawned CGI process 5051 for file 'cgi-bin/bc.pl'
Jun 1 22:03:19 Server1 thttpd[853]: spawned CGI process 7642 for file 'cgi-bin/bc.pl'
Jun 1 22:08:22 Server1 thttpd[853]: 10.0.0.15 connection timed out reading
Jun 1 22:17:25 Server1 thttpd[853]: spawned CGI process 27614 for file 'cgi-bin/bc.pl'
Jun 1 22:17:25 Server1 thttpd[853]: spawned CGI process 27617 for file 'cgi-bin/bc.pl'

pytania do skryptu sa wysylane wlasnie z adresu 10.0.0.15

co to oznacza ? jak sie tego pozbyc ?
Jun 1 22:08:22 Server1 thttpd[853]: 10.0.0.15 connection timed out reading

Autor:  Maciek [ środa, 1 czerwca 2011, 23:36 ]
Tytuł: 

Widocznie skrypt jest tak zbudowany, ze jak 10.0.0.15 przestaje odpowiadać, to skrypt zawiesza thttpd.
To zatem kwestia skryptu, a nie programu.

Autor:  adi399 [ czwartek, 2 czerwca 2011, 07:27 ]
Tytuł: 

skrytp tylko i wylancznie wykonuje polecenie:
arp 10.0.0.X -s MAC

nic wiecej wykonuje je co okolo 3 sek max 5 min przez caly czas.
Skrypt nie zawiesza thttpd calkowice tlyko na jakis czas(widac w logach), ale watpie by to robil, connection timed out reading nie oznacza przyapkiem ze 10.0.0.15 za szybko sie rozlanczyl ? mozew trakcie wykonywania skryptu ?
a moze to jakies zabepieczenie w firewallu bo za czesto jest wykonywany skrypt ?

gdzie to sprawdzic ?

dzikuje :)

Ps. mam NND 0.2.2 ma to jakies znaczenie ?

Autor:  adi399 [ czwartek, 2 czerwca 2011, 16:46 ]
Tytuł: 

jakeis sugestie panie Macku :) ?

EDIT!

ZERKNIJCIE TU http://forum.freesco.pl/viewtopic.php?t=18551

Autor:  Maciek [ czwartek, 2 czerwca 2011, 17:17 ]
Tytuł: 

Nie mam pojęcia. Chyba to zbyt duża częstotliwość. Co 3 sekundy. Wystarczy większy ruch i się komputer nie odezwie. Może być zajęty i nie odpowiedzieć od razu.

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/