problem mit vserver: kein speicher mehr verfügbar, bzw. verbraucht zuviel ram

pleibling

New Member
hallo admins und gleichgesinnte :).

ich habe ein problem, von dem ich hoffe das ihr mir weiterhelfen könnt.

ich hatte früher einen vserver bei 1blu mit dem ich nicht mehr zufrieden war (1 mb downloadbegrenzung, domains zu teuer).

deshalb habe ich mir einen vserver bei meinem provider geholt, bei dem ich auch meine domains habe.

nachdem ich nun endlich alle drüben hatte (4 x joomla und 1 x phpbb) fängt nun dieser server an zu mucken. jedesmal hat der server keinen ram mehr und ich kann ihn nur noch neustarten, damit dieser wieder ein paar stunden läuft.

der hoster sagt mit natürlich, das es nicht sein problem ist, da ich selber verantwortlich bin für den server, allerdings habe ich nur das standardimage von ihm installiert (Debian 5.0 x86 ISPcp vorinstalliert) und von den 7 joomla installationen (die vorher allesamt 2 jahre ohne probleme liefen auf dem alten server) 4 rübergenommen und das phpbb.

der neue vserver hat fast die selben daten wie der alte server, dennoch der anbieter sagt, mein system brauche 400 mb (zugesichert sind 256) - ich kann nur in einen größeren vertrag wechseln.

meine frage ist nun, wenn der server 256 mb zugesichert hat - dann dürfte er doch auch nicht mehr sehen oder? sonst nimmt der sich doch alles an ram was da ist (wegen caching) oder? kann ich den verbrauch vom server irgendwie begrenzen?

die prozesse sehen so aus (ps aux):

Code:
vz235:~# free
             total       used       free     shared    buffers     cached
Mem:        524288     416188     108100          0          0          0
-/+ buffers/cache:     416188     108100
Swap:            0          0          0
vz235:~# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1   1980   692 ?        Ss   18:28   0:00 init [2]
root       358  0.0  0.1   1692   624 ?        Ss   18:28   0:00 /sbin/syslogd
bind       371  0.0  1.6  49392  8400 ?        Ssl  18:28   0:00 /usr/sbin/named
root       381  0.0  0.1   5272  1040 ?        Ss   18:28   0:00 /usr/sbin/sshd
root       419  0.0  0.2   2696  1308 ?        S    18:28   0:00 /bin/sh /usr/bi
mysql      458  0.0  6.4 129044 33920 ?        Sl   18:28   0:05 /usr/sbin/mysql
root       459  0.0  0.1   1628   532 ?        S    18:28   0:00 logger -p daemo
polw       517  0.0  1.0   7848  5540 ?        Ss   18:28   0:00 policyd-weight
polw       518  0.0  1.0   7848  5248 ?        Ss   18:28   0:00 policyd-weight
postgrey   521  0.0  1.5  11148  8252 ?        Ss   18:28   0:00 /usr/sbin/postg
root       525  0.0  0.0   1832   432 ?        S    18:28   0:00 /usr/sbin/couri
root       526  0.0  0.1   2048   648 ?        S    18:28   0:00 /usr/lib/courie
root       527  0.0  0.2   2860  1276 ?        S    18:28   0:00 /usr/lib/courie
root       528  0.0  0.1   2464   992 ?        S    18:28   0:00 /usr/lib/courie
root       529  0.0  0.2   2860  1276 ?        S    18:28   0:00 /usr/lib/courie
root       530  0.0  0.1   2464   992 ?        S    18:28   0:00 /usr/lib/courie
root       531  0.0  0.2   2860  1276 ?        S    18:28   0:00 /usr/lib/courie
root       536  0.0  0.0   1832   348 ?        S    18:28   0:00 /usr/sbin/couri
root       537  0.0  0.1   1936   576 ?        S    18:28   0:00 /usr/sbin/couri
root       542  0.0  0.0   1832   436 ?        S    18:28   0:00 /usr/sbin/couri
root       543  0.0  0.1   1936   608 ?        S    18:28   0:00 /usr/sbin/couri
root       605  0.0  0.3   5476  1848 ?        Ss   18:28   0:00 /usr/lib/postfi
postfix    608  0.0  0.3   5532  1912 ?        S    18:28   0:00 qmgr -l -t fifo
root       624  0.0  0.1   2352   872 ?        Ss   18:28   0:00 /usr/sbin/xinet
proftpd    874  0.0  0.2   5116  1376 ?        Ss   18:28   0:00 proftpd: (accep
root       894  0.0  0.1   3320   992 ?        Ss   18:28   0:00 /usr/sbin/cron
root       938  0.0  0.6  14336  3580 ?        Ss   18:28   0:00 /usr/sbin/apach
root       939  0.0  1.7  12560  9128 ?        S    18:28   0:00 /usr/bin/perl /
root       940  0.0  1.7  12552  9172 ?        S    18:28   0:00 /usr/bin/perl /
root       944  0.0  0.0   1628   416 ?        S    18:28   0:00 /var/www/ispcp/
www-data   945  0.0  0.4  14272  2588 ?        S    18:28   0:00 /usr/sbin/apach
vu2004    1102  0.0  1.1  28132  5828 ?        Ss   18:29   0:00 /usr/bin/php5-c
vu2004    1109  0.0  1.5  32420  8132 ?        S    18:29   0:01 /usr/bin/php5-c
vu2004    1110  0.0  1.5  32676  8388 ?        S    18:29   0:01 /usr/bin/php5-c
vu2008    1124  0.0  1.1  28128  5832 ?        Ss   18:29   0:00 /usr/bin/php5-c
vu2008    1126  0.0  1.5  32400  8268 ?        S    18:29   0:00 /usr/bin/php5-c
vu2008    1127  0.0  1.5  32416  8096 ?        S    18:29   0:00 /usr/bin/php5-c
postfix   1304  0.0  0.3   5488  1828 ?        S    18:30   0:00 anvil -l -t uni
vu2012    1307  0.0  1.1  28132  5832 ?        Ss   18:30   0:00 /usr/bin/php5-c
vu2012    1309  0.0  1.9  33404 10352 ?        S    18:30   0:05 /usr/bin/php5-c
vu2012    1310  0.0  1.5  31072  7976 ?        S    18:30   0:05 /usr/bin/php5-c
polw      1336  0.0  1.1   7980  5928 ?        S    18:33   0:00 policyd-weight
vu2002    1387  0.0  1.1  28128  5824 ?        Ss   18:39   0:00 /usr/bin/php5-c
vu2002    1389  0.0  1.6  33044  8716 ?        S    18:39   0:00 /usr/bin/php5-c
vu2002    1390  0.0  1.6  33044  8692 ?        S    18:39   0:00 /usr/bin/php5-c
www-data  1510  0.0  0.6  14596  3660 ?        S    18:52   0:00 /usr/sbin/apach
www-data  1511  0.0  0.6  14576  3636 ?        S    18:52   0:00 /usr/sbin/apach
www-data  1757  0.0  0.7  14756  3816 ?        S    19:01   0:00 /usr/sbin/apach
root      1974  0.0  0.0   1964   456 ?        Ss   19:29   0:00 vzctl: pts/0
root      1975  0.0  0.2   2764  1532 pts/0    Ss   19:29   0:00 -bash
root      2146  0.0  0.2   2256  1100 pts/0    S+   19:32   0:03 top
www-data  2320  0.0  0.6  14568  3596 ?        S    19:51   0:00 /usr/sbin/apach
www-data  2323  0.0  0.6  14608  3568 ?        S    19:51   0:00 /usr/sbin/apach
www-data  2361  0.0  0.6  14620  3592 ?        S    19:56   0:00 /usr/sbin/apach
www-data  2587  0.0  0.6  14548  3540 ?        S    20:01   0:00 /usr/sbin/apach
postfix   2602  0.0  0.3   5488  1808 ?        S    20:03   0:00 pickup -l -t fi
www-data  2610  0.0  0.6  14604  3576 ?        S    20:04   0:00 /usr/sbin/apach
postfix   2641  0.0  0.6   6732  3336 ?        S    20:08   0:00 smtpd -n smtp -
root      2652  0.0  0.5   8016  2720 ?        Ss   20:09   0:00 sshd: root@pts/
root      2658  0.0  0.3   4048  1608 pts/1    Ss+  20:09   0:00 -bash
postfix   2991  0.0  0.6   6732  3312 ?        S    20:32   0:00 smtpd -n smtp -
postfix   3019  0.0  0.6   6732  3296 ?        S    20:36   0:00 smtpd -n smtp -
postfix   3021  0.0  0.6   6732  3296 ?        S    20:36   0:00 smtpd -n smtp -
postfix   3022  0.0  0.6   6732  3288 ?        S    20:36   0:00 smtpd -n smtp -
root      3023  0.0  0.5   8016  2720 ?        Ss   20:36   0:00 sshd: root@pts/
root      3025  0.0  0.3   4044  1596 pts/2    Ss   20:36   0:00 -bash
www-data  3029  0.0  0.4  14336  2612 ?        S    20:36   0:00 /usr/sbin/apach
www-data  3030  0.0  0.4  14336  2612 ?        S    20:36   0:00 /usr/sbin/apach
www-data  3031  0.0  0.4  14336  2612 ?        S    20:36   0:00 /usr/sbin/apach
postfix   3037  0.0  0.5   5964  2680 ?        S    20:37   0:00 trivial-rewrite
root      3038  0.0  0.1   3580  1008 pts/2    R+   20:37   0:00 ps aux



beim alten server hingegen so:

Code:
             total       used       free     shared    buffers     cached
Mem:      49909352     129140   49780212          0          0          0
-/+ buffers/cache:     129140   49780212
Swap:            0          0          0
v30786:~ # ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0    664   284 ?        Ss    2008   0:12 init [3]
100      23872  0.0  0.0  15080  1072 ?        Ss    2008   0:00 /usr/bin/dbus-d
root     24166  0.0  0.0  19824   932 ?        Ss    2008   0:00 /usr/sbin/sasla
root     24167  0.0  0.0  19824   600 ?        S     2008   0:00 /usr/sbin/sasla
root     24249  0.0  0.0  28652  1420 ?        Ss    2008   7:57 /usr/sbin/sshd
root     24255  0.0  0.0  10624   964 ?        Ss    2008   0:09 /usr/sbin/xinet
root     25779  0.0  0.0   9952   744 ?        Ss    2008   0:05 /usr/sbin/cron
root     23776  0.0  0.0   4108  1136 ?        Ss    2008   1:22 /sbin/syslogd -
named     3588  0.0  0.0  56968  3692 ?        Ssl   2008   0:00 /usr/sbin/named
qmails    5487  0.0  0.0   2548   500 ?        S     2008   0:13 qmail-send
qmaill    5488  0.0  0.0   2492   488 ?        S     2008   0:01 splogger qmail
root      5489  0.0  0.0   2532   412 ?        S     2008   0:01 qmail-lspawn |
qmailr    5490  0.0  0.0   2664   580 ?        S     2008   0:00 qmail-rspawn
qmailq    5491  0.0  0.0   2488   372 ?        S     2008   0:00 qmail-clean
root      5721  0.0  0.0 191388 23720 ?        Ss    2008   3:11 /usr/sbin/httpd
10018     5774  0.0  0.0  25636  2148 ?        S     2008   0:00 /usr/sbin/sw-cp
root     16071  0.0  0.0  11252   964 ?        S     2008   0:00 /usr/lib/courie
root     16073  0.0  0.0   7036  1040 ?        S     2008   0:00 /usr/sbin/couri
root     16082  0.0  0.0  11252   964 ?        S     2008   0:00 /usr/lib/courie
root     16084  0.0  0.0   7036  1040 ?        S     2008   0:00 /usr/sbin/couri
root     16094  0.0  0.0  11252   964 ?        S     2008   0:48 /usr/lib/courie
root     16096  0.0  0.0   7036  1040 ?        S     2008   0:28 /usr/sbin/couri
root     16105  0.0  0.0  11252   964 ?        S     2008   0:00 /usr/lib/courie
root     16107  0.0  0.0   7036  1040 ?        S     2008   0:00 /usr/sbin/couri
root      3085  0.0  0.0   7848  1468 ?        S    Apr21   0:00 /bin/sh /usr/bi
mysql     3139  0.0  0.0  81760 32360 ?        Sl   Apr21  12:11 /usr/sbin/mysql
wwwrun   29894  0.0  0.0 203540 28276 ?        S    May01   0:03 /usr/sbin/httpd
wwwrun    5692  0.0  0.0 202208 27136 ?        S    May01   0:02 /usr/sbin/httpd
wwwrun    5792  0.0  0.0 204644 29620 ?        S    May01   0:03 /usr/sbin/httpd
wwwrun    7341  0.0  0.0 201624 26500 ?        S    May01   0:02 /usr/sbin/httpd
wwwrun   29822  0.0  0.0 210672 35432 ?        S    May01   0:02 /usr/sbin/httpd
root      5392  0.0  0.0  48968  3144 ?        Ss   20:52   0:00 sshd: root@pts/
root      5496  0.2  0.0  12568  2252 pts/0    Ss   20:52   0:00 -bash
root      5831  0.0  0.0   7608   912 pts/0    R+   20:53   0:00 ps aux
MOD: Bitte [noparse]
Code:
...
[/noparse]-Tags um Ausgaben, Code, etc. verwenden (im Editor auch mit '#' erreichbar). Danke!


habt ihr ne idee was ich machen kann? ich möchte ungern nochmal alles wieder umstellen :(.
 
Last edited by a moderator:
danke für die schnelle antwort, werde ich mir direkt mal morgen ansehen - das wäre ja der hammer wenn ich den server wieder fit bekommen könnte und nicht nochmal alles neu machen müsste:).
 
Back
Top