Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 1997 10:53:08 +0000 (GMT)
From:      Paulo Cesar Pereira de Andrade <paulo@netpar.com.br>
To:        bugs@freebsd.org
Subject:   inetd in realloc
Message-ID:  <Pine.BSF.3.96.970917101236.15529C-100000@canario.fiscodata>

next in thread | raw e-mail | index | archive | help

    Hi, after running out of swap space, my FreeBSD box is in trouble,
so, before I restart it, I guess you would like to know what is happening.

    It have been restarted last sunday (due to power failure).

uname:
------------
FreeBSD canario.fiscodata 2.2-STABLE FreeBSD 2.2-STABLE #0: Fri Aug 22
21:53:41 GMT 1997
root@canario.fiscodata:/usr/src/sys/compile/OTIMIZADO  i386
------------
(I have the last sources, but did not make world yet)


swapinfo:
------------
Device      1K-blocks     Used    Avail Capacity  Type
/dev/sd0s1b    122880    27136    95680    22%    Interleaved
------------


dmesg:
------------
Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 2.2-STABLE #0: Fri Aug 22 21:53:41 GMT 1997
    root@canario.fiscodata:/usr/src/sys/compile/OTIMIZADO
CPU: AMD Enhanced Am486DX4 Write-Through (486-class CPU)
  Origin = "AuthenticAMD"  Id = 0x484  Stepping=4
  Features=0x1<FPU>
real memory  = 16777216 (16384K bytes)
avail memory = 14778368 (14432K bytes)
ahc0: <Adaptec 284X SCSI host adapter> at 0x1c00-0x1cff irq 11 on eisa0 slot 1
ahc0: aic7770 >= Rev E, Single Channel, SCSI Id=0, 4 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:1:0): "HP C3724S 5153" type 0 fixed SCSI 2
sd0(ahc0:1:0): Direct-Access 1149MB (2354660 512 byte sectors)
(ahc0:6:0): "QUANTUM MAVERICK 540S 0901" type 0 fixed SCSI 2
sd1(ahc0:6:0): Direct-Access 516MB (1057758 512 byte sectors)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <12 virtual consoles, flags=0x0>
ed0 at 0x320-0x33f irq 5 on isa
ed0: address 00:c0:df:12:9f:d2, type NE2000 (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16450
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16450
sio2: disabled, not probed.
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 not found at 0xffffffff
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 765
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
WARNING: / was not properly dismounted.
pid 1752 (ping), uid 1000: exited on signal 3
swap_pager: out of swap space
pid 690 (perl), uid 0, was killed: out of swap space
pid 3130 (perl), uid 1001: exited on signal 11 (core dumped)
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
pid 8037 (ipop3d), uid 0: exited on signal 6 (core dumped)
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
pid 8047 (ipop3d), uid 0: exited on signal 6 (core dumped)
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
pid 8061 (sendmail), uid 0, was killed: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
swap_pager: out of swap space
pid 11374 (perl), uid 0, was killed: out of swap space
------------


Messages to root:
------------
checking setuid files and devices:


checking for uids of 0:
root 0
toor 0
cmp: EOF on /var/log/dmesg.today


canario kernel log messages:
[Messages from dmesg]
-------------


Problem 1:
-------------
> telnet 0
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
inetd in realloc(): warning: junk pointer, too low to make sense.

FreeBSD (canario.fiscodata) (ttyp5)

login:
-------------
After this point, everithing seems to work fine.


Problem 2:
-------------
> ftp 0
Connected to 0.
inetd in realloc(): warning: junk pointer, too low to make sense.
ftp> ls
Not connected.
ftp> open 0
Not connected.
ftp> open 0
Connected to 0.
inetd in realloc(): warning: junk pointer, too low to make sense.
ftp> user
Not connected.
ftp>
-------------
Cant connect.

>From a Windows box:
-------------
F:\>ftp canario
Connected to canario.fiscodata.
inetd in realloc(): warning: junk pointer, too low to make sense.
User (canario.fiscodata:(none)): paulo
220 canario.fiscodata FTP server (Version 6.00) ready.
ftp> ls
331 Password required for paulo.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
ftp> user
-------------
Worked

Again:
-------------
F:\>ftp canario
Connected to canario.fiscodata.
inetd in realloc(): warning: junk pointer, too low to make sense.
User (canario.fiscodata:(none)): paulo
220 canario.fiscodata FTP server (Version 6.00) ready.
ftp> ls
331 Password required for paulo.
ftp> user paulo
530 Please login with USER and PASS.
Login failed.
ftp> user
(username) paulo
331 Password required for paulo.
Password:
331 Password required for paulo.
Account: paulo
230 User paulo logged in.
502 ACCT command not implemented.
Login failed.
ftp> user
-------------
Worked

Sometimes, ftp works "in the first try".


    Sorry for the long email, but I think it is important.


Paulo.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970917101236.15529C-100000>