NetVision-Technik

NetVision-Technik (http://www.netvision-technik.de/forum/index.php)
-   Webserver (http://www.netvision-technik.de/forum/forumdisplay.php?f=9)
-   -   Die Serverlast ist momentan zu hoch (http://www.netvision-technik.de/forum/showthread.php?t=3538)

$iMpLy 05.07.2009 17:25

Zitat:

Zitat von Thunder™ (Beitrag 37439)
neu posten tut glaub ich nicht not

da es die anleitung hier ja schon gibt....

zumindes hab ich es nach der anleitung gemacht...

NetVision-Technik


so hab dat mal eingebaut und das APC läuft auch...

hier die ps aux
Code:

ks352839:/# ps aux
USER      PID %CPU %MEM    VSZ  RSS TTY      STAT START  TIME COMMAND
root        1  0.0  0.0  2092  680 ?        Ss  16:03  0:01 init [2]
root        2  0.0  0.0      0    0 ?        S<  16:03  0:00 [kthreadd]
root        3  0.0  0.0      0    0 ?        S<  16:03  0:00 [migration/0]
root        4  0.0  0.0      0    0 ?        S<  16:03  0:00 [ksoftirqd/0]
root        5  0.0  0.0      0    0 ?        S<  16:03  0:00 [events/0]
root        6  0.0  0.0      0    0 ?        S<  16:03  0:00 [khelper]
root      110  0.0  0.0      0    0 ?        S<  16:03  0:00 [kintegrityd/0]
root      111  0.0  0.0      0    0 ?        S<  16:03  0:00 [kblockd/0]
root      112  0.0  0.0      0    0 ?        S<  16:03  0:00 [kacpid]
root      113  0.0  0.0      0    0 ?        S<  16:03  0:00 [kacpi_notify]
root      195  0.0  0.0      0    0 ?        S<  16:03  0:00 [ata/0]
root      196  0.0  0.0      0    0 ?        S<  16:03  0:00 [ata_aux]
root      197  0.0  0.0      0    0 ?        S<  16:03  0:00 [ksuspend_usbd]
root      202  0.0  0.0      0    0 ?        S<  16:03  0:00 [khubd]
root      205  0.0  0.0      0    0 ?        S<  16:03  0:00 [kseriod]
root      248  0.0  0.0      0    0 ?        S    16:03  0:00 [pdflush]
root      249  0.0  0.0      0    0 ?        S    16:03  0:00 [pdflush]
root      250  0.0  0.0      0    0 ?        S<  16:03  0:00 [kswapd0]
root      251  0.0  0.0      0    0 ?        S<  16:03  0:00 [aio/0]
root      254  0.0  0.0      0    0 ?        S<  16:03  0:00 [nfsiod]
root      255  0.0  0.0      0    0 ?        S<  16:03  0:00 [cifsoplockd]
root      256  0.0  0.0      0    0 ?        S<  16:03  0:00 [cifsdnotifyd]
root      258  0.0  0.0      0    0 ?        S<  16:03  0:00 [xfs_mru_cache]
root      259  0.0  0.0      0    0 ?        S<  16:03  0:00 [xfslogd/0]
root      260  0.0  0.0      0    0 ?        S<  16:03  0:00 [xfsdatad/0]
root      261  0.0  0.0      0    0 ?        S<  16:03  0:01 [gfs2_scand]
root      262  0.0  0.0      0    0 ?        S<  16:03  0:00 [glock_workqueue]
root      967  0.0  0.0      0    0 ?        S<  16:03  0:00 [iscsi_eh]
root      985  0.0  0.0      0    0 ?        S<  16:03  0:00 [scsi_eh_0]
root      987  0.0  0.0      0    0 ?        S<  16:03  0:00 [scsi_eh_1]
root      1009  0.0  0.0      0    0 ?        S<  16:03  0:00 [mtdblockd]
root      1052  0.0  0.0      0    0 ?        S<  16:03  0:00 [kpsmoused]
root      1067  0.0  0.0      0    0 ?        S<  16:03  0:00 [kstriped]
root      1069  0.0  0.0      0    0 ?        S<  16:03  0:00 [kdelayd/0]
root      1070  0.0  0.0      0    0 ?        S<  16:03  0:00 [kmpathd/0]
root      1071  0.0  0.0      0    0 ?        S<  16:03  0:00 [kmpath_handlerd]
root      1072  0.0  0.0      0    0 ?        S<  16:03  0:00 [ksnapd]
root      1073  0.0  0.0      0    0 ?        S<  16:03  0:00 [kondemand/0]
root      1078  0.0  0.0      0    0 ?        S<  16:03  0:00 [rpciod/0]
root      1084  0.0  0.0      0    0 ?        S<  16:03  0:01 [kjournald]
root      2339  0.0  0.0      0    0 ?        S<  16:03  0:00 [kjournald]
root      2692  0.0  0.1  27400  1404 ?        Sl  16:03  0:00 /usr/sbin/rsyslogd -c3
root      2740  0.0  0.1  5408  1040 ?        Ss  16:03  0:00 /usr/sbin/sshd
root      2807  0.0  0.0  1756  460 tty1    Ss+  16:03  0:00 /sbin/getty 38400 tty1
root      2809  0.0  0.0  1756  460 tty2    Ss+  16:03  0:00 /sbin/getty 38400 tty2
root      2811  0.0  0.0  1756  460 tty3    Ss+  16:03  0:00 /sbin/getty 38400 tty3
root      2813  0.0  0.0  1756  460 tty4    Ss+  16:03  0:00 /sbin/getty 38400 tty4
root      2815  0.0  0.0  1756  460 tty5    Ss+  16:03  0:00 /sbin/getty 38400 tty5
root      2816  0.0  0.0  1756  460 tty6    Ss+  16:03  0:00 /sbin/getty 38400 tty6
root      2817  0.0  0.0  1756  468 ttyS0    Ss+  16:03  0:00 /sbin/getty -L ttyS0 9600 vt100
root      3055  0.0  0.0  4252  976 ?        Ss  16:05  0:00 /usr/sbin/cron
root      6494  0.0  0.0  2272  740 ?        S<s  16:10  0:00 udevd --daemon
bind      6603  0.0  1.5  48364 15484 ?        Ssl  16:10  0:00 /usr/sbin/named -u bind
root      6685  0.0  0.0  2140  332 ?        Ss  16:10  0:00 /sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan --syslog
root      8054  0.0  0.2  8152  2684 ?        Ss  17:04  0:00 sshd: root@notty
root      8065  0.0  0.1  4836  1424 ?        Ss  17:04  0:00 /usr/lib/openssh/sftp-server
unreal    8826  0.0  0.2  4280  2312 ?        S    17:09  0:00 /home/unreal/Unreal3.2/src/ircd
root    10739  0.0  0.2  8304  2724 ?        Ss  16:46  0:00 sshd: root@notty
root    10856  0.0  0.1  4836  1500 ?        Ss  16:46  0:00 /usr/lib/openssh/sftp-server
ntp      10881  0.0  0.1  4256  1176 ?        Ss  16:11  0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -u 101:103 -g
root    12534  0.0  0.1  5616  1800 ?        Ss  16:11  0:00 /usr/lib/postfix/master
postfix  12538  0.0  0.1  5672  1760 ?        S    16:11  0:00 qmgr -l -t fifo -u
postfix  13764  0.0  0.1  5628  1712 ?        S    17:51  0:00 pickup -l -t fifo -u -c
root    14921  0.0  0.7 163948  7296 ?        Ss  18:18  0:00 /usr/sbin/apache2 -k start
root    14968  0.0  0.2  8152  2660 ?        Ss  18:18  0:00 sshd: root@notty
root    14972  0.0  0.1  4836  1436 ?        Ss  18:18  0:00 /usr/lib/openssh/sftp-server
www-data 14974  0.0  0.3 163948  3680 ?        S    18:18  0:00 /usr/sbin/apache2 -k start
www-data 14975  0.0  0.3 163948  3680 ?        S    18:18  0:00 /usr/sbin/apache2 -k start
www-data 14976  0.0  0.3 163948  3680 ?        S    18:18  0:00 /usr/sbin/apache2 -k start
www-data 14977  0.0  0.3 163948  3680 ?        S    18:18  0:00 /usr/sbin/apache2 -k start
www-data 14978  0.0  0.3 163948  3680 ?        S    18:18  0:00 /usr/sbin/apache2 -k start
www-data 14979  0.0  0.3 163948  3680 ?        S    18:18  0:00 /usr/sbin/apache2 -k start
root    14980  0.0  0.0  4472  956 pts/0    R+  18:18  0:00 ps aux
root    17598  0.0  0.2  8308  2724 ?        Rs  16:49  0:01 sshd: root@pts/0
root    17602  0.0  0.1  5016  1672 pts/0    Rs  16:49  0:00 -bash
root    19997  0.0  0.5  9312  5328 ?        Ss  16:57  0:00 /usr/bin/perl /tmp/webmin-1.370/miniserv.pl /etc/webmin/miniserv.conf
root    28636  0.0  0.1  4684  1252 ?        S    16:28  0:00 /bin/sh /usr/bin/mysqld_safe
mysql    28675  0.3  2.9 146168 30080 ?        Sl  16:28  0:21 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306
root    28677  0.0  0.0  3792  592 ?        S    16:28  0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld



--======================================--
--==
Beitrag erstellt: 18:25 um 18:19 ==--
--==
geantwortet auf Beitrag vom ==--
--== automatische Beitragszusammenführung ==--
--======================================--


$iMpLy schrieb nach 5 Minuten und 14 Sekunden:

aba nun läuft gar nix mehr.. :-/

Thunder™ 05.07.2009 17:27

nun mal bisschen warten und verfolgen...
dauert ja immer bisschen bis sich alles ein spielt und
sich der Effekt bemerkbar macht...

Apc hätte ich weg gelassen nur die Xcache... erstmal

wenn nichts mehr geht ..
mach das mal aus der php.ini raus und teste dann

Code:

extension="apc.so"
apc.enabled=1
apc.file_update_protection=2
apc.optimization=0
apc.shm_size=32
apc.shm_segments=1
apc.gc_ttl=7200
apc.ttl=7200
apc.num_files_hint=1024
apc.enable_cli=0


$iMpLy 05.07.2009 17:28

Liste der Anh?nge anzeigen (Anzahl: 1)
hm.. das apc bringt man ja nicht einfach so weg oder?
ah und deine my.cnf finde ich ned.. :-/

Thunder™ 05.07.2009 17:31

mom ich schau wo die steckt....
bin nicht so schnell^^

edit:

die my.conf findes du in /etc/mysql

gotthummer 05.07.2009 17:31

wie gesagt ich würd auf so nem kleinem server auch eher xcache nehmen versteh aber uch nicht das soviel läuft bei dir auf dem server und das auf dem kleinen server dann noch tracker mit usern dazu dann kann es schon sein das der ausgelastet ist

$iMpLy 05.07.2009 17:33

gh, am anfang hatte ich auch immer so einen und wirklich NIE probleme damit.. :-/
da leider das finanzielle fehlt, kann ich auch keinen grösseren haben!!

Thunder™ 05.07.2009 17:38

zur not mal dein server komplett platt und alles von vorne...

debian lenny und nur XCache

oder debian etch, was meiner meinung nach besser
geschaffen ist für schwache server

danach die apache.conf php.ini sowie my.conf
vernünftig optimieren...

arbeites du mit iptables?

aber du hast ja auch ts / source und shoutcasst drauf

versteh ich das richtig?

$iMpLy 05.07.2009 17:40

ja habe ich auch noch drauf
auch nen unrealircd

und dann sollte noch nen wolfenstein server drauf kommen


ne arbeite eig. ned mit iptables

Thunder™ 05.07.2009 17:42

du weiss aber das mann mit iptables ganz nette sachen machen
kann oder? und mann kann auch bischen wat einsparen dadurch..

hast du überhaupt ne firewall oder sowas ähnliches?

und soviele sachen auf ein server..
kann auch dauer nicht gut sein...

2 GB Ram sollte minimum drin sitzen
bei solchen sachen

$iMpLy 05.07.2009 17:44

ehrm, noe *hehe*


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:59 Uhr.

Powered by vBulletin® Version 3.8.9 (Deutsch)
Copyright ©2000 - 2024, vBulletin Solutions, Inc.