Ram dauert voll

AllOnline

New Member
Hallo,

benötige mal wieder eure Hilfe.

Irgend wie ist mein RAM nach 2tagen immer voll.

wenn ich den Server neu starte ist alles Inordnung
nur eben nach einer gewissen zeit nicht mehr

aber ich schaffe es per Top nicht den Übeltäter heraus zu finden.

1. Wie kann ich dafür sorgen das
1.1 mysql
1.2 apache
Insgesamt nicht zu viel RAM ziehen.

Was gibt es noch für gründe das der Ram voll ist, zu viel geöffnete Dateien,
wie kann ich das für 1.1 und 1.2 begrenzen?

Anmerkung; wir sind bei einem vserver
 
Wie wärs denn erstmal mit paar Fakten?
Ausgabe von "ps faux", "free -m", "cat /proc/user_beancounters" (sofern es sich um Virtuozzo/OpenVZ handelt).
 
ps faux
Code:
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0    748   288 ?        Ss   10:48   0:00 init [5]      
100      29851  0.0  0.0   2204   820 ?        Ss   10:48   0:00 /bin/dbus-daemon --system
root     29930  0.0  0.0   1640   312 ?        Ss   10:48   0:00 /sbin/resmgrd
102      29973  0.0  0.0   4012  2028 ?        Ss   10:48   0:00 /usr/sbin/hald --daemon=yes
root     29975  0.0  0.0   3044  1036 ?        S    10:48   0:00  \_ hald-runner
avahi    30366  0.0  0.0   2752  1472 ?        Ss   10:48   0:00 avahi-daemon: running [h1443240.local]
root     30379  0.0  0.0   1668   640 ?        Ss   10:48   0:00 /sbin/syslogd -a /var/lib/named/dev/log
root     30380  0.0  0.0   6012  1096 ?        Ss   10:48   0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root     14084  0.0  0.0  11140  3032 ?        Ss   11:40   0:00  \_ sshd: root@pts/0                             
root     14087  0.0  0.0   5624  1328 ?        Ss   11:40   0:00      \_ /usr/lib/ssh/sftp-server
root     14134  0.5  0.0   4496  1972 pts/0    Ss   11:40   0:00      \_ -bash
root     14164  0.0  0.0   2516   788 pts/0    R+   11:40   0:00          \_ ps faux
root     30387  0.0  0.0   1760   516 ?        Ss   10:48   0:00 /usr/sbin/avahi-dnsconfd -D
root     30399  0.0  0.0   3352   656 ?        S    10:48   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stde

root     30401  0.0  0.0   3128   676 ?        S    10:48   0:00 /usr/sbin/courierlogger imapd
root     30410  0.0  0.0   3356   656 ?        S    10:48   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stde

root     30417  0.0  0.0   3128   676 ?        S    10:48   0:00 /usr/sbin/courierlogger imapd-ssl
root     30419  0.0  0.0   3352   664 ?        S    10:48   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stde

root     30421  0.0  0.0   3256   840 ?        S    10:48   0:00 /usr/sbin/courierlogger pop3d
root     30429  0.0  0.0   3356   656 ?        S    10:48   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stde

root     30431  0.0  0.0   3124   676 ?        S    10:48   0:00 /usr/sbin/courierlogger pop3d-ssl
bin      30439  0.0  0.0   1636   436 ?        Ss   10:48   0:00 /sbin/portmap
10005    30459  0.0  0.0   5040  2784 ?        S    10:48   0:00 /usr/sbin/sw-cp-serverd -f /etc/sw-cp-server/confi

root     14120  0.1  0.1  61492  6944 ?        Ss   11:40   0:00  \_ /usr/bin/sw-engine-cgi -c /usr/local/psa/admin

psaadm   14127  2.8  0.2  65968 15348 ?        S    11:40   0:00      \_ /usr/bin/sw-engine-cgi -c /usr/local/psa/a

psaadm   14128  0.3  0.1  62764  9684 ?        S    11:40   0:00      \_ /usr/bin/sw-engine-cgi -c /usr/local/psa/a

psaadm   14129  0.0  0.0  61704  2208 ?        S    11:40   0:00      \_ /usr/bin/sw-engine-cgi -c /usr/local/psa/a

root     30504  0.0  0.0   2320   872 ?        Ss   10:48   0:00 /usr/sbin/xinetd
10003    13986  0.1  0.0   7404  3000 ?        Ss   11:38   0:00  \_ proftpd: sebastian - 217.232.36.114: IDLE
root     30514  0.0  0.0   1980   752 ?        Ss   10:48   0:00 /usr/sbin/cron
root     30524  0.0  0.0 141424  1088 ?        Ssl  10:48   0:00 /usr/sbin/nscd
named    30577  0.0  0.1  42500  8356 ?        Ssl  10:48   0:00 /usr/sbin/named -t /var/lib/named -u named
root     30604  0.0  0.0   2636  1268 ?        S    10:48   0:00 /bin/sh /usr/bin/mysqld_safe --mysqld=mysqld --use

mysql    30656  0.3  0.3 119436 16636 ?        Sl   10:48   0:12  \_ /usr/sbin/mysqld --basedir=/usr --datadir=/var

root     30687  0.0  0.5  30776 27840 ?        Ss   10:48   0:00 /usr/sbin/spamd --username=popuser --daemonize --n

popuser  30688  0.0  0.5  30776 26568 ?        S    10:48   0:00  \_ spamd child
qmails   30716  0.0  0.0   1644   428 ?        S    10:48   0:00 qmail-send
qmaill   30717  0.0  0.0   1604   484 ?        S    10:48   0:00  \_ splogger qmail
root     30718  0.0  0.0   1628   388 ?        S    10:48   0:00  \_ qmail-lspawn | /usr/bin/deliverquota ./Maildir

qmailr   30719  0.0  0.0   1624   400 ?        S    10:48   0:00  \_ qmail-rspawn
qmailq   31744  0.0  0.0   1596   372 ?        S    10:48   0:00  \_ qmail-clean
root     31849  0.0  0.2  31648 13104 ?        Ss   10:48   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.con

wwwrun   31850  0.0  0.1  31612  6468 ?        S    10:48   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd

wwwrun   32183  0.2  0.2  32412 11544 ?        S    10:49   0:09  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd

wwwrun    3752  0.2  0.2  34148 13076 ?        S    10:53   0:06  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd

wwwrun    3753  0.1  0.2  32364 11388 ?        S    10:53   0:05  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd

wwwrun    5659  0.1  0.3  37448 16372 ?        S    10:56   0:04  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd

wwwrun   10201  0.4  0.2  33116 12064 ?        S    11:28   0:03  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd

wwwrun   11538  0.2  0.2  33204 11944 ?        S    11:29   0:01  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd

wwwrun   11969  0.2  0.2  32916 11636 ?        S    11:32   0:01  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd

wwwrun   13664  0.1  0.2  33116 11976 ?        S    11:36   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd

wwwrun   13674  0.2  0.2  32112 10724 ?        S    11:36   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd

wwwrun   13695  0.0  0.2  32712 11108 ?        S    11:36   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd

free -m
Code:
             total       used       free     shared    buffers     cached
Mem:          5020        109       4910          0          0          0
-/+ buffers/cache:        109       4910
Swap:            0          0          0

cat
Code:
 cat /proc/user_beancounters
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
  1443240:  kmemsize        5140629    5146495   17024866   19647330          0
            lockedpages           0          0       3800       4096          0
            privvmpages       68932      68979     138256     202568       5682
            shmpages            741        741     131072     131072          0
            dummy                 0          0 2147483647 2147483647          0
            numproc              67         67        232        232          0
            physpages         26773      26773          0 2147483647          0
            vmguarpages           0          0      66400 2147483647          0
            oomguarpages      26773      26773 2147483647 2147483647          0
            numtcpsock           25         25        500        500          0
            numflock              9          9        200        232          0
            numpty                1          1         64         64          0
            numsiginfo            0          0        512        512          0
            tcpsndbuf        232544     232544    4683256    6102456          0
            tcprcvbuf        409600     409600    4683256    6102456          0
            othersockbuf      73088      73088    1503232    4063232          0
            dgramrcvbuf           0          0     240000     262144          0
            numothersock         48         48        382        382          0
            dcachesize       770539     772132    2194304    2317184          0
            numfile            2119       2131       5432       5432          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            54         54        128        128          0

Alle Daten, leider gerade nach Server neustart.
Später komm ich da nicht mehr dran, da ssh wegen zuwenig ram nicht geöffnet werden kann
 
Moin,
erst mal ist es normal, dass der RAM "voll" ist. Denn freier Speicher bringt nichts ;)

Das ist nicht so gut:
privvmpages failcount 5682

MySQL laesst sich in der my.conf (oder .cnf?) konfigurieren.
Den Apache kann man in der Apache-config einstellen. prefork - Apache HTTP Server

AVAHI hast du selber installiert? (k.A. ob das notwendig ist)
 
Moin,
Das ist nicht so gut:
privvmpages failcount 5682

Was heißt das den und wie ändere ich es?

MySQL laesst sich in der my.conf (oder .cnf?) konfigurieren.
Den Apache kann man in der Apache-config einstellen. prefork - Apache HTTP Server

Was genau muss ich den auf was umstellen?

AVAHI hast du selber installiert? (k.A. ob das notwendig ist)

AVAHI hab ich nicht installiert, mal googlen was das überhaupt ist
 
Code:
#!/usr/bin/perl
 
###############################################################################
# vzstats.pl
#
# this script reads /proc/user_beancounters on openvz HNs and VEs and displays
# the values in human-readable format (megabytes/kilobytes).
#
# The script can be distributed freely for everybody who finds it usable.
#
# Christian Anton <mail |_at_| christiananton.de> 2008-09-18
 
 
 
open(BEANS,"/proc/user_beancounters");
chomp ($arch = `uname -m`);
 
sub check_maxulong {
	my $number = shift;
 
	if ($arch eq "x86_64") {
		if ($number == 9223372036854775807) {
			return 1;
		} else {
			return undef;
		}
	} else {
		if ($number == 2147483647) {
			return 1;
		} else {
			return undef;
		}
	}
}
 
sub recalc_bytes {
	my $bytes = shift;
 
	if (defined(&check_maxulong($bytes))) { return "MAX_ULONG"; }
 
	my $kbytes = $bytes / 1024;
	my $ret;
 
	# if over 1mb, show mb values
	if ($kbytes > 1024) {
		my $mbytes = $kbytes / 1024;
		$ret = sprintf("%.2f", $mbytes) . " mb";
		return $ret;
	} else {
		$ret = sprintf("%.2f", $kbytes) . " kb";
		return $ret;
	}
}
 
sub recalc_pages {
	my $pages = shift;
 
	if ($pages == 0) { return "0"; }
	if (defined(&check_maxulong($pages))) { return "MAX_ULONG"; }
 
	my $kbytes = $pages * 4;
	my $ret;
 
	if ($kbytes > 1024) {
		my $mbytes = $kbytes / 1024;
		$ret = sprintf("%.2f", $mbytes) . " mb";
		return $ret;
	} else {
		$ret = sprintf("%.2f", $kbytes) . " kb";
		return $ret;
	}
}
 
sub recalc_nothing {
	my $number = shift;
	if (defined(&check_maxulong($number))) { return "MAX_ULONG"; }
 
	return $number;
}
 
sub printline {
	my $mode = shift; # 0=normal, 1=bytes, 2=pages
	my $ident = shift;
	my $held = shift;
	my $maxheld = shift;
	my $barrier = shift;
	my $limit = shift;
	my $failcnt = shift;
 
	if ($mode == 0) {
		printf ("%-15s",$ident);
		printf ("%18s",&recalc_nothing($held));
		printf ("%21s",&recalc_nothing($maxheld));
		printf ("%21s",&recalc_nothing($barrier));
		printf ("%21s",&recalc_nothing($limit));
		printf ("%21s",$failcnt);
		print "\n";
	} elsif ($mode == 1) {
		printf ("%-15s",$ident);
		printf ("%18s",&recalc_bytes($held));
		printf ("%21s",&recalc_bytes($maxheld));
		printf ("%21s",&recalc_bytes($barrier));
		printf ("%21s",&recalc_bytes($limit));
		printf ("%21s",$failcnt);
		print "\n";
	} elsif ($mode == 2) {
		printf ("%-15s",$ident);
		printf ("%18s",&recalc_pages($held));
		printf ("%21s",&recalc_pages($maxheld));
		printf ("%21s",&recalc_pages($barrier));
		printf ("%21s",&recalc_pages($limit));
		printf ("%21s",$failcnt);
		print "\n";
	}
}
 
sub work_line {
	my $line = shift;
	my $ident = $line;
	my $held = $line;
	my $maxheld = $line;
	my $barrier = $line;
	my $limit = $line;
	my $failcnt = $line;
 
 
 
	$ident =~ s/^\s+(\w+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/$1/;
	$held =~ s/^\s+(\w+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/$2/;
	$maxheld =~ s/^\s+(\w+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/$3/;
	$barrier =~ s/^\s+(\w+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/$4/;
	$limit =~ s/^\s+(\w+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/$5/;
	$failcnt =~ s/^\s+(\w+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/$6/;
 
	# 0=normal, 1=bytes, 2=pages
	if ($ident eq "dummy") {
		# do nothing, skip this line
	} elsif ($ident =~ /pages/) {
		&printline(2,$ident,$held,$maxheld,$barrier,$limit,$failcnt);
	} elsif ($ident =~ /^num/) {
		&printline(0,$ident,$held,$maxheld,$barrier,$limit,$failcnt);
	} else {
		&printline(1,$ident,$held,$maxheld,$barrier,$limit,$failcnt);
	}
 
}
 
sub print_header {
	my $uid = shift;
 
	print "#####################################################################################################################\n";
	print "BEANS FOR UID $uid\n";
	print "resource                     held              maxheld              barrier                limit              failcnt\n";
}
 
# now eat your beans baby
while (<BEANS>) {
	chomp($line = $_);
 
	# skip processing of headline
	if ($line =~ /^\s+uid/) {
		# do nothing, skip this
	} elsif ($line =~ /^Ver/) {
		# do nothing, skip this
	} elsif ($line =~ /^\s+\d+:\s+kmem/) {
		$uid = $line;
		$line =~ s/^(\s+)(\d+):/$1/;
		$uid =~ s/^(\s+)(\d+):.*$/$2/;
		&print_header($uid);
		&work_line($line);
	} else {
		&work_line($line);
	}
}
 
close(BEANS);

Führe mal obiges Script auf deinem System aus. Dieses Script wertet /proc/user_beancounters aus und zeigt die Werte als MB an.
 
das muss ich nachher mal machen!

So heute morgen spackt er schon wieder rum,
und komm auch nicht mehr in plesk

list von der starto prozessliste

Code:
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0    748   288 ?        Ss   Jul01   0:00 init [5]      
100      29851  0.0  0.0   2204   824 ?        Ss   Jul01   0:00 /bin/dbus-daemon --system
root     29930  0.0  0.0   1640   312 ?        Ss   Jul01   0:00 /sbin/resmgrd
102      29973  0.0  0.0   4012  2028 ?        Ss   Jul01   0:00 /usr/sbin/hald --daemon=yes
root     29975  0.0  0.0   3044  1036 ?        S    Jul01   0:00  \_ hald-runner
avahi    30366  0.0  0.0   2752  1472 ?        Ss   Jul01   0:00 avahi-daemon: running [h1443240.local]
root     30379  0.0  0.0   1668   640 ?        Ss   Jul01   0:00 /sbin/syslogd -a /var/lib/named/dev/log
root     30380  0.0  0.0   6012  1100 ?        Ss   Jul01   0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root     30387  0.0  0.0   1760   516 ?        Ss   Jul01   0:00 /usr/sbin/avahi-dnsconfd -D
root     30399  0.0  0.0   3352   656 ?        S    Jul01   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=imapd -maxprocs=40 -maxperip=4 -pid=/var/run/imapd.pid -nodnslookup -noidentlookup 143 /usr/sbin/imaplogin /usr/lib/courier-imap/authlib/authpsa /usr/bin/imapd Maildir
root     30401  0.0  0.0   3128   676 ?        S    Jul01   0:00 /usr/sbin/courierlogger imapd
root     30410  0.0  0.0   3356   656 ?        S    Jul01   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=imapd-ssl -maxprocs=40 -maxperip=4 -pid=/var/run/imapd-ssl.pid -nodnslookup -noidentlookup 993 /usr/bin/couriertls -server -tcpd /usr/sbin/imaplogin /usr/lib/courier-imap/authlib/authpsa /usr/bin/imapd Maildir
root     30417  0.0  0.0   3128   676 ?        S    Jul01   0:00 /usr/sbin/courierlogger imapd-ssl
root     30419  0.0  0.0   3352   664 ?        S    Jul01   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=pop3d -maxprocs=40 -maxperip=4 -pid=/var/run/pop3d.pid -nodnslookup -noidentlookup 110 /usr/sbin/pop3login /usr/lib/courier-imap/authlib/authpsa /usr/bin/pop3d Maildir
root     30421  0.0  0.0   3256   840 ?        S    Jul01   0:00 /usr/sbin/courierlogger pop3d
root     30429  0.0  0.0   3356   656 ?        S    Jul01   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=pop3d-ssl -maxprocs=40 -maxperip=4 -pid=/var/run/pop3d-ssl.pid -nodnslookup -noidentlookup 995 /usr/bin/couriertls -server -tcpd /usr/sbin/pop3login /usr/lib/courier-imap/authlib/authpsa /usr/bin/pop3d Maildir
root     30431  0.0  0.0   3124   676 ?        S    Jul01   0:00 /usr/sbin/courierlogger pop3d-ssl
bin      30439  0.0  0.0   1636   436 ?        Ss   Jul01   0:00 /sbin/portmap
10005    30459  0.0  0.0   5040  2852 ?        S    Jul01   0:01 /usr/sbin/sw-cp-serverd -f /etc/sw-cp-server/config
root     30485  0.3  0.0      0     0 ?        Z    08:18   0:00  \_ [sw-engine-cgi] <defunct>
root     30504  0.0  0.0   2320   872 ?        Ss   Jul01   0:00 /usr/sbin/xinetd
proxy    30415  0.1  0.0   7244  2980 ?        Ss   08:17   0:00  \_ proftpd: proxy - 93.210.17.138: IDLE
root     30514  0.0  0.0   1980   752 ?        Ss   Jul01   0:00 /usr/sbin/cron
root     30524  0.0  0.0 141424  1108 ?        Ssl  Jul01   0:01 /usr/sbin/nscd
named    30577  0.0  0.1  42500  8356 ?        Ssl  Jul01   0:00 /usr/sbin/named -t /var/lib/named -u named
root     30604  0.0  0.0   2636  1268 ?        S    Jul01   0:00 /bin/sh /usr/bin/mysqld_safe --mysqld=mysqld --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --socket=/var/lib/mysql/mysql.sock --datadir=/var/lib/mysql
mysql    30656  0.0  0.3 129708 19816 ?        Sl   Jul01   1:10  \_ /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-external-locking --port=3306 --socket=/var/lib/mysql/mysql.sock
root     30687  0.0  0.5  30776 27840 ?        Ss   Jul01   0:01 /usr/sbin/spamd --username=popuser --daemonize --nouser-config --helper-home-dir=/var/qmail --max-children 1 --create-prefs --virtual-config-dir=/var/qmail/mailnames/%d/%l/.spamassassin --pidfile=/var/run/spamd/spamd_full.pid --socketpath=/tmp/spamd_full.sock
popuser  30688  0.0  0.5  30776 26568 ?        S    Jul01   0:00  \_ spamd child
qmails   30716  0.0  0.0   1644   504 ?        S    Jul01   0:00 qmail-send
qmaill   30717  0.0  0.0   1604   484 ?        S    Jul01   0:00  \_ splogger qmail
root     30718  0.0  0.0   1628   388 ?        S    Jul01   0:00  \_ qmail-lspawn | /usr/bin/deliverquota ./Maildir
qmailr   30719  0.0  0.0   1624   400 ?        S    Jul01   0:00  \_ qmail-rspawn
qmailq   31744  0.0  0.0   1596   372 ?        S    Jul01   0:00  \_ qmail-clean
root     31849  0.0  0.2  31648 13104 ?        Ss   Jul01   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   31850  0.0  0.1  31612  6468 ?        S    Jul01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24431  0.0  0.2  33412 13168 ?        S    Jul01   0:07  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   29790  0.0  0.2  33724 13464 ?        S    Jul01   0:04  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   30590  0.0  0.3  37456 16988 ?        S    Jul01   0:02  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    3110  0.0  0.2  32892 11208 ?        S    Jul01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    3179  0.0  0.2  33104 11792 ?        S    Jul01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    3261  0.0  0.2  33108 11872 ?        S    Jul01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    3305  0.0  0.2  32868 10880 ?        S    Jul01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    3620  0.0  0.2  34388 13004 ?        S    Jul01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   17879  0.0  0.2  35164 14348 ?        S    Jul01   0:11  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   27660  0.0  0.2  33412 12408 ?        S    Jul01   0:06  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   28015  0.0  0.3  37560 16500 ?        S    Jul01   0:06  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   28017  0.0  0.3  37180 16444 ?        S    Jul01   0:06  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    3779  0.0  0.2  33488 12576 ?        S    Jul01   0:03  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    3852  0.0  0.2  33304 12092 ?        S    Jul01   0:02  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   12261  0.0  0.2  32892 11184 ?        S    Jul01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   12262  0.0  0.2  32884 11164 ?        S    Jul01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   12267  0.0  0.2  32892 11200 ?        S    Jul01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   13429  0.0  0.2  32868 11172 ?        S    Jul01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   13484  0.0  0.2  32892 11148 ?        S    Jul01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   13538  0.0  0.2  32892 11160 ?        S    Jul01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   13589  0.0  0.2  32892 11176 ?        S    Jul01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   14053  0.0  0.2  32868 10940 ?        S    00:00   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   14155  0.0  0.2  32868 11176 ?        S    00:00   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   14212  0.0  0.2  32872 11220 ?        S    00:00   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   15368  0.0  0.2  32868 10940 ?        S    00:01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   15384  0.0  0.2  32868 10968 ?        S    00:01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   15433  0.0  0.2  34280 13080 ?        S    00:01   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   15664  0.0  0.2  32892 11180 ?        S    00:04   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   15672  0.0  0.2  34296 13116 ?        S    00:04   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   15704  0.0  0.3  37436 16216 ?        S    00:04   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   15738  0.0  0.2  32868 11172 ?        S    00:04   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   15741  0.0  0.2  32892 11160 ?        S    00:04   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   15742  0.0  0.2  32868 10940 ?        S    00:04   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   15845  0.0  0.3  37536 16204 ?        S    00:05   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   15846  0.0  0.2  32892 11164 ?        S    00:05   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   15847  0.0  0.2  32940 11648 ?        S    00:05   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   15864  0.0  0.2  32920 11424 ?        S    00:05   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   16091  0.0  0.2  32892 11176 ?        S    00:09   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   16106  0.0  0.2  32892 11164 ?        S    00:09   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   16170  0.0  0.2  32892 11156 ?        S    00:10   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   16211  0.0  0.2  32868 11164 ?        S    00:11   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   16260  0.0  0.2  32868 11180 ?        S    00:11   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   16276  0.0  0.2  32892 11160 ?        S    00:11   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   16340  0.0  0.2  32868 11168 ?        S    00:12   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   16362  0.0  0.2  32868 11164 ?        S    00:12   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   16379  0.0  0.2  32892 11148 ?        S    00:12   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   17425  0.0  0.2  34536 13452 ?        S    00:12   0:01  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   17721  0.0  0.2  32868 11188 ?        S    00:15   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    9580  0.0  0.3  41796 19036 ?        S    01:43   0:05  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    9582  0.0  0.3  39100 17764 ?        S    01:43   0:05  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    9583  0.0  0.2  36636 15344 ?        S    01:43   0:06  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    9585  0.0  0.3  38712 17152 ?        S    01:43   0:06  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   14270  0.0  0.3  37900 16976 ?        S    02:26   0:06  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    5614  0.0  0.2  35316 14520 ?        S    05:12   0:04  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun    5617  0.0  0.2  34564 13764 ?        S    05:12   0:05  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   21632  0.0  0.2  33756 12604 ?        S    07:09   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   30475  0.0  0.1  31648  6864 ?        S    08:18   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   30476  0.0  0.1  31648  6864 ?        S    08:18   0:00  \_ /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL

nach einem apache restart geht alles wieder.
also liegt es an dem nur warum ist der so oft offen?
 
Last edited by a moderator:
Was zum * ist vzfree, den befehl kenn ich nicht und ist ebenfalls nicht ausführ bar.

Also kommt das durch zu viele Besucher, das der Server abkackt, kann es nicht eher sein das die Verbindung die vom Besucher geöffnet wird nicht geschlossen wird?

Die Apache Konfiguration ist doch bei jeden Webspace anders, also Account.
soll ich von jeder Domain die httpd.conf hier rein posten oder wie?
 
Hallo!
Was zum * ist vzfree, den befehl kenn ich nicht und ist ebenfalls nicht ausführ bar.
Let me google that for you

Also kommt das durch zu viele Besucher, das der Server abkackt, kann es nicht eher sein das die Verbindung die vom Besucher geöffnet wird nicht geschlossen wird?
Es kann auch an der globalen Erwärmung liegen. Ohne Fakten in Form von Konfigurationsdaten ist das jedoch recht schwierig zu beurteilen.
Die Apache Konfiguration ist doch bei jeden Webspace anders, also Account.
Nein, die Apachekonfiguration legt die Grundeinstellungen des Servers fest. Für einzelne vHosts können abweichende Parameter gelten. Wie gesagt, ohne Fakten ist das aber nicht zu beurteilen.
soll ich von jeder Domain die httpd.conf hier rein posten oder wie?
Nur wenn du einen Apache 1.3 hast *SCNR*. Die Konfiguration sollte sich in der Datei apache2.conf wiederfinden.

mfG
Thorsten
 
Nur wenn du einen Apache 1.3 hast *SCNR*. Die Konfiguration sollte sich in der Datei apache2.conf wiederfinden.
man apache2 bzw. httpd(8) said:
-f config
Uses the directives in the file config on startup. If config does not begin with a /, then it is taken to be a path relative to the ServerRoot. The default is conf/httpd.conf.
10 Zeichen
 
also eine apache2.conf hab ich nicht
wo soll die den zu finden sein.

Dafür hab ich in etc/apache2;
-default-server.conf
-httpd.conf
 
etc apache2 httpd.conf

Code:
<poeml+apache@suse.de>.

Include /etc/apache2/uid.conf

Include /etc/apache2/server-tuning.conf

ErrorLog /var/log/apache2/error_log

Include /etc/apache2/sysconfig.d/loadmodule.conf

Include /etc/apache2/listen.conf

Include /etc/apache2/mod_log_config.conf

Include /etc/apache2/sysconfig.d/global.conf

Include /etc/apache2/mod_status.conf
Include /etc/apache2/mod_info.conf

Include /etc/apache2/mod_usertrack.conf

Include /etc/apache2/mod_autoindex-defaults.conf

TypesConfig /etc/apache2/mime.types
DefaultType text/plain
Include /etc/apache2/mod_mime-defaults.conf

Include /etc/apache2/errors.conf

Include /etc/apache2/ssl-global.conf

<Directory />
    Options None
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

AccessFileName .htaccess

<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

DirectoryIndex index.html index.html.var index.shtml index.cfm index.php index.htm

Include /etc/apache2/default-server.conf

Include /etc/apache2/sysconfig.d/include.conf

Include /etc/apache2/vhosts.d/*.conf

AddOutputFilter INCLUDES .shtml
AddType text/html .shtml
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
 
Hallo!
Dann liefer doch auch mal die gewünschten Daten. vzfree ist als Stichwort gefallen, das Script von bibabu sowie den Inhalt der Datei default-server.conf (in Code Tags).

mfG
Thorsten
 
server-default
Code:
#


DocumentRoot "/srv/www/htdocs"

<Directory "/srv/www/htdocs">
 	
	
Options None
 	
	
AllowOverride None
 	
Order allow,deny
 Allow from all
</Directory>


Alias /icons/ "/usr/share/apache2/icons/"

<Directory "/usr/share/apache2/icons">
 Options Indexes MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
</Directory>

ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"


<Directory "/srv/www/cgi-bin">
 AllowOverride None
 Options +ExecCGI -Includes
 Order allow,deny
 Allow from all
</Directory>



<IfModule mod_userdir.c>
 	
Include /etc/apache2/mod_userdir.conf
</IfModule>

Include /etc/apache2/conf.d/*.conf

Include /etc/apache2/conf.d/apache2-manual?conf
ServerName xxx

ServerAdmin root@xxx

vzfree geht wie gesagt nicht
und das script muss ich mal von zuhause aus machen.
 
Back
Top