On Friday 25 November 2005 19:52, Jesús García Crespo wrote: > On Wed, 23 Nov 2005 18:42:31 +0100
> Blaisorblade <[EMAIL PROTECTED]> wrote: > > Opening a file on hostfs consumes a fd (not permanently - just as > > long as the file is open in the guest), so the kernel crashes as soon > > as it opens a file (in SKAS3 mode, once per fork()/exec() at least). > You are right, my Apache-UserMode-Linux logs ara saved in a hostfs > directory. I found it useful to generate my stats from the host > although I don't know if there is a big slow down performance. > host-euler $ cat /proc/sys/fs/file-nr > 2025 0 101418 > uml-basilea $ cat /proc/sys/fs/file-nr > 300 0 29934 > > In that case, increasing the ulimit on the host (play with ulimit and > > the PAM configuration file /etc/limits.conf, or wherever it is) > > should solve the problem. > Yes, it was solved (at least until now) editing limits.conf. > It seems that "ulimit -n" is ignored no > since the value in my host system is "1024" which is per-process... > and I see in file-nr that there are 2025 files opened! which is per whole system. > I added this to my /etc/security/limits.conf file (from > sys-libs/pam package of Gentoo Linux): > @uml hard nofile 2048 > @uml soft nofile 1024 > and all seems to work fine! -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user