Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 22:06:33 +0200
From:      Len Conrad <LConrad@Go2France.com>
To:        freebsd-hackers@freebsd.org
Subject:   how to trace file error
Message-ID:  <5.1.0.14.0.20010817220224.04e7fae0@mail.Go2France.com>

next in thread | raw e-mail | index | archive | help
Sorry, -hackers, no answer on -questions.


When using the ecartis 1.0.0 (ex-Listar) web interface on 4.2-release, and 
trying to log in without a password, login fails and mails this report:

Error report:

     List:
     User:
   Action:
     File: /home/ecartis/lists/SITEDATA/cookies
    Error: Bad file descriptor
-- queuefile in error --
<< NO QUEUEFILE! >>

The comment by Rachel Blackman, the ecartis developer, is:

"After a bit of abuse, I was able to produce this error when my own
FreeBSD-4.2 box ran out of file descriptors due to a rogue process (in this
case, a faulty PHP/FI engine compile that was not always freeing file
handles for some reason).  Perhaps something similar is affecting your box?"

The box is a dedicated list server, nothing else running.

kern.maxfiles: 16384

kern.maxfilesperproc: 16384

vm.zone:

ITEM            SIZE     LIMIT    USED    FREE  REQUESTS

PIPE:            160,        0,     44,     58,      866
SWAPMETA:        160,   256500,      0,      0,        0
unpcb:            64,        0,     26,    294,     2960
ripcb:           192,    65536,      0,     42,        4
tcpcb:           544,    65536,      9,     68,      920
udpcb:           192,    65536,      6,     36,     2457
tcpcb:           544,    65536,      0,      0,        0
socket:          192,    65536,     41,    316,     6346
KNOTE:            64,        0,      0,    128,     2280
NFSNODE:         320,        0,      0,      0,        0
NFSMOUNT:        544,        0,      0,      0,        0
VNODE:           192,        0,   1692,    110,     1692
NAMEI:          1024,        0,      0,     16,   135476
VMSPACE:         192,        0,     38,     90,      864
PROC:            416,        0,     43,    104,      870
DP fakepg:        64,        0,      0,      0,        0
PV ENTRY:         28,  1494926,  10383, 120680,   281535
MAP ENTRY:        48,        0,    808,    935,    32037
KMAP ENTRY:       48,    32190,    272,    111,     1298
MAP:             108,        0,      7,      3,        7
VM OBJECT:        96,        0,   1276,    492,    19321


What kind of tool is there to watch file openings and catch errors?

Or any other ideas?

The box works fine as list server, sending 200K+ messages (via postfix) per 
day just fine.  But I only try the LSG web login when no list is being 
delivered.   nothing in maillog, dmesg, or messages.

Len



http://MenAndMice.com/DNS-training
http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4 & W2K
http://IMGate.MEIway.com  : Build free, hi-perf, anti-abuse mail gateways


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20010817220224.04e7fae0>