Date: Tue, 5 Dec 2000 14:28:20 +0100 (CET) From: Bart <bart@no-x.nl> To: questions@freebsd.org Subject: Re: ping OK, daemons dead ? Message-ID: <Pine.LNX.4.03.10012051423260.14354-100000@donald-duck.ele.tue.nl> In-Reply-To: <200011220217.SAA07701@irv1-mail2.intelenet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 21 Nov 2000, David Harnick-Shapiro wrote: > On Tue, 21 Nov 2000 13:04, Bart writes: > >>>> Trying 212.104.204.x... > >>>> Connected to mymachine.nl. > >>>> Escape character is '^]'. > >>>> > >>>> So the daemon ain't dead... > >> > >> Do you eventually get a login prompt (after about 40 seconds) > >> If so it may be trying (and failing) to do a DNS lookup on the inncoming > > > > I can wait 5+ mins and still no login: > > (and it seams that it doesn't even close the connection > > after xx minutes) > > Rather than daemon processes dying, this sounds to me more like > processes getting starved for resources (cpu cycles, memory, > mbufs, something along those lines). > Can you do some low-tech monitoring and figure out what's getting > used up? Try connecting to the system while it's healthy, and > just keep top or netstat or swapinfo or ... running, so you see > what state the machine was in when you last had useful access to it. Exatly two weeks later the same problem occured: machine is pingable but I can't login any more, webserver does a connect but nothing comes back, etc: Looks like Perl is killing me. Any suggestion to restrict the Perl stuff ? stop: last pid: 35260; load averages: 0.38, 0.26, 0.16 up 14+02:01:51 13:43:54 128 processes: 54 running, 72 sleeping, 2 zombie CPU states: 3.8% user, 0.0% nice, 88.0% system, 1.1% interrupt, 7.1% idle Mem: 11M Active, 3676K Inact, 12M Wired, 572K Cache, 6352K Buf, 412K Free Swap: 68M Total, 68M Used, 100% Inuse, 380K In, 1892K Out PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 35206 nobody 2 -20 8140K 1276K RUN 0:01 8.38% 1.86% httpd 26346 nobody -6 0 7864K 748K piperd 0:15 2.73% 1.07% httpd 34442 root 28 0 2040K 508K RUN 0:47 2.87% 0.63% top 26348 nobody -6 0 7856K 1080K piperd 0:11 0.10% 0.10% httpd 35219 nobody 2 0 1856K 1204K RUN 0:00 0.15% 0.05% perl 35215 nobody 2 0 1856K 1196K RUN 0:00 0.13% 0.05% perl 35223 nobody 28 0 3908K 1176K RUN 0:00 0.17% 0.05% httpd 226 mysql 28 0 13356K 476K RUN 5:09 0.00% 0.00% mysqld 9780 robert 2 0 3368K 560K select 2:27 0.00% 0.00% eggdrop 536 72 2 0 6856K 0K RUN 0:52 0.00% 0.00% ircd 140 root 2 0 1432K 0K select 0:21 0.00% 0.00% sendmail 26349 nobody -6 0 7760K 544K piperd 0:21 0.00% 0.00% httpd 26347 nobody -6 0 7836K 544K piperd 0:20 0.00% 0.00% httpd 137 root 10 0 956K 0K nanslp 0:20 0.00% 0.00% <cron> 26398 nobody -6 0 7860K 552K piperd 0:20 0.00% 0.00% httpd 26401 nobody -6 0 7852K 552K piperd 0:19 0.00% 0.00% httpd 114 root 28 0 904K 284K RUN 0:19 0.00% 0.00% syslogd 26400 nobody -6 0 7860K 556K piperd 0:18 0.00% 0.00% httpd 135 root 2 0 1028K 0K select 0:18 0.00% 0.00% <inetd> 25129 root 2 0 2120K 72K select 0:18 0.00% 0.00% telnetd 26399 nobody -6 0 7864K 552K piperd 0:15 0.00% 0.00% httpd 287 root 2 0 3152K 0K select 0:13 0.00% 0.00% <snmpd> 26350 nobody -6 0 7804K 560K piperd 0:12 0.00% 0.00% httpd 26367 nobody -6 0 7856K 552K piperd 0:11 0.00% 0.00% httpd 26345 root 28 0 3840K 632K RUN 0:06 0.00% 0.00% httpd 34927 nobody -6 0 7964K 720K piperd 0:03 0.00% 0.00% httpd 990 bart 2 0 1664K 0K select 0:02 0.00% 0.00% <screen> 34280 root 2 0 2124K 0K select 0:01 0.00% 0.00% <telnetd> 7603 root 2 0 2116K 0K select 0:01 0.00% 0.00% <telnetd> 66274 root 2 0 2120K 0K select 0:01 0.00% 0.00% <telnetd> 15131 root 18 0 1340K 0K pause 0:00 0.00% 0.00% <csh> 17866 root 2 0 2120K 0K select 0:00 0.00% 0.00% <telnetd> 67590 nobody 2 0 904K 0K select 0:00 0.00% 0.00% <ident2> 66275 bart 10 0 620K 0K wait 0:00 0.00% 0.00% <sh> 17944 root 2 0 1276K 0K accept 0:00 0.00% 0.00% <ftpd> 47869 brouwer 3 0 1032K 0K ttyin 0:00 0.00% 0.00% <bash> 75273 root 3 0 1268K 0K ttyin 0:00 0.00% 0.00% <csh> 67612 ero 3 0 1020K 0K ttyin 0:00 0.00% 0.00% <bash> 35192 nobody 28 0 1856K 1000K RUN 0:00 0.00% 0.00% perl 35200 nobody 2 0 1856K 1052K RUN 0:00 0.00% 0.00% perl 35199 nobody 2 0 1856K 1052K RUN 0:00 0.00% 0.00% perl 33485 root 2 0 1276K 0K accept 0:00 0.00% 0.00% <ftpd> 35195 nobody 2 0 1856K 1052K RUN 0:00 0.00% 0.00% perl 35197 nobody 2 0 1856K 1052K RUN 0:00 0.00% 0.00% perl 35193 nobody 28 0 1856K 1076K RUN 0:00 0.00% 0.00% perl 35204 nobody 2 0 1856K 1052K RUN 0:00 0.00% 0.00% perl 35203 nobody 2 0 1856K 1052K RUN 0:00 0.00% 0.00% perl 35202 nobody 2 0 1856K 1060K RUN 0:00 0.00% 0.00% perl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.03.10012051423260.14354-100000>