Professional Web Applications Themes

FreeBSD 5.3 and too many files open... - FreeBSD

Hi, i run into a problem on a FreeBSD 5.3-STABLE Applicationserver (2GB of RAM, 4GB Swap, Dual XEON 3.06Ghz). The box serves the "xfrce4-panel" for 80 Network Clients via ssh so the Users can start OpenOffice.org and firefox from that panel. It is goin very well, except a message (and also a problem) i run into the last day. If i tried to open firefox from a networkclient and received the message "too many files open...". I saw that message on 3 different Network Clients and just after a fresh configure and the first time starting firfox on these Networkclients ...

  1. #1

    Default FreeBSD 5.3 and too many files open...


    Hi,

    i run into a problem on a FreeBSD 5.3-STABLE Applicationserver (2GB of RAM,
    4GB Swap, Dual XEON 3.06Ghz).
    The box serves the "xfrce4-panel" for 80 Network Clients via ssh so the
    Users can start OpenOffice.org and firefox from that panel.
    It is goin very well, except a message (and also a problem) i run into the
    last day.
    If i tried to open firefox from a networkclient and received the message
    "too many files open...". I saw that message on 3 different Network Clients
    and just after a fresh configure and the first time starting firfox on
    these Networkclients with that UID.

    I checked my configuration on the server about "openfiles":

    kern.openfiles:9306
    kern.maxfiles:65536

    netstat -m
    3952 mbufs in use
    732/64000 mbuf clusters in use (current/max)
    [...]

    "fstat" shows me 393 on User A and on User B 3459. I did not check the
    other users.

    kern.maxfilesperproc: 5898
    kern.maxusers: 384

    My /boot/loader.conf looks like:
    kern.maxfiles="65536"
    kern.ipc.nmbclusters=64000
    kern.ipc.nmbufs=256000
    kern.maxproc=8192
    kern.ipc.somaxconn=4096

    So i do not get it, imho the configuration is just fine, but why do i get
    the message "too many files open..."?

    Thanks in advance

    Axel.Gruner@suedfactoring.de Guest

  2. #2

    Default Re: FreeBSD 5.3 and too many files open...

    # de: 

    What does ulimit -a tell? Any limits in /etc/login.conf?

    Regards,
    Mario
    Mario Guest

  3. #3

    Default Re: FreeBSD 5.3 and too many files open...


    Mario wrote:
     [/ref]
     

    Well, "limit" tells me:

    limit
    cputime unlimited
    filesize unlimited
    datasize 524288 kbytes
    stacksize 65536 kbytes
    coredumpsize 2048 kbytes
    memoryuse unlimited
    vmemoryuse unlimited
    descriptors 58982
    memorylocked unlimited
    maxproc 7372
    sbsize unlimited

    (in the future i have to fix cputime, filesize,... to accaptable value...)


    Axel.Gruner@suedfactoring.de Guest

  4. #4

    Default Re: FreeBSD 5.3 and too many files open...

    Hi,

    On Wed, 23 Mar 2005 de wrote:
     

    I think there is a separate limit for sockets, which you may be
    hitting. Check with "sysctl kern.ipc | grep socket".

    $.02,
    /Mikko
    Mikko Guest

Similar Threads

  1. Duplicate files open anytime I open a file
    By Steve_O_Connell@adobeforums.com in forum Adobe Illustrator Windows
    Replies: 4
    Last Post: August 6th, 06:11 PM
  2. #25886 [Com]: failed to open stream: Too many open files in Unknown on line 0
    By michel dot jansens at ulb dot ac dot be in forum PHP Development
    Replies: 0
    Last Post: October 17th, 07:14 AM
  3. #25886 [Bgs]: failed to open stream: Too many open files in Unknown on line 0
    By padair at pntsi dot ca in forum PHP Development
    Replies: 1
    Last Post: October 16th, 03:41 PM
  4. Replies: 0
    Last Post: October 16th, 04:54 AM
  5. #25886 [NEW]: failed to open stream: Too many open files in Unknown on line 0
    By padair at pntsi dot ca in forum PHP Development
    Replies: 0
    Last Post: October 16th, 04:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139