bin/164526: kill(1) can not kill process despite on -KILL

Коньков Евгений kes-kes at yandex.ru
Wed Feb 1 23:10:11 UTC 2012


The following reply was made to PR bin/164526; it has been noted by GNATS.

From: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= <kes-kes at yandex.ru>
To: Alan Buxey <A.L.M.Buxey at lboro.ac.uk>
Cc: "jilles at stack.nl" <jilles at stack.nl>, 
	"firebird-devel at lists.sourceforge.net" <firebird-devel at lists.sourceforge.net>, 
	"bug-followup at freebsd.org" <bug-followup at freebsd.org>, 
	"freeradius-users at lists.freeradius.org" <freeradius-users at lists.freeradius.org>
Subject: Re[4]: bin/164526: kill(1) can not kill process despite on -KILL
Date: Thu, 2 Feb 2012 01:04:44 +0200

 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><title>Re[4]: bin/164526: kill(1) can not kill process despite on -KILL</title>
 <META http-equiv=Content-Type content="text/html; charset=utf-8">
 <meta http-equiv="Content-Style-Type" content="text/css">
 <style type="text/css"><!--
 body {
   margin: 5px 5px 5px 5px;
   background-color: #ffffff;
 }
 /* ========== Text Styles ========== */
 hr { color: #000000}
 body, table /* Normal text */
 {
  font-size: 9pt;
  font-family: 'Courier New';
  font-style: normal;
  font-weight: normal;
  color: #000000;
  text-decoration: none;
 }
 span.rvts1 /* Heading */
 {
  font-size: 10pt;
  font-family: 'Arial';
  font-weight: bold;
  color: #0000ff;
 }
 span.rvts2 /* Subheading */
 {
  font-size: 10pt;
  font-family: 'Arial';
  font-weight: bold;
  color: #000080;
 }
 span.rvts3 /* Keywords */
 {
  font-size: 10pt;
  font-family: 'Arial';
  font-style: italic;
  color: #800000;
 }
 a.rvts4, span.rvts4 /* Jump 1 */
 {
  font-size: 10pt;
  font-family: 'Arial';
  color: #008000;
  text-decoration: underline;
 }
 a.rvts5, span.rvts5 /* Jump 2 */
 {
  font-size: 10pt;
  font-family: 'Arial';
  color: #008000;
  text-decoration: underline;
 }
 span.rvts6
 {
  font-size: 11pt;
  font-family: 'tahoma';
  font-weight: bold;
  color: #ffffff;
  background-color: #0000ff;
 }
 span.rvts7
 {
  font-size: 11pt;
  font-family: 'tahoma';
 }
 span.rvts8
 {
  font-size: 8pt;
  font-family: 'arial';
  font-style: italic;
  color: #c0c0c0;
 }
 a.rvts9, span.rvts9
 {
  font-size: 8pt;
  font-family: 'arial';
  color: #0000ff;
  text-decoration: underline;
 }
 /* ========== Para Styles ========== */
 p,ul,ol /* Paragraph Style */
 {
  text-align: left;
  text-indent: 0px;
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
 }
 .rvps1 /* Centered */
 {
  text-align: center;
 }
 --></style>
 </head>
 <body>
 
 <p>Здравствуйте, Alan.</p>
 <p><br></p>
 <p>Вы писали 2 февраля 2012 г., 0:24:55:</p>
 <p><br></p>
 <div><table border=0 cellpadding=1 cellspacing=2>
 <tr valign=top>
 <td width=12 style="background-color: #0000ff;">
 <p><span class=rvts6>&gt;</span></p>
 </td>
 <td width=737 style="background-color: #ffffff;">
 <p><span class=rvts7>kill -9 &nbsp;doesn't want to play either?</span></p>
 <p><br></p>
 <p><span class=rvts7>Read the docs/debugging file. Compile FR with debugging/developer stuff and run it under gdbm control and do your killing of firebird again.</span></p>
 <p><br></p>
 <p><span class=rvts7>It's likely to be the PERL integration as thats what will get done in when firebird is restarted. Are you perl with threading?</span></p>
 <p><br></p>
 <p><span class=rvts7>Not sure why your going through hoops for firebird access, I'm sure there's a native module....</span></p>
 <p><br></p>
 <p><span class=rvts7>alan</span></p>
 <p><br></p>
 <p><br></p>
 </td>
 </tr>
 </table>
 </div>
 <p><br></p>
 <p><br></p>
 <p># pkg_info | grep fire</p>
 <p>firebird-client-2.5.1 Firebird-2 database client</p>
 <p>firebird-server-2.5.1 Firebird-2 relational database (server)</p>
 <p># pkg_info | grep radi</p>
 <p>freeradius-2.1.12 &nbsp; A free RADIUS server implementation</p>
 <p><br></p>
 <p># perl -V</p>
 <p>Summary of my perl5 (revision 5 version 14 subversion 1) configuration:</p>
 <p><br></p>
 <p>&nbsp; Platform:</p>
 <p>&nbsp; &nbsp; osname=freebsd, osvers=9.0-current, archname=i386-freebsd-thread-multi-64int</p>
 <p>&nbsp; &nbsp; uname='freebsd flux 9.0-current freebsd 9.0-current #4: fri jun 10 01:30:12 utc 2011 adm at flux:usrobjusrsrcsyspae_kes i386 '</p>
 <p>&nbsp; &nbsp; config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.14.1/mach -Dprivlib=/usr/local/lib/perl5/5.14.1 -Dman3dir=/usr/local/lib/perl5/5.14.1/perl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.14.1/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.14.1 -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/5.14.1/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dinc_version_lis t=none -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.14.1/BSDPAN" -Doptimize=-O2 -pipe -fno-strict-aliasing -Ui_gdbm -Dusethreads=y -Dusemymalloc=n -Duse64bitint'</p>
 <p>&nbsp; &nbsp; hint=recommended, useposix=true, d_sigaction=define</p>
 <p>&nbsp; &nbsp; useithreads=define, usemultiplicity=define</p>
 <p>&nbsp; &nbsp; useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef</p>
 <p>&nbsp; &nbsp; use64bitint=define, use64bitall=undef, uselongdouble=undef</p>
 <p>&nbsp; &nbsp; usemymalloc=n, bincompat5005=undef</p>
 <p>&nbsp; Compiler:</p>
 <p>&nbsp; &nbsp; cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.14.1/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',</p>
 <p>&nbsp; &nbsp; optimize='-O2 -pipe -fno-strict-aliasing',</p>
 <p>&nbsp; &nbsp; cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.14.1/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'</p>
 <p>&nbsp; &nbsp; ccversion='', gccversion='4.2.2 20070831 prerelease [FreeBSD]', gccosandvers=''</p>
 <p>&nbsp; &nbsp; intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678</p>
 <p>&nbsp; &nbsp; d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12</p>
 <p>&nbsp; &nbsp; ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8</p>
 <p>&nbsp; &nbsp; alignbytes=4, prototype=define</p>
 <p>&nbsp; Linker and Libraries:</p>
 <p>&nbsp; &nbsp; ld='cc', ldflags ='-pthread -Wl,-E &nbsp;-fstack-protector -L/usr/local/lib'</p>
 <p>&nbsp; &nbsp; libpth=/usr/lib /usr/local/lib</p>
 <p>&nbsp; &nbsp; libs=-lgdbm -lm -lcrypt -lutil</p>
 <p>&nbsp; &nbsp; perllibs=-lm -lcrypt -lutil</p>
 <p>&nbsp; &nbsp; libc=, so=so, useshrplib=true, libperl=libperl.so</p>
 <p>&nbsp; &nbsp; gnulibc_version=''</p>
 <p>&nbsp; Dynamic Linking:</p>
 <p>&nbsp; &nbsp; dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' &nbsp;-Wl,-R/usr/local/lib/perl5/5.14.1/mach/CORE'</p>
 <p>&nbsp; &nbsp; cccdlflags='-DPIC -fPIC', lddlflags='-shared &nbsp;-L/usr/local/lib -fstack-protector'</p>
 <p><br></p>
 <p><br></p>
 <p>Characteristics of this binary (from libperl):</p>
 <p>&nbsp; Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV</p>
 <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP</p>
 <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS</p>
 <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF</p>
 <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; USE_REENTRANT_API</p>
 <p>&nbsp; Built under freebsd</p>
 <p>&nbsp; Compiled at Dec &nbsp;9 2011 03:57:41</p>
 <p>&nbsp; @INC:</p>
 <p>&nbsp; &nbsp; /usr/local/lib/perl5/5.14.1/BSDPAN</p>
 <p>&nbsp; &nbsp; /usr/local/lib/perl5/site_perl/5.14.1/mach</p>
 <p>&nbsp; &nbsp; /usr/local/lib/perl5/site_perl/5.14.1</p>
 <p>&nbsp; &nbsp; /usr/local/lib/perl5/5.14.1/mach</p>
 <p>&nbsp; &nbsp; /usr/local/lib/perl5/5.14.1</p>
 <p>&nbsp; &nbsp; .</p>
 <p><br></p>
 <p>firebird is restarted without any problem.</p>
 <p>also if I ran after that 'radiusd -X' it is works fine too</p>
 <p># ps ax|grep rad</p>
 <p>&nbsp;9438 &nbsp;?? &nbsp;TLs &nbsp; &nbsp; 5:10.12 /usr/local/sbin/radiusd</p>
 <p>37170 &nbsp; 3 &nbsp;I+ &nbsp; &nbsp; &nbsp;0:00.33 radiusd -X</p>
 <p><br></p>
 <p>but, as you see, &nbsp;old 'radiusd' process is in state STOP and I can not do anything with them.</p>
 <p>As I have said erlier, even when I '#reboot' server hangsup waiting 'radiusd' for die</p>
 <p>Only hard reboot helps.</p>
 <p><br></p>
 <p>Maybe I do not understand correct, but it seems problem with a 'virtual memory' (vm_??):</p>
 <p>&nbsp; vm_map_lookup vm_fault_hold vm_fault trap_pfault trap calltrap</p>
 <p><br></p>
 <p>PS. in 'radiusd -X' mode bug is not repeatable.</p>
 <p><br></p>
 <p><span class=rvts8>--&nbsp;</span></p>
 <p><span class=rvts8>С уважением,</span></p>
 <p><span class=rvts8>&nbsp;Коньков &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><a class=rvts9 href="mailto:kes-kes at yandex.ru">mailto:kes-kes at yandex.ru</a></p>
 
 </body></html>
 


More information about the freebsd-bugs mailing list