From: Nix <nix@esperi.org.uk>
To: Jeff Dike <jdike@addtoit.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] skas & /proc/mm in the host kernel, yet /proc/mm 'not found'
Date: Mon, 10 Nov 2003 07:33:45 +0000 [thread overview]
Message-ID: <878ymoiso6.fsf@amaterasu.srvr.nix> (raw)
In-Reply-To: <200311100239.hAA2daxD013066@ccure.user-mode-linux.org> (Jeff Dike's message of "Sun, 09 Nov 2003 21:39:36 -0500")
On Sun, 09 Nov 2003, Jeff Dike spake:
> nix@esperi.demon.co.uk said:
>> Kernel panic: init_new_context_skas - new_mm failed, errno = -24
>
> This is EMFILE - Too many open files
>
> Do you have a disgustingly low file limit, or was UML opening an immense number
> of files? Looking at /proc/<pid>/fd for a UML pid would be informative.
Hm, well, the system as a whole is hardly straining:
953 266 8192
and while each UML thread has a lot of stuff open, it doesn't have
*that* many (and I can't see why it would have many more as this
UML is rarely much busier than it is now):
/proc/297/fd:
total 36
lr-x------ 1 firewall firewall 64 Nov 10 07:28 0 -> /dev/null
l-wx------ 1 firewall firewall 64 Nov 10 07:28 1 -> /dev/null
l-wx------ 1 firewall firewall 64 Nov 10 07:28 10 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 11 -> /proc/mm
lrwx------ 1 firewall firewall 64 Nov 10 07:28 12 -> socket:[4351]
l-wx------ 1 firewall firewall 64 Nov 10 07:28 13 -> /proc/mm
lrwx------ 1 firewall firewall 64 Nov 10 07:28 14 -> /dev/net/tun
lrwx------ 1 firewall firewall 64 Nov 10 07:28 15 -> /dev/net/tun
l-wx------ 1 firewall firewall 64 Nov 10 07:28 16 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 17 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 18 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 19 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 2 -> /dev/null
l-wx------ 1 firewall firewall 64 Nov 10 07:28 20 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 21 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 22 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 23 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 24 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 25 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 26 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 27 -> /proc/mm
lrwx------ 1 firewall firewall 64 Nov 10 07:28 28 -> /home/.loki.wkstn.nix/firewall/log/esperi/1068250386-456237
l-wx------ 1 firewall firewall 64 Nov 10 07:28 29 -> /proc/mm
lrwx------ 1 firewall firewall 64 Nov 10 07:28 3 -> /tmp/vm_file-AUj74X (deleted)
l-wx------ 1 firewall firewall 64 Nov 10 07:28 30 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 33 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 35 -> /proc/mm
l-wx------ 1 firewall firewall 64 Nov 10 07:28 36 -> /proc/mm
lrwx------ 1 firewall firewall 64 Nov 10 07:28 37 -> /home/.loki.wkstn.nix/firewall/log/esperi/1068250771-738857
l-wx------ 1 firewall firewall 64 Nov 10 07:28 38 -> /proc/mm
lrwx------ 1 firewall firewall 64 Nov 10 07:28 4 -> socket:[1375]
lrwx------ 1 firewall firewall 64 Nov 10 07:28 5 -> socket:[1378]
lrwx------ 1 firewall firewall 64 Nov 10 07:28 6 -> socket:[1379]
lrwx------ 1 firewall firewall 64 Nov 10 07:28 7 -> /mirror/uml/esperi-root-cow.image
lr-x------ 1 firewall firewall 64 Nov 10 07:28 8 -> /mirror/uml/esperi-root.image
lrwx------ 1 firewall firewall 64 Nov 10 07:28 9 -> /home/.loki.wkstn.nix/firewall/log/esperi/1068250066-884422
It seems to me that it would take quite a change for this to rise to
thousands upon thousands of open fds.
(There are 31 processes running in this UML right now.) Of course this
UML's only been running for two days.
The crash seems to happen when I'm sshed in from the outside world doing
things that involve lots of tty activity: I wonder if the tty logging
may be at fault?
I'll do a watched ls -l on /proc/297/fd when I'm sshed in next (in a
couple of hours) and see what happens.
>> hppfs_open : failed to open a socket in 'proc/uptime/r', err = 1
>
> This is likely the same thing, just the errno return was botched.
The odd thing is that I have no hppfs filesystems mounted. It's *there*,
but I've not used it (or honeypot.pl or any similar thing) as UML
started panicking on me in short order (minutes) whenever I used it.
--
`Me, I want exploding spaceships and pulverized worlds and clashes of
billion-year-old empires *and* competently written sentences.'
--- Matt Austern
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2003-11-10 7:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-18 20:37 [uml-devel] Re: Re: compile problem with uml-patch-2.4.22-4 Ross Combs
[not found] ` <20030919095020.294F93BCE4@home.petschge.de>
2003-09-20 8:03 ` Henrik Nordstrom
2003-09-20 17:35 ` [uml-devel] " Patrick "Petschge" Kilian
2003-09-22 9:49 ` [uml-devel] skas & /proc/mm in the host kernel, yet /proc/mm 'not found' Rod Moffitt
2003-09-23 20:16 ` Jeff Dike
2003-09-24 3:35 ` Rod Moffitt
2003-09-24 16:19 ` Jeff Dike
2003-09-24 16:47 ` Rod Moffitt
2003-10-06 21:22 ` Jeff Dike
2003-11-10 1:55 ` Jeff Dike
2003-09-28 15:45 ` Nix
2003-10-06 21:25 ` Jeff Dike
2003-10-08 14:00 ` Nix
2003-11-10 2:39 ` Jeff Dike
2003-11-10 7:33 ` Nix [this message]
2003-11-11 20:13 ` Jeff Dike
2003-11-11 20:20 ` Nix
2003-09-23 20:19 ` [uml-devel] Re: compile problem with uml-patch-2.4.22-4 Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878ymoiso6.fsf@amaterasu.srvr.nix \
--to=nix@esperi.org.uk \
--cc=jdike@addtoit.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.