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)

Thunder™ 05.07.2009 17:47

müsste hier auch irgendwo rumliegen..

super erklärt und recht einfach zu verstehen....

ich suche mal ....mom....please

$iMpLy 05.07.2009 17:54

okey.. und wie genau macht man dat mit den iptables?
*nur bahnhof versteh*

Thunder™ 05.07.2009 17:58

sorry hab mich gerad vertan und den post vorhher bischen
verpfuscht^^ net böse sein...

wie gesagt ich such mal nach den iptables beschreibung

edit...

hier NetVision-Technik

wenn du weiter runter scrollst findes du die beschreibung...
was iptables sind und wie mann sie am besten einsetzt...
mann kann auch ports sperren damit oder Pings blocken

z.b
iptables -A INPUT -p icmp --icmp-type echo-reply -j DROP

um pings zu blocken

aber mach erst den server neu dann helf ich dir auch gern
weiter mit den iptables wenn du nicht klar kommst:-)

$iMpLy 05.07.2009 20:01

so habs nochmals neu gemacht mit deinem xcache oder wie das auch immer genau geschrieben wird.
am anfang gings gut, und jetzt nicht mehr. :-/

habe auch kein teamspeak und kein shoutcast draufgehauen!!


Code:

ks352839:~# ps aux
USER      PID %CPU %MEM    VSZ  RSS TTY      STAT START  TIME COMMAND
root        1  0.0  0.0  2092  680 ?        Ss  20:09  0:01 init [2]
root        2  0.0  0.0      0    0 ?        S<  20:09  0:00 [kthreadd]
root        3  0.0  0.0      0    0 ?        S<  20:09  0:00 [migration/0]
root        4  0.0  0.0      0    0 ?        S<  20:09  0:00 [ksoftirqd/0]
root        5  0.0  0.0      0    0 ?        S<  20:09  0:00 [events/0]
root        6  0.0  0.0      0    0 ?        S<  20:09  0:00 [khelper]
root      110  0.0  0.0      0    0 ?        S<  20:09  0:00 [kintegrityd/0]
root      111  0.0  0.0      0    0 ?        S<  20:09  0:00 [kblockd/0]
root      112  0.0  0.0      0    0 ?        S<  20:09  0:00 [kacpid]
root      113  0.0  0.0      0    0 ?        S<  20:09  0:00 [kacpi_notify]
root      195  0.0  0.0      0    0 ?        S<  20:09  0:00 [ata/0]
root      196  0.0  0.0      0    0 ?        S<  20:09  0:00 [ata_aux]
root      197  0.0  0.0      0    0 ?        S<  20:09  0:00 [ksuspend_usbd]
root      202  0.0  0.0      0    0 ?        S<  20:09  0:00 [khubd]
root      205  0.0  0.0      0    0 ?        S<  20:09  0:00 [kseriod]
root      248  0.0  0.0      0    0 ?        S    20:09  0:00 [pdflush]
root      249  0.0  0.0      0    0 ?        S    20:09  0:00 [pdflush]
root      250  0.0  0.0      0    0 ?        S<  20:09  0:00 [kswapd0]
root      251  0.0  0.0      0    0 ?        S<  20:09  0:00 [aio/0]
root      254  0.0  0.0      0    0 ?        S<  20:09  0:00 [nfsiod]
root      255  0.0  0.0      0    0 ?        S<  20:09  0:00 [cifsoplockd]
root      256  0.0  0.0      0    0 ?        S<  20:09  0:00 [cifsdnotifyd]
root      258  0.0  0.0      0    0 ?        S<  20:09  0:00 [xfs_mru_cache]
root      259  0.0  0.0      0    0 ?        S<  20:09  0:00 [xfslogd/0]
root      260  0.0  0.0      0    0 ?        S<  20:09  0:00 [xfsdatad/0]
root      261  0.0  0.0      0    0 ?        S<  20:09  0:00 [gfs2_scand]
root      262  0.0  0.0      0    0 ?        S<  20:09  0:00 [glock_workqueue]
root      967  0.0  0.0      0    0 ?        S<  20:09  0:00 [iscsi_eh]
root      985  0.0  0.0      0    0 ?        S<  20:09  0:00 [scsi_eh_0]
root      987  0.0  0.0      0    0 ?        S<  20:09  0:00 [scsi_eh_1]
root      1009  0.0  0.0      0    0 ?        S<  20:09  0:00 [mtdblockd]
root      1052  0.0  0.0      0    0 ?        S<  20:09  0:00 [kpsmoused]
root      1067  0.0  0.0      0    0 ?        S<  20:09  0:00 [kstriped]
root      1069  0.0  0.0      0    0 ?        S<  20:09  0:00 [kdelayd/0]
root      1070  0.0  0.0      0    0 ?        S<  20:09  0:00 [kmpathd/0]
root      1071  0.0  0.0      0    0 ?        S<  20:09  0:00 [kmpath_handlerd]
root      1072  0.0  0.0      0    0 ?        S<  20:09  0:00 [ksnapd]
root      1073  0.0  0.0      0    0 ?        S<  20:09  0:00 [kondemand/0]
root      1078  0.0  0.0      0    0 ?        S<  20:09  0:00 [rpciod/0]
root      1084  0.0  0.0      0    0 ?        S<  20:09  0:01 [kjournald]
root      2338  0.0  0.0      0    0 ?        S<  20:09  0:00 [kjournald]
root      2691  0.0  0.1  27400  1400 ?        Sl  20:09  0:00 /usr/sbin/rsyslogd -c3
root      2739  0.0  0.1  5408  1040 ?        Ss  20:09  0:00 /usr/sbin/sshd
root      2806  0.0  0.0  1756  460 tty1    Ss+  20:09  0:00 /sbin/getty 38400 tty1
root      2808  0.0  0.0  1756  460 tty2    Ss+  20:09  0:00 /sbin/getty 38400 tty2
root      2810  0.0  0.0  1756  460 tty3    Ss+  20:09  0:00 /sbin/getty 38400 tty3
root      2812  0.0  0.0  1756  460 tty4    Ss+  20:09  0:00 /sbin/getty 38400 tty4
root      2814  0.0  0.0  1756  460 tty5    Ss+  20:09  0:00 /sbin/getty 38400 tty5
root      2815  0.0  0.0  1756  460 tty6    Ss+  20:09  0:00 /sbin/getty 38400 tty6
root      2816  0.0  0.0  1756  468 ttyS0    Ss+  20:09  0:00 /sbin/getty -L ttyS0 9600 vt100
root      3054  0.0  0.0  4252  976 ?        Ss  20:11  0:00 /usr/sbin/cron
root      6435  0.0  0.0  2272  740 ?        S<s  20:15  0:00 udevd --daemon
bind      6544  0.0  1.4  47716 14776 ?        Ssl  20:15  0:00 /usr/sbin/named -u bind
root      6626  0.0  0.0  2140  332 ?        Ss  20:15  0:00 /sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan --syslog
ntp      11510  0.0  0.1  4256  1172 ?        Ss  20:15  0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -u 101:103 -g
root    13194  0.0  0.1  5616  1800 ?        Ss  20:16  0:00 /usr/lib/postfix/master
postfix  13195  0.0  0.1  5628  1712 ?        S    20:16  0:00 pickup -l -t fifo -u -c
postfix  13198  0.0  0.1  5672  1756 ?        S    20:16  0:00 qmgr -l -t fifo -u
root    17514  0.0  0.7  49272  7812 ?        Ss  20:20  0:00 /usr/sbin/apache2 -k start
www-data 17714  0.0  1.3  51908 13816 ?        S    20:21  0:00 /usr/sbin/apache2 -k start
www-data 17716  0.0  1.3  51712 13468 ?        S    20:21  0:01 /usr/sbin/apache2 -k start
www-data 17717  0.0  1.2  50452 12676 ?        S    20:21  0:01 /usr/sbin/apache2 -k start
www-data 17718  0.0  1.0  50956 10900 ?        S    20:21  0:00 /usr/sbin/apache2 -k start
www-data 17719  0.0  0.7  50476  8140 ?        S    20:21  0:00 /usr/sbin/apache2 -k start
root    20651  0.0  0.1  4684  1252 ?        S    20:22  0:00 /bin/sh /usr/bin/mysqld_safe
mysql    20690  0.2  1.9 128104 20072 ?        Sl  20:22  0:04 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306
root    20692  0.0  0.0  3792  592 ?        S    20:22  0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
www-data 20776  0.2  1.3  52108 13628 ?        S    20:22  0:03 /usr/sbin/apache2 -k start
www-data 20777  1.3  1.2  51132 12880 ?        S    20:22  0:21 /usr/sbin/apache2 -k start
www-data 20778  1.6  1.1  50592 11692 ?        S    20:22  0:26 /usr/sbin/apache2 -k start
www-data 20779  2.5  1.2  50624 13260 ?        S    20:22  0:40 /usr/sbin/apache2 -k start
root    20842  0.1  0.2  8304  2704 ?        Ss  20:23  0:01 sshd: root@notty
root    20846  0.0  0.1  4836  1488 ?        Ss  20:23  0:00 /usr/lib/openssh/sftp-server
root    21704  0.0  0.2  8152  2652 ?        Ss  20:47  0:00 sshd: root@notty
root    21708  0.0  0.1  4836  1416 ?        Ss  20:47  0:00 /usr/lib/openssh/sftp-server
root    21744  0.2  0.2  8308  2680 ?        Ss  20:48  0:00 sshd: root@pts/0
root    21748  0.0  0.1  4984  1592 pts/0    Ss  20:48  0:00 -bash
root    21752  0.0  0.0  4472  956 pts/0    R+  20:48  0:00 ps aux



--======================================--
--==
Beitrag erstellt: 21:01 um 20:49 ==--
--==
geantwortet auf Beitrag vom ==--
--== automatische Beitragszusammenführung ==--
--======================================--


$iMpLy schrieb nach 12 Minuten und 15 Sekunden:

komisch komisch!!
nun habe ich die Shoutbox rausgeworfen und es klappt wieder super!!

Thunder™ 05.07.2009 20:46

vieleicht ist deine shoutbox php bischen bala bala...

vieleicht mal das limit geringer setzen..
weiss ja nicht wie du es hast

in der shoutbox.php
die zeile
Code:

$res = mysql_query("SELECT * FROM shoutbox ORDER BY date DESC LIMIT 30") or sqlerr(__FILE__, __LINE__);
bei mir hats zb was gebracht da sie weniger zu laden hat..

die shouty ist ja auch mit das einzige was wirklich viel power frisst

in der BonkeR 2009 mod by Evil-Ninja ist das limit sogar bei 400...
der arme server sag ich nur und die amen user mit schwacher leitung beim seiten aufbau^^

haste den auch nun iptables regeln drinne?
und haste schon angefangen den server zu optimieren?

$iMpLy 06.07.2009 05:20

bei uns ists nur auf 100 eingestellt.
aber bei der admin box gings auch nicht und die ist nur auf 40 od. 50!!

nein das mit iptables habe ich noch ned versucht!!
ja die vorschläge von dir in der apache2.conf habe ich schon eingesetzt!!

Thunder™ 06.07.2009 17:34

:huhu:, was sag den der Server heute?...

$iMpLy 06.07.2009 18:01

ja bis jetzt eig. stabil ohne shoutbox!
aber ich werde auf ende monat nen neuen nehmen, der dann auch 2gb ram's hat
superplan_mini werde ich nehmen, sofern er dir was sagt.

Cerberus 06.07.2009 21:21

welche SB war das ???
die "Default-SB" ?????

sonst teste mal eine mit Ajax -- die Default-SB läd zu viele Daten

Thunder™ 07.07.2009 00:30

Zitat:

Zitat von $iMpLy (Beitrag 37487)
ja bis jetzt eig. stabil ohne shoutbox!
aber ich werde auf ende monat nen neuen nehmen, der dann auch 2gb ram's hat
superplan_mini werde ich nehmen, sofern er dir was sagt.


ja sagt mir was...
aber wird auch besser sein...
diese kleinen 25 euro Server sind einfach nur mist
und echt nur ne Notlösung für kurze zeit

selbst als flux taugen die nichts

oder ich hab zu hohe ansprüche
zumindes bin ich mit den dingern nie warm geworden:unsure:


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:10 Uhr.

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