user_beancounters -> failcnt bei numfile 693

Jo Ke

Registered User
Hallo zusammen,

kann ich eigentlich irgend etwas gegen diese Fehler hier machen?
Es handelt sich um einen Basic vServer von S4Y. Ich mache darauf so gut wie gar nichts, aber leider muss ich immer zwischendurch booten weil er sagt, dass zu viele Files open sind.

Code:
vs:~ # cat /proc/user_beancounters
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
    : kmemsize        3214625    6757401    7056211    7761832          0
            lockedpages           0          0        344        344          0
            privvmpages       35486      88350      87632      96396        [COLOR="Red"]140[/COLOR]
            shmpages            641       1937      19567      19567          0
            dummy                 0          0          0          0          0
            numproc              35        116        128        128          0
            physpages         24449      33926          0 2147483647          0
            vmguarpages           0          0      65536 2147483647          0
            oomguarpages      24925      45531      65536 2147483647          0
            numtcpsock           17         49        172        172          0
            numflock              5         27        224        246          0
            numpty                1          3         16         16          0
            numsiginfo            0         43        512        512          0
            tcpsndbuf         15596     234484    1416560    2768240          0
            tcprcvbuf             0     342080    1416560    2768240          0
            othersockbuf     197856     451208     655717    1153621          0
            dgramrcvbuf           0     218076     655717     655717          0
            numothersock        125        223        228        228        [COLOR="Red"]177[/COLOR]
            dcachesize       529802     779634    1002127    1032191          0
            numfile            1302       2240       2240       2240        [COLOR="Red"]693[/COLOR]
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            32         32         64         64          0
vs:~ #


Viele Grüße
Jo Ke
 
Hallo djrick,

hier ist sie:
Code:
vs:/home # ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0    604   192 ?        Ss   Nov13   0:00 init [3]
root     23904  0.0  0.0   1460   652 ?        Ss   Nov13   0:00 /sbin/syslogd -a /var/lib/named/dev/log -a /var/lib/ntp/dev/
root     23907  0.0  0.0   1400   464 ?        Ss   Nov13   0:00 /sbin/klogd -c 1 -x -x
root     23914  0.0  0.0   4316  1496 ?        Ss   Nov13   0:00 /usr/sbin/saslauthd -a pam -n 1
root     23928  0.0  0.0   2868  1064 ?        Ss   Nov13   0:00 /usr/sbin/dovecot
root     23954  0.0  0.0   7376  5112 ?        Ss   Nov13   0:00 /usr/bin/perl /usr/local/webmin/miniserv.pl /etc/webmin/mini
root     23969  0.0  0.0   5624  1516 ?        S    Nov13   0:01 dovecot-auth
root     23998  0.0  0.0   2384   924 ?        S    Nov13   0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var/li
mysql    24053  0.0  0.0  26852  5180 ?        Sl   Nov13   0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --u
root     24063  0.0  0.0   4532  1692 ?        Ss   Nov13   0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root     24073  0.0  0.0   2080   732 ?        Ss   Nov13   0:00 /usr/sbin/xinetd
root     24198  0.0  0.0   4312  1340 ?        Ss   Nov13   0:00 /usr/lib/postfix/master
root     24272  0.0  0.0  22740  5896 ?        Ss   Nov13   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
vscan    24288  0.0  0.5  42852 31688 ?        S    Nov13   0:10 /usr/sbin/clamd
root     24301  0.0  0.0   1672   680 ?        Ss   Nov13   0:00 /usr/sbin/cron
vscan    24313  0.0  0.0   3772  1376 ?        Ss   Nov13   0:00 /usr/bin/freshclam -d
vscan    26239  0.0  0.3  37956 22588 ?        Ss   Nov13   0:01 amavisd (master)
postfix  15846  0.0  0.0   4396  1540 ?        S    Nov13   0:00 qmgr -l -t fifo -u
postfix  16014  0.0  0.0   4356  1268 ?        S    Nov13   0:00 tlsmgr -l -t unix -u
vscan    28483  0.0  0.5  39184 31388 ?        S    05:21   0:01 amavisd (ch4-avail)
postfix  17613  0.0  0.0   4356  1440 ?        S    09:21   0:00 pickup -l -t fifo -u
root     25747  0.0  0.0   7740  2580 ?        Ss   10:13   0:00 sshd: root@notty
root     25846  0.0  0.0   4548  1604 ?        Ss   10:13   0:00 /usr/lib/ssh/sftp-server
root     28521  0.0  0.0   7596  2452 ?        Ss   10:14   0:00 sshd: root@notty
root     28588  0.0  0.0   4272  1356 ?        Ss   10:14   0:00 /usr/lib/ssh/sftp-server
root      3660  0.0  0.0   7732  2476 ?        Rs   10:17   0:00 sshd: root@pts/0
root      3712  0.0  0.0   2836  1812 pts/0    Ss   10:17   0:00 -bash
wwwrun    9760  0.6  0.2  31000 16156 ?        S    10:22   0:02 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
1009     10047  0.0  0.0   2204  1004 ?        S    10:23   0:00 imap
dovecot  10048  0.0  0.0   2856   992 ?        S    10:23   0:00 imap-login
1008     13529  0.0  0.0   1952   924 ?        S    10:26   0:00 imap
wwwrun   15404  1.6  0.2  30516 15776 ?        S    10:28   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
postfix  15458  0.0  0.0   4888  2612 ?        S    10:28   0:00 smtpd -n smtp -t inet -u -o content_filter smtp:[127.0.0.1]:
postfix  15460  0.0  0.0   4344  1444 ?        S    10:28   0:00 proxymap -t unix -u
postfix  15463  0.0  0.0   4364  1796 ?        S    10:28   0:00 trivial-rewrite -n rewrite -t unix -u
postfix  15464  0.0  0.0   4404  1868 ?        S    10:28   0:00 cleanup -z -t unix -u
postfix  15465  0.0  0.0   4456  2012 ?        S    10:28   0:00 smtp -t unix -u
dovecot  15472  0.0  0.0   2864   996 ?        S    10:28   0:00 imap-login
postfix  15484  0.0  0.0   4892  2608 ?        S    10:28   0:00 smtpd -n localhost:10025 -t inet -u -o content_filter
postfix  15485  0.0  0.0   4416  1868 ?        S    10:28   0:00 local -t unix
dovecot  15488  0.0  0.0   2856   988 ?        S    10:28   0:00 imap-login
root     16343  0.0  0.0   1676   700 ?        S    10:30   0:00 /usr/sbin/cron
root     16352  0.1  0.0   2376  1052 ?        Ss   10:30   0:00 /bin/sh -c  test -x /usr/lib/cron/run-crons && /usr/lib/cron
root     16377  0.0  0.0   1676   700 ?        S    10:30   0:00 /usr/sbin/cron
wwwrun   17414  3.5  0.0   9772  3916 ?        Rs   10:30   0:00 /usr/bin/php -qC /srv/www/htdocs/egroupware/phpgwapi/cron/as
root     17619  0.5  0.0   2372  1116 ?        S    10:30   0:00 /bin/bash /usr/lib/cron/run-crons
root     19897  3.0  0.0   2388   860 pts/0    R+   10:30   0:00 ps aux

Gruß & Dank
Jo Ke
 
Hallo zusammen,

hat noch jemand eine Idee? Oder muss ich upgraden? Irgendwie kann ich die Probleme nicht wirklich nachvollziehen.

Viele Grüße
Jo Ke
 
Versuch einmal dein System "schlanker" zu machen.
Die Instanzen von MySQL und Apache sind soweit ok. Aber ich würde zum Beispiel IMAP (wenn nicht benötigt) beenden oder in den Xinet.d schieben. Ich weiss auch nicht wieviele Resourcen zB das PHP Script braucht was da noch läuft...

Es ist halt nur ein kleiner Vserver den darf man nicht überfordern :)
 
Könnt ihr vllt. bei mir auch mal schauen. Der Server wird nach 24h extrem lansgam, jeden Abend!

Code:
vs166124:~# cat /proc/user_beancounters
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
    166124: kmemsize        3006686    5423449    7056211    7761832          0
            lockedpages           0          0        344        344          0
            privvmpages       69090      93700      87632      96396       9372
            shmpages            655       3935      19567      19567          0
            dummy                 0          0          0          0          0
            numproc              42         77        128        128          0
            physpages         22885      33081          0 2147483647          0
            vmguarpages           0          0      65536 2147483647          0
            oomguarpages      22932      39691      65536 2147483647          0
            numtcpsock           15         32        172        172          0
            numflock              3         15        224        246          0
            numpty                1          2         16         16          0
            numsiginfo            0         21        512        512          0
            tcpsndbuf        136396     317512    1416560    2768240          0
            tcprcvbuf        166076     604468    1416560    2768240          0
            othersockbuf      19424     289608     655717    1153621          0
            dgramrcvbuf           0      21000     655717     655717          0
            numothersock         16         72        228        228          0
            dcachesize            0          0    1002127    1032191          0
            numfile            1602       2240       2240       2240      10008
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            10         11         64         64          0
und
Code:
vs166124:~# ps aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  1504  512 ?        Ss   20:27   0:00 init [2]
root     10207  0.0  0.0  1560  536 ?        Ss   20:27   0:00 /sbin/syslogd
bind     10225  0.0  0.0 66308 2336 ?        Ss   20:27   0:00 /usr/sbin/named -
root     11415  0.2  0.3 27112 24868 ?       SNs  20:27   0:00 /usr/sbin/spamd -
root     11759  0.0  0.4 27872 25552 ?       SN   20:28   0:00 spamd child
clamav   11785  0.0  0.2 30248 16992 ?       Ss   20:28   0:00 /usr/sbin/clamd
clamav   11871  0.0  0.0  4096  700 ?        Ss   20:28   0:00 /usr/bin/freshcla
root     11879  0.0  0.0  2556  656 ?        Ss   20:28   0:00 /usr/bin/dirmngr
Debian-  12152  0.0  0.0  8444 1304 ?        Ss   20:28   0:00 /usr/sbin/exim4 -
root     12161  0.0  0.0  1540  480 ?        Ss   20:28   0:00 /usr/sbin/inetd
root     12199  0.0  0.0  2508 1236 ?        S    20:28   0:00 /bin/sh /usr/bin/
mysql    13314  0.1  0.1 44092 7136 ?        S    20:28   0:00 /usr/sbin/mysqld
root     13317  0.0  0.0  1488  500 ?        S    20:28   0:00 logger -p daemon.
root     13446  0.0  0.0 53060  788 ?        Ss   20:28   0:00 /usr/sbin/nscd
root     13470  0.0  0.0  6556  960 ?        Ss   20:28   0:00 /usr/sbin/saslaut
root     13485  0.0  0.0  3360  912 ?        Ss   20:28   0:00 /usr/sbin/sshd
root     13495  0.0  0.0  4648 3012 ?        Ss   20:28   0:00 /usr/bin/X11/xfs
root     13684  0.0  0.0  2540  616 ?        S    20:28   0:00 /bin/bash /etc/rc
root     13686  0.0  0.0  2540  788 ?        S    20:28   0:00 /bin/bash /etc/rc
root     13688  0.0  0.0 11684 3208 ?        S    20:28   0:00 /usr/X11R6/bin/Xp
root     13691  0.0  0.0  2540  708 ?        S    20:28   0:00 /bin/bash /etc/rc
nobody   13769  0.0  0.0  4004 1108 ?        Ss   20:28   0:00 proftpd: (accepti
root     13781  0.0  0.0  1576  584 ?        Ss   20:28   0:00 /usr/sbin/cron
root     13866  0.0  0.1 26252 9328 ?        Ss   20:28   0:00 /usr/sbin/apache2
root     13889  0.0  0.0  3044 1312 ?        S    20:28   0:00 /usr/bin/perl /us
www-data 14061  0.6  0.2 32212 13976 ?       S    20:28   0:01 /usr/sbin/apache2
www-data 14252  0.6  0.2 32224 14108 ?       S    20:29   0:01 /usr/sbin/apache2
root     16298  0.0  0.0 17508 1772 ?        Rs   20:30   0:00 sshd: root@pts/0
root     19780  0.0  0.0  2416 1340 pts/0    Ss   20:30   0:00 -bash
root     24350  0.0  0.0  2308  724 pts/0    R+   20:33   0:00 ps aux
vs166124:~#
vs166124:~# ps aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  1504  512 ?        Ss   20:27   0:00 init [2]
root     10207  0.0  0.0  1560  536 ?        Ss   20:27   0:00 /sbin/syslogd
bind     10225  0.0  0.0 66308 2336 ?        Ss   20:27   0:00 /usr/sbin/named -u bind
root     11415  0.1  0.3 27112 24868 ?       SNs  20:27   0:00 /usr/sbin/spamd --create-prefs --max-chil
root     11759  0.0  0.4 27872 25552 ?       SN   20:28   0:00 spamd child
clamav   11785  0.0  0.2 30248 16992 ?       Ss   20:28   0:00 /usr/sbin/clamd
clamav   11871  0.0  0.0  4096  700 ?        Ss   20:28   0:00 /usr/bin/freshclam -d --quiet -p /var/run
root     11879  0.0  0.0  2556  656 ?        Ss   20:28   0:00 /usr/bin/dirmngr --daemon --sh
Debian-  12152  0.0  0.0  8444 1304 ?        Ss   20:28   0:00 /usr/sbin/exim4 -bd -q30m
root     12161  0.0  0.0  1540  480 ?        Ss   20:28   0:00 /usr/sbin/inetd
root     12199  0.0  0.0  2508 1236 ?        S    20:28   0:00 /bin/sh /usr/bin/mysqld_safe
mysql    13314  0.1  0.1 44092 7144 ?        S    20:28   0:00 /usr/sbin/mysqld --basedir=/usr --datadir
root     13317  0.0  0.0  1488  500 ?        S    20:28   0:00 logger -p daemon.err -t mysqld_safe -i -t
root     13446  0.0  0.0 53060  788 ?        Ss   20:28   0:00 /usr/sbin/nscd
root     13470  0.0  0.0  6556  960 ?        Ss   20:28   0:00 /usr/sbin/saslauthd -n 1 -a pam
root     13485  0.0  0.0  3360  912 ?        Ss   20:28   0:00 /usr/sbin/sshd
root     13495  0.0  0.0  4648 3012 ?        Ss   20:28   0:00 /usr/bin/X11/xfs -daemon
root     13684  0.0  0.0  2540  616 ?        S    20:28   0:00 /bin/bash /etc/rc2.d/S20xprint start
root     13686  0.0  0.0  2540  788 ?        S    20:28   0:00 /bin/bash /etc/rc2.d/S20xprint start
root     13688  0.0  0.0 11684 3208 ?        S    20:28   0:00 /usr/X11R6/bin/Xprt -ac -pn -nolisten tcp
root     13691  0.0  0.0  2540  708 ?        S    20:28   0:00 /bin/bash /etc/rc2.d/S20xprint start
nobody   13769  0.0  0.0  4004 1108 ?        Ss   20:28   0:00 proftpd: (accepting connections)
root     13781  0.0  0.0  1576  584 ?        Ss   20:28   0:00 /usr/sbin/cron
root     13866  0.0  0.1 26252 9328 ?        Ss   20:28   0:00 /usr/sbin/apache2 -k start -DSSL
root     13889  0.0  0.0  3044 1312 ?        S    20:28   0:00 /usr/bin/perl /usr/local/confixx/pipelog.
www-data 14061  0.5  0.2 32212 13976 ?       S    20:28   0:02 /usr/sbin/apache2 -k start -DSSL
www-data 14252  0.4  0.2 32224 14108 ?       S    20:29   0:01 /usr/sbin/apache2 -k start -DSSL
root     16298  0.0  0.0 17508 1772 ?        Rs   20:30   0:00 sshd: root@pts/0
root     19780  0.0  0.0  2416 1340 pts/0    Ss   20:30   0:00 -bash
root     26505  0.0  0.0  2308  724 pts/0    R+   20:35   0:00 ps aux

Danke euch! :)
 
weiss jemand ob s4y nachgträglich an den werten gedreht hat und leistungen beschnitten bez. open files etc.

wäre mal sehr interessant weil bei vielen von heute auf morgen nix mehr geht.
 
Last edited by a moderator:
Hallo zusammen,

es wird jeden Tag langsamer... Ich hatte das vor einem Jahr schon mal... Dann haben die s4y Kollegen anscheinend neue Server dazu gestellt und dann war es für ein paar Monate schnell. Jetzt ist es wieder nicht mehr zu ertragen... was soll ich nur tun?

:(

Regards
Jo Ke
 
Hallo v40,

das kann man so nicht sagen. Nur numfile ist einen hoch gegangen:

Code:
vs171134:~ # cat /proc/user_beancounters
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
    171134: kmemsize        3310325    6757401    7056211    7761832          0
            lockedpages           0          0        344        344          0
            privvmpages       50366      88350      87632      96396        140
            shmpages            641       1937      19567      19567          0
            dummy                 0          0          0          0          0
            numproc              35        116        128        128          0
            physpages         26370      43751          0 2147483647          0
            vmguarpages           0          0      65536 2147483647          0
            oomguarpages      37026      49225      65536 2147483647          0
            numtcpsock           14         49        172        172          0
            numflock              6         27        224        246          0
            numpty                1          3         16         16          0
            numsiginfo            0         43        512        512          0
            tcpsndbuf          8912     234484    1416560    2768240          0
            tcprcvbuf             0     342080    1416560    2768240          0
            othersockbuf     204540     451208     655717    1153621          0
            dgramrcvbuf           0     218076     655717     655717          0
            numothersock        127        223        228        228        177
            dcachesize       601552     779634    1002127    1032191          0
            numfile            1546       2240       2240       2240        694
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            32         32         64         64          0

Gruß & Dank
Jo Ke
 
Irgendwie sollten wir mal die Threads zusammenlegen, geht ja um das Gleiche (https://serversupportforum.de/threads/server-vollkommen-ausgelastet.11962/).

Bei mir und sicher vielen anderen auch (einige von mir empfohlene Arbeitskollegen, die aber inzwischen alle wieder gekündigt haben oder noch kündigen werden) ist die Leistung der vServer ins bald unzumutbare abgesackt. Webserver, ftp, mysql und ein (zugegebenermassen nicht gerade schlanker) Mailserver reichen aus um das System in die Knie zu zwingen.

Wenn das schon immer so gewesen wäre, würde ich die Schuld bei mir suchen, aber da ich Anfang 2006 sehr glücklich mit einer deutlich "schwereren" Konfiguration (LAMP so wie jetzt, dazu noch IRC Bot und Bouncer, oidentd, fail2ban, Teamspeak2 Server ...) war und auch andere Benutzer über eine Verschlechterung der Zustände sprechen drängt sich mir als Aussenstehendem die Vermutung auf, dass da einfach deutlich mehr vServer auf einen Host gepackt wurden und so die pro User verfügbare Leistung geringer wird auf.
Ist ja vom Betriebswirtschaftlichen her auch nachzuvollziehen ... Mehr User pro Host -> mehr Einnahmen pro Host. Allerdings sollte man dabei auch beachten, dass viele Kunden nicht an der drei-monatigen Kündigungsfrist scheitern und ihren Vertrag beenden, statt über viele Jahre hinweg weiter zu zahlen und ihre Bekannten auch zu einem Vertrag zu überreden ;)

Naja, muss den Verantwortlichen ja eigentlich alles bekannt sein und auch so irgendwie funktionieren. Vielleicht zeigt ja irgendjemand erbarmen mit uns und verteilt die User ein bisschen, ansonsten bleiben uns nur die 3 im anderen Thread beschriebenen Lösungsmöglichkeiten.
 
Danke, Casper.

Der RootDS sieht ja von den bei mir kritischen Werten recht gut aus ... Damit lässt es sich dann vielleicht ein halbes Jahr aushalten, bis ich mir einen schönen Root holen kann.
 
Back
Top