OVH Community, your new community space.

charge du serveur anormalement élever.


nowwhat
23/02/2015, 09h30
Sur le serveur lui-même ? Quasiment impossible.

Avec un tout petit serveur KS et la connexion vers le net qui est un tout petit 100 Mbit/sec NON GARANTIE, il faut:
Garder un profile très bas,
Pas trop tirer l'attention,
Éviter de proposer des services qui pourrait créer une forme de "jalousie" ou autre de la part de tes visiteurs.

Pour contrer des DDOS il n'y pas x solutions: il en existe qu'une : utiliser un serveur qui est mieux préparé (plus costaud) et mieux protégé (la protection DDOS d'un SYS, voir OVH est mieux).

Le KS est et reste un "serveur apprentie", qui n'a qu'UN avantage: pas cher. On ne paie pas pour les autres options. Les "options" n'existent même pas.

Je t’invite à chercher le mot DDOS sur ce forum. T'auras quelques réponses. Mais la diagnose ne changera pas.

Par contre:
c'est quoi la commande pour voir les logs en mode rescue-pro s'il vous plait?
Soit t'as un admin, il saura faire.
Soit, c'est toi, et tu sauras quoi faire: apprendre rapidement ce que c'est ce mode rescue et comment effecteur des manips de base. T'en auras besoin un jour ou l'autre

winny33
22/02/2015, 21h01
nous subisson une attaque ddos comment on peux contrer sa?

winny33
22/02/2015, 20h26
c'est quoi la commande pour voir les logs en mode rescue-pro s'il vous plait?

winny33
22/02/2015, 19h48
re bonsoir
les testes de harwares sont en cours.
les partitions il a pas détecter de problème
hard driver:
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.14.32-xxxx-std-ipv6-64-rescue] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family: Toshiba 3.5" HDD DT01ACA...
Device Model: TOSHIBA DT01ACA050
Serial Number: 2412WV6BS
LU WWN Device Id: 5 000039 ff9c15145
Firmware Version: MS1OA750
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Sun Feb 22 19:34:16 2015 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x84) Offline data collection activity
was suspended by an interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 3838) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 64) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 016 Pre-fail Always - 0
2 Throughput_Performance 0x0005 140 140 054 Pre-fail Offline - 75
3 Spin_Up_Time 0x0007 111 111 024 Pre-fail Always - 206 (Average 205)
4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 10
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 120 120 020 Pre-fail Offline - 32
9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 5948
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 10
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 27
193 Load_Cycle_Count 0x0012 100 100 000 Old_age Always - 27
194 Temperature_Celsius 0x0002 240 240 000 Old_age Always - 25 (Min/Max 23/39)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 80 -
# 2 Short offline Completed without error 00% 78 -
# 3 Short offline Completed without error 00% 77 -
# 4 Short offline Completed without error 00% 53 -
# 5 Short offline Completed without error 00% 7 -
# 6 Short offline Completed without error 00% 0 -

SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
partition 1
fsck from util-linux 2.20.1
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: 70101/1281120 files (0.2% non-contiguous), 817579/5119744 blocks
Return value : 0
partition 2
fsck from util-linux 2.20.1
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda2: 6415/29212672 files (0.7% non-contiguous), 2067568/116844544 blocks
Return value : 0
ram:
######################
# Test on thread 1
######################
memtester version 4.2.1 (64-bit)
Copyright (C) 2010 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).

pagesize is 4096
pagesizemask is 0xfffffffffffff000
want 365MB (382730240 bytes)
got 365MB (382730240 bytes), trying mlock ...locked.
Loop 1/1:
Stuck Address : ok
Random Value : ok
Compare XOR : ok
Compare SUB : ok
Compare MUL : ok
Compare DIV : ok
Compare OR : ok
Compare AND : ok
Sequential Increment: ok
Solid Bits : ok
Block Sequential : ok
Checkerboard : ok
Bit Spread : ok
Bit Flip : ok
Walking Ones : ok
Walking Zeroes : ok
8-bit Writes : ok
16-bit Writes : ok

Done.


######################
# Test on thread 2
######################
memtester version 4.2.1 (64-bit)
Copyright (C) 2010 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).

pagesize is 4096
pagesizemask is 0xfffffffffffff000
want 365MB (382730240 bytes)
got 365MB (382730240 bytes), trying mlock ...locked.
Loop 1/1:
Stuck Address : ok
Random Value : ok
Compare XOR : ok
Compare SUB : ok
Compare MUL : ok
Compare DIV : ok
Compare OR : ok
Compare AND : ok
Sequential Increment: ok
Solid Bits : ok
Block Sequential : ok
Checkerboard : ok
Bit Spread : ok
Bit Flip : ok
Walking Ones : ok
Walking Zeroes : ok
8-bit Writes : ok
16-bit Writes : ok

Done.


######################
# Test on thread 3
######################
memtester version 4.2.1 (64-bit)
Copyright (C) 2010 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).

pagesize is 4096
pagesizemask is 0xfffffffffffff000
want 365MB (382730240 bytes)
got 365MB (382730240 bytes), trying mlock ...locked.
Loop 1/1:
Stuck Address : ok
Random Value : ok
Compare XOR : ok
Compare SUB : ok
Compare MUL : ok
Compare DIV : ok
Compare OR : ok
Compare AND : ok
Sequential Increment: ok
Solid Bits : ok
Block Sequential : ok
Checkerboard : ok
Bit Spread : ok
Bit Flip : ok
Walking Ones : ok
Walking Zeroes : ok
8-bit Writes : ok
16-bit Writes : ok

Done.


######################
# Test on thread 4
######################
memtester version 4.2.1 (64-bit)
Copyright (C) 2010 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).

pagesize is 4096
pagesizemask is 0xfffffffffffff000
want 365MB (382730240 bytes)
got 365MB (382730240 bytes), trying mlock ...locked.
Loop 1/1:
Stuck Address : ok
Random Value : ok
Compare XOR : ok
Compare SUB : ok
Compare MUL : ok
Compare DIV : ok
Compare OR : ok
Compare AND : ok
Sequential Increment: ok
Solid Bits : ok
Block Sequential : ok
Checkerboard : ok
Bit Spread : ok
Bit Flip : ok
Walking Ones : ok
Walking Zeroes : ok
8-bit Writes : ok
16-bit Writes : ok

Done.

reste le processeur qui et en cours de teste.

janus57
22/02/2015, 19h33
Bonjour,

dans un premier temps passer en rescue et analyser les logs pour voir ce qui a pu provoquer cette charge.

Ensuite tant qu'a faire les test hardware.

Cordialement, janus57

winny33
22/02/2015, 19h02
bonsoir a tous:
le serveur ns318845.ip-37-187-100.eu subit des charges anormalement élever:
cpu: 99%
ram: 94%
swap: 99%
j'était obliger de faire un hard reboot riens y fait. même en mode rescue-pro.
qu'est que je doit faire dans ce cas la s'il vous plait?
merci d'avance pour votre aide