Current time: 05-18-2024, 02:15 AM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] vServer Speicherprobleme
Author Message
feuerfresser99 Offline
Junior Member
*

Posts: 12
Joined: Feb 2009
Reputation: 0
Post: #1
[split] vServer Speicherprobleme
Halli Hallo,

nun habe ich das alles soweit umgestellt wie hier geschrieben...nur leider haut mir der Server nun regelmäßig ins Nirvana ab, "cannot allocate memory" und die Pop3 und SMTP Dienste werden dann abgeschaltet.

Gruß
Fabian
02-24-2009 05:13 AM
Find all posts by this user
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #2
RE: MailProbleme
(02-24-2009 05:13 AM)feuerfresser99 Wrote:  Halli Hallo,

nun habe ich das alles soweit umgestellt wie hier geschrieben...nur leider haut mir der Server nun regelmäßig ins Nirvana ab, "cannot allocate memory" und die Pop3 und SMTP Dienste werden dann abgeschaltet.

Gruß
Fabian

hört sich fast nach einem vserver an....
02-25-2009 12:46 AM
Visit this user's website Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: MailProbleme
Code:
cannot allocate memory
Jup! Und der IP nach einem S4Y vServer.
Entweder aufstocken oder unnötige Dienste abspecken bzw. über Bord schmeißen.

Was hast Du denn für einen Server ?
Wieviel RAM ?

Greez BeNe
02-25-2009 01:04 AM
Visit this user's website Find all posts by this user
feuerfresser99 Offline
Junior Member
*

Posts: 12
Joined: Feb 2009
Reputation: 0
Post: #4
RE: MailProbleme
(02-25-2009 01:04 AM)BeNe Wrote:  
Code:
cannot allocate memory
Jup! Und der IP nach einem S4Y vServer.
Entweder aufstocken oder unnötige Dienste abspecken bzw. über Bord schmeißen.

Was hast Du denn für einen Server ?
Wieviel RAM ?

Greez BeNe

Nun:

Feb 25 13:37:49 dedi2 postfix/cleanup[24388]: warning: mail_queue_enter: rename incoming/311524.24388 to incoming/6EE36960A52E: Cannot allocate memory
Feb 25 13:37:49 dedi2 postfix/cleanup[24388]: warning: mail_queue_enter: rename incoming/311524.24388 to incoming/6EF19960A52E: Cannot allocate memory

Einen vServer Plus (512MB fest; 1024 Burst)
02-26-2009 04:47 AM
Find all posts by this user
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #5
RE: MailProbleme
was du mal machen kannst um einiges an RAM zu sparen ist prefork statt worker zu verwenden (falls noch nicht gemacht)


aptitude update
aptitude install apache2-mpm-prefork

Falls kein aptitude installiert ist, solltest du das mit apt-get update und apt-get install aptitude unbedingt nach holen =)
02-26-2009 04:52 AM
Find all posts by this user
feuerfresser99 Offline
Junior Member
*

Posts: 12
Joined: Feb 2009
Reputation: 0
Post: #6
RE: MailProbleme
(02-26-2009 04:52 AM)Lucan Wrote:  was du mal machen kannst um einiges an RAM zu sparen ist prefork statt worker zu verwenden (falls noch nicht gemacht)


aptitude update
aptitude install apache2-mpm-prefork

Falls kein aptitude installiert ist, solltest du das mit apt-get update und apt-get install aptitude unbedingt nach holen =)

prefork ist drauf!

vmstat -s
1048576 total memory
205196 used memory
0 active memory
0 inactive memory
843380 free memory
0 buffer memory
0 swap cache
0 total swap
0 used swap
0 free swap
1742 non-nice user cpu ticks
0 nice user cpu ticks
1078 system cpu ticks
611882 idle cpu ticks
406 IO-wait cpu ticks
0 IRQ cpu ticks
0 softirq cpu ticks
0 stolen cpu ticks
0 pages paged in
0 pages paged out
0 pages swapped in
0 pages swapped out
0 interrupts
3580238543 CPU context switches
1235587204 boot time
293673438 forks

ps -aux
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 6044 672 ? Ss 18:40 0:00 init [2]
root 13596 0.0 0.0 3660 584 ? Ss 18:40 0:00 /sbin/syslogd
amavis 13651 0.0 3.3 78496 35064 ? Ss 18:40 0:00 amavisd (master)
amavis 13671 0.0 3.3 79612 34820 ? S 18:40 0:00 amavisd (ch1-avail)
amavis 13672 0.0 3.3 79480 34612 ? S 18:40 0:00 amavisd (virgin child)
root 13680 0.0 0.1 10036 1504 ? S 18:40 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 13723 0.1 0.8 37364 8628 ? Sl 18:40 0:01 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306
root 13724 0.0 0.0 2560 532 ? S 18:40 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
polw 13776 0.0 1.1 31664 11608 ? Ss 18:40 0:00 policyd-weight (master)
polw 13777 0.0 1.0 31664 11208 ? Ss 18:40 0:00 policyd-weight (cache)
root 13798 0.0 0.0 3800 412 ? S 18:40 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid -start /usr/lib/courier/courier-authlib/authdaemond
root 13799 0.0 0.0 12212 672 ? S 18:40 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 13801 0.0 0.0 12212 264 ? S 18:40 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 13807 0.0 0.0 12212 264 ? S 18:40 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 13808 0.0 0.0 12212 264 ? S 18:40 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 13809 0.0 0.1 13008 1308 ? S 18:40 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 13810 0.0 0.0 12212 300 ? S 18:40 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 13825 0.0 0.0 3800 412 ? S 18:40 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/imapd.pid -start -name=imapd /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslook
root 13826 0.0 0.0 5948 612 ? S 18:40 0:00 /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslookup -noidentlookup 143 /usr/lib/courier/courier/imaplogin /usr/bin/imapd Mai
root 13831 0.0 0.0 5948 544 ? S 18:40 0:00 /usr/sbin/couriertcpd -pid=/var/run/courier/pop3d.pid -stderrlogger=/usr/sbin/courierlogger -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup
root 13833 0.0 0.0 3800 512 ? S 18:40 0:00 /usr/sbin/courierlogger courierpop3login
root 13913 0.0 0.1 19544 2084 ? Ss 18:40 0:00 /usr/lib/postfix/master
postfix 13919 0.0 0.1 20584 2012 ? S 18:40 0:00 pickup -l -t fifo -u -c
postfix 13920 0.0 0.2 20620 2140 ? S 18:40 0:00 qmgr -l -t fifo -u
root 13943 0.0 0.1 30236 1152 ? Ss 18:40 0:00 /usr/sbin/saslauthd -a shadow -c -l -n 1
root 13950 0.0 0.1 25768 1252 ? Ss 18:40 0:00 /usr/sbin/sshd
nobody 14008 0.0 0.3 55540 4064 ? Ss 18:40 0:00 proftpd: (accepting connections)
root 14027 0.0 0.0 11436 936 ? Ss 18:40 0:00 /usr/sbin/cron
root 14083 0.0 0.0 2556 420 ? S 18:40 0:00 /var/www/ispcp/daemon/ispcp_daemon -p /var/run/ispcp_daemon.pid
root 19896 0.0 0.5 68080 5372 ? Ss 18:42 0:00 /usr/sbin/apache2 -k start
root 19898 0.0 1.3 40004 14616 ? S 18:42 0:00 /usr/bin/perl /var/www/ispcp/engine/ispcp-apache-logger -e
root 19899 0.0 1.3 40000 14656 ? S 18:42 0:00 /usr/bin/perl /var/www/ispcp/engine/ispcp-apache-logger
www-data 19900 0.0 0.3 67512 3668 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19913 0.0 0.4 68220 4296 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19914 0.0 0.4 68224 4336 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19915 0.0 0.4 68224 4340 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19916 0.0 0.4 68224 4296 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19917 0.0 0.4 68220 4308 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19918 0.0 0.4 68224 4332 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19919 0.0 0.4 68224 4296 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19920 0.0 0.4 68088 4248 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19921 0.0 0.4 68220 4336 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19922 0.0 0.4 68228 4344 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19923 0.0 0.4 68224 4356 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19924 0.0 0.4 68228 4340 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 19954 0.0 0.4 68088 4228 ? S 18:42 0:00 /usr/sbin/apache2 -k start
vu2011 19963 0.0 0.7 67800 7668 ? Ss 18:42 0:00 /usr/bin/php5-cgi
vu2011 19964 0.3 0.6 68548 7100 ? S 18:42 0:04 /usr/bin/php5-cgi
vu2011 19965 0.3 0.6 68488 7044 ? S 18:42 0:04 /usr/bin/php5-cgi
www-data 19979 0.0 0.4 68220 4304 ? S 18:42 0:00 /usr/sbin/apache2 -k start
www-data 21530 0.0 0.4 68224 4336 ? S 18:43 0:00 /usr/sbin/apache2 -k start
www-data 21532 0.0 0.4 68224 4336 ? S 18:43 0:00 /usr/sbin/apache2 -k start
www-data 21533 0.0 0.4 68224 4340 ? S 18:43 0:00 /usr/sbin/apache2 -k start
www-data 21589 0.0 0.4 68224 4276 ? S 18:43 0:00 /usr/sbin/apache2 -k start
vu2000 21598 0.0 0.7 67800 7668 ? Ss 18:43 0:00 /usr/bin/php5-cgi
vu2000 21600 0.0 0.6 69224 7292 ? S 18:43 0:00 /usr/bin/php5-cgi
vu2000 21601 0.0 0.7 68196 7364 ? S 18:43 0:00 /usr/bin/php5-cgi
polw 21657 0.0 1.0 31664 11364 ? S 18:43 0:00 policyd-weight (child)
vu2005 9606 0.0 0.7 67800 7668 ? Ss 18:55 0:00 /usr/bin/php5-cgi
vu2005 9607 0.0 0.6 68536 7088 ? S 18:55 0:00 /usr/bin/php5-cgi
vu2005 9608 0.0 0.6 68536 7028 ? S 18:55 0:00 /usr/bin/php5-cgi
www-data 9873 0.0 0.4 68228 4272 ? S 18:55 0:00 /usr/sbin/apache2 -k start
vu2010 9874 0.0 0.7 67800 7668 ? Ss 18:55 0:00 /usr/bin/php5-cgi
vu2010 9875 0.0 0.6 68140 6444 ? S 18:55 0:00 /usr/bin/php5-cgi
vu2010 9876 0.0 0.6 68140 6444 ? S 18:55 0:00 /usr/bin/php5-cgi
root 30160 0.1 0.2 36860 2740 ? Ss 19:04 0:00 sshd: root@pts/0
root 30173 1.0 0.2 11208 2860 pts/0 Ss 19:04 0:00 -bash
root 30711 0.0 0.0 8376 940 pts/0 R+ 19:05 0:00 ps -aux


Die Ram Auslastung steigt von Minute zu Minute und nach ca. 2 Stunden ist dann Ende...
02-26-2009 05:09 AM
Find all posts by this user
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #7
RE: MailProbleme
Evtl mal die Configs anpassen, das sich z.B. Apache nicht mehr ram holt.
Formeln zur berechnung müsste man via google finden.

Ich hatte sowas ähnliches auch schon 2 mal, 1 mal war es weil (warum auch immer) fastcgi und fcgid aktiviert war nach dem upgrade von etch auf Lenny.

Und einmal nach der installation von maia, was mein Server irgendwie gar nicht abkonnte (RootDS 2x1,2GHZ 1,5GB Ram), als ich dann maia entfernt hatte, lief wieder alles soweit rund.


Wobei ich bei mir auch nochmal gucken muss das ich da noch was optimiere, weil mir die Auslastung zur Zeit auch nen bischen zu hoch ist.
02-26-2009 05:17 AM
Find all posts by this user
feuerfresser99 Offline
Junior Member
*

Posts: 12
Joined: Feb 2009
Reputation: 0
Post: #8
RE: MailProbleme
Habe die configs nach dem Thread eingestellt:
http://www.isp-control.net/forum/showthr...ate+memory

(02-26-2009 05:17 AM)Lucan Wrote:  Evtl mal die Configs anpassen, das sich z.B. Apache nicht mehr ram holt.
Formeln zur berechnung müsste man via google finden.

Ich hatte sowas ähnliches auch schon 2 mal, 1 mal war es weil (warum auch immer) fastcgi und fcgid aktiviert war nach dem upgrade von etch auf Lenny.

Und einmal nach der installation von maia, was mein Server irgendwie gar nicht abkonnte (RootDS 2x1,2GHZ 1,5GB Ram), als ich dann maia entfernt hatte, lief wieder alles soweit rund.


Wobei ich bei mir auch nochmal gucken muss das ich da noch was optimiere, weil mir die Auslastung zur Zeit auch nen bischen zu hoch ist.
02-26-2009 05:27 AM
Find all posts by this user
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #9
RE: MailProbleme
Wenn ich das richtig sehe ist die config allerdings für den worker, das bringt ja relativ wenig wenn du prefork verwendest ^^
02-26-2009 05:29 AM
Find all posts by this user
feuerfresser99 Offline
Junior Member
*

Posts: 12
Joined: Feb 2009
Reputation: 0
Post: #10
RE: MailProbleme
(02-26-2009 05:29 AM)Lucan Wrote:  Wenn ich das richtig sehe ist die config allerdings für den worker, das bringt ja relativ wenig wenn du prefork verwendest ^^

Hab den Prefork auch so konfiguriert...trotzdem keine Besserung!
02-26-2009 07:21 PM
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)