Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2639 connectés 

 


 Mot :   Pseudo :  
 
 Page :   1  2
Page Suivante
Auteur Sujet :

MySQL attaque et tombe mon serveur (deuxième edition)

n°112900
asphro
Posté le 13-06-2002 à 23:41:45  profilanswer
 

Reprise du message précédent :
oui mais
 
- la gestion de ram entre phpsysinfo in a 2.1 et now c'est plus la memem il prend la ram en cache dans la ram used
 
- et je te grantie que 99% des user avec ce nouveau phpsysinfo on 99% de ram utilisé vu que linux utilise toute la ram en mettant au maximun en cache
 
fais un free en console et regarde


Message édité par asphro le 13-06-2002 à 23:44:01
mood
Publicité
Posté le 13-06-2002 à 23:41:45  profilanswer
 

n°112902
asphro
Posté le 13-06-2002 à 23:42:27  profilanswer
 

copywaz a écrit a écrit :

 
 
Je suis en BAC pro MRBT (Administrateur réseau Microsoft. On nous forme sur des systèmes propriétaires et non sur des technologies libres :fuck: )
 
Pas de philo en BAC pro :lol:  




 
j ai arrete mes etudes d iut info car on nous former a la krosoft :fuck:

n°112904
copywaz
Posté le 13-06-2002 à 23:43:42  profilanswer
 

[root@ns3147 init.d]# free
             total       used       free     shared    buffers     cached
Mem:        254944     248464       6480          0       5036      53624
-/+ buffers/cache:     189804      65140
Swap:       265064      29184     235880


 
 :lol:

n°112907
asphro
Posté le 13-06-2002 à 23:45:15  profilanswer
 

5036      53624 soit 59000ko cached et buffered et soit
194000ko reellement utilisé

n°112908
copywaz
Posté le 13-06-2002 à 23:45:33  profilanswer
 

asphro a écrit a écrit :

 
 
j ai arrete mes etudes d iut info car on nous former a la krosoft :fuck:  




 
Bâ, moi je trouve pas normal qu?on est passé 100 heures sur Windows 2000 est 3 heures sous Linux :??:

n°112910
copywaz
Posté le 13-06-2002 à 23:46:23  profilanswer
 

asphro a écrit a écrit :

5036      53624 soit 59000ko cached et buffered et soit
194000ko reellement utilisé  




 
Donc il reste 60 Mo de libre :sol:

n°112911
asphro
Posté le 13-06-2002 à 23:46:56  profilanswer
 

oui voila en gros

n°112916
copywaz
Posté le 13-06-2002 à 23:52:25  profilanswer
 

Un grand merci à Toi est à Joce.
 
Si mon serveur tombe je reviens demain pour une troisième édition.
 
Si vous voulez une licence pour le soft Audiograbber pas de problème, envoyez un email à eric@audiograbber.com.fr (Valable uniquement pour Asphro et Joce)
 
Bonne nuit à tous.
 
# Eric BOUCHE
#
# Audiograbber, le ripper de CD audio numéro 1 dans le monde
# http://www.audiograbber.com.fr/ .:site officiel Fr:.
# Nero - Burning Rom, le soft de gravure par excellence
# http://nero.2037.biz/ .:site recommandé par ahead aux utilisateurs Fr:.
#
# phpBB, le forum open source par excellence
# http://www.phpBB.biz/ .:site de la communauté francophone:.  
# Samba, la passerelle Linux  / Windows
# http://samba.2037.biz/ .:centre d?information officiel Fr:.

n°112919
asphro
Posté le 13-06-2002 à 23:55:47  profilanswer
 

thx c'est sympa, mais personnellement mes services sont gratuits ;)
 
voilà est peut-être a demain enfin demain soir je part en vacances ;)

n°112922
copywaz
Posté le 14-06-2002 à 00:01:23  profilanswer
 

Arf, je vais me prendre !!! Il y a 150 Mo de swap et le serveur est Hors Service

mood
Publicité
Posté le 14-06-2002 à 00:01:23  profilanswer
 

n°112928
copywaz
Posté le 14-06-2002 à 00:05:41  profilanswer
 

285 processes: 284 sleeping, 1 running, 0 zombie, 0 stopped


 
C'est pas un peu beaucoup ?

n°112930
asphro
Posté le 14-06-2002 à 00:06:25  profilanswer
 


phpBB : Critical Error  
 
Could not connect to the database  


 
ah oui quand même doit y avoir une couille dans le pâté quand même
 
ca me fais penser a mon apache si je laisse mon doigt sur la touche f5 pour rafraichir la page de mon server il monte en charge jusque 12 pis il plante.
 
pourquoi j'en sais rien heureusement ca le fais quand local  
par internet les temps reponse etant plus long

n°112933
joce
Architecte / Développeur principal
"BugHunter"
Posté le 14-06-2002 à 00:09:43  profilanswer
 

phpbb suxxor :D

n°112934
joce
Architecte / Développeur principal
"BugHunter"
Posté le 14-06-2002 à 00:10:14  profilanswer
 

Si tu fais un show processlist sous MySQL y a quoi ?

n°112936
copywaz
Posté le 14-06-2002 à 00:11:43  profilanswer
 

J?ai limité apache à 200 processus pour 256 Mo de ram, OVH l?avait monté jusqu'à 150 lorsque le serveur avait que 128 dans le serveur.

n°112938
joce
Architecte / Développeur principal
"BugHunter"
Posté le 14-06-2002 à 00:12:48  profilanswer
 

tu peux faire un show processlist :p

n°112941
copywaz
Posté le 14-06-2002 à 00:14:33  profilanswer
 

joce a écrit a écrit :

Si tu fais un show processlist sous MySQL y a quoi ?  




 
C'est oké comme commande?
 
[root@ns3147 etc]# mysqladmin -pxXxXxXxXxXxXxXxX processlist
+------+------------+-----------+------------+----
 
-----+------+-------+------------------+
| Id   | User       | Host      | db         | Command | Time | State | Info             |
+------+------------+-----------+------------+---------+------+-------+------------------+
| 3257 | maxiforumw | localhost | maxiforumw | Sleep   | 459  |       |                  |
| 3267 | maxiforumw | localhost | maxiforumw | Sleep   | 451  |       |                  |
| 3771 | morpheus   | localhost | morpheus   | Sleep   | 38   |       |                  |
| 3829 | maxiforumw | localhost | maxiforumw | Sleep   | 3    |       |                  |
| 3835 | root       | localhost |            | Query   | 0    |       | show processlist |
+------+------------+-----------+------------+----
 
-----+------+-------+------------------+
[root@ns3147 etc]#


Message édité par copywaz le 14-06-2002 à 00:20:14
n°112942
copywaz
Posté le 14-06-2002 à 00:17:22  profilanswer
 

joce a écrit a écrit :

phpbb suxxor :D  




 
Bâ si il y a ça en plus des failles de sécurités omni présente? On va changer de technologie http://forum.2037.biz/images/smiles/icon_pleure.gif


Message édité par copywaz le 14-06-2002 à 00:17:52
n°112976
joce
Architecte / Développeur principal
"BugHunter"
Posté le 14-06-2002 à 01:37:36  profilanswer
 

si y a que ca c'est pas mysql le problème à priori


---------------
Protèges carnets personnalisés & accessoires pour bébé
n°113049
copywaz
Posté le 14-06-2002 à 10:06:35  profilanswer
 

joce a écrit a écrit :

si y a que ca c'est pas mysql le problème à priori  




 

Citation :

Bonjour,  
 
l'a retranscription en html n'etant pas top,  
je suis aller voir le fichier sur votre machine ...  
il se trouve que celui ci se nomme "my*" .... et non my.cnf  
 
Alex  
La Foire Aux Questions: http://faq.ovh.fr/index.cgi?do=view&plan=superplan  
Le tutorial Webmin: http://sd.ovh.fr/support/webmin


 
Je corrige ça :fou:

n°113345
copywaz
Posté le 14-06-2002 à 17:58:49  profilanswer
 

Yop c?est oké maintenant il y a 180 MO de ram libre :lol:  Ce qui est étrange c?est que j?ai en permanence 100 Mo de swap utilisé :??:  
 
Mon serveur semble tenir la charge et semble plus rapide qu?avant.
 
Merci à tous :kaola: (j'adore ce smilies)

n°116899
copywaz
Posté le 24-06-2002 à 22:40:28  profilanswer
 

:p de retour avec le même problème
 

[root@ns3147 init.d]# mysqladmin -pxxxxxxxxxxxx processlist
mysqladmin: connect to server at 'localhost' failed
error: 'User root@localhost has already more than 'max_user_connections' active connections'
[root@ns3147 init.d]# mysqladmin -pxxxxxxxxxxxx processlist
mysqladmin: connect to server at 'localhost' failed
error: 'User root@localhost has already more than 'max_user_connections' active connections'
[root@ns3147 init.d]# mysqladmin -pxxxxxxxxxxxx processlist
mysqladmin: connect to server at 'localhost' failed
error: 'User root@localhost has already more than 'max_user_connections' active connections'
[root@ns3147 init.d]# mysqladmin -pxxxxxxxxxxxx processlist
mysqladmin: connect to server at 'localhost' failed
error: 'User root@localhost has already more than 'max_user_connections' active connections'
[root@ns3147 init.d]# mysqladmin -pxxxxxxxxxxxx processlist
+------+------------+-----------+------------+---------+------+----------------+------------------------
------------------------------------------------------------------------------+
| Id   | User       | Host      | db         | Command | Time | State          | Info
                                                                              |
+------+------------+-----------+------------+---------+------+----------------+------------------------
------------------------------------------------------------------------------+
| 1143 | maxiforumw | localhost | maxiforumw | Query   | 11   | Opening table  | DELETE FROM usersonline
 WHERE date <> '2002-06-24'                                                   |
| 1152 | morpheus   | localhost | morpheus   | Query   | 9    | closing tables | SELECT attach_id
        FROM phpbb_attach
        WHERE post_id = 4103                                            |
| 1160 | maxiforu   | localhost | maxiforu   | Query   | 4    | Opening tables | SELECT username FROM ph
pbb_users WHERE user_id = 1374                                                |
| 1161 | maxiforu   | localhost | maxiforu   | Query   | 12   | closing tables | SELECT poster_id, post_
time FROM phpbb_posts WHERE post_id =27787                                    |
| 1163 | maxiforu   | localhost | maxiforu   | Query   | 4    | Opening tables | SELECT username FROM ph
pbb_users WHERE user_id = 1498                                                |
| 1170 | root       | localhost | forum      | Query   | 102  | Sending data   | SELECT t.forum_id, t.to
pic_id, p.post_time
                        FROM phpbb_topics t, phpbb_posts p
                        WHERE p.post_i |
| 1174 | root       | localhost | forum      | Query   | 93   | Locked         | UPDATE phpbb_topics
        SET topic_views = topic_views + 1
        WHERE topic_id = 5618                        |
| 1186 | morpheus   | localhost | morpheus   | Query   | 16   | Locked         | SELECT f.*, p.post_time
, p.post_username, u.username, u.user_id, t.topic_title, t.topic_id
                                FROM  |
| 1187 | root       | localhost | forum      | Query   | 67   | Locked         | SELECT t.*, u.username,
 u.user_id, u2.username as user2, u2.user_id as id2, p.post_time, p.post_user |
| 1194 | maxiforumw | localhost | maxiforumw | Query   | 9    | Opening table  | DELETE FROM usersonline
 WHERE date <> '2002-06-24'                                                   |
| 1195 | morpheus   | localhost | morpheus   | Query   | 30   | Sending data   | SELECT t.*, u.username,
 u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post |
| 1196 | forumpeu   | localhost | forumpeu   | Query   | 9    | closing tables | UPDATE phpbb_topics
        SET topic_views = topic_views + 1
        WHERE topic_id = 1545                        |
| 1199 | root       | localhost | forum      | Query   | 28   | Locked         | SELECT t.*, u.username,
 u.user_id, u2.username as user2, u2.user_id as id2, p.post_time, p.post_user |
| 1202 | tacheron   | localhost | tacheron   | Query   | 4    | Opening tables | SELECT u.username, u.us
er_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ |
| 1210 | morpheus   | localhost | morpheus   | Query   | 12   | Locked         | SELECT u.username, u.us
er_id, u.user_posts, u.user_from, u.user_from_flag, u.user_website, u.user_em |
| 1214 | maxiforu   | localhost | maxiforu   | Query   | 11   | closing tables | SELECT f.*, p.post_time
, p.post_username, u.username, u.user_id
                                FROM (( phpbb_forums f
                                LEFT  |
| 1215 | forumpeu   | localhost | forumpeu   | Query   | 7    | Opening tables | SELECT t.*, u.username,
 u.user_id, u2.username as user2, u2.user_id as id2, p.post_time, p.post_user |
| 1216 | tacheron   | localhost | tacheron   | Query   | 8    | closing tables | SELECT c.cat_id, c.cat_
title, c.cat_order
                FROM phpbb_categories c, phpbb_forums f
                WHERE f.cat_id |
| 1217 | root       | localhost | forum      | Query   | 16   | Locked         | SELECT t.forum_id, t.to
pic_id, p.post_time
                        FROM phpbb_topics t, phpbb_posts p
                        WHERE p.post_i |
| 1219 | maxiforu   | localhost | maxiforu   | Query   | 9    | Opening tables | SELECT t.*, u.username,
 u.user_id, u2.username as user2, u2.user_id as id2, p.post_time, p.post_user |
| 1220 | morpheus   | localhost | morpheus   | Query   | 11   | Locked         | SELECT t.*, u.username,
 u.user_id, u2.username as user2, u2.user_id as id2, p.post_time, p.post_user |
| 1222 | maxiforu   | localhost | maxiforu   | Query   | 1    | Opening tables | SELECT aa.forum_id, u.u
ser_id, u.username
                FROM phpbb_auth_access aa, phpbb_user_group ug, phpbb_g |
| 1225 | root       | localhost | forum      | Query   | 12   | closing tables | SELECT f.*, p.post_time
, p.post_username, u.username, u.user_id
                                FROM (( phpbb_forums f
                                LEFT  |
| 1231 | a037       | localhost | a037       | Query   | 12   | Opening tables | SELECT c.cat_id, c.cat_
title, c.cat_order
        FROM phpbb_categories c
        ORDER BY c.cat_order            |
| 1232 | a037       | localhost | a037       | Query   | 3    | closing tables | INSERT INTO phpbb_users
(user_id, username, user_regdate, user_password, user_email, user_icq, user_ |
| 1238 | forumpeu   | localhost | forumpeu   | Query   | 1    | Opening table  | UPDATE phpbb_topics
        SET topic_views = topic_views + 1
        WHERE topic_id = 1545                        |
| 1239 | tacheron   | localhost | tacheron   | Query   | 3    | Sending data   | SELECT u.username, u.us
er_id, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid
                FROM phpbb_posts |
| 1240 | morpheus   | localhost | morpheus   | Query   | 22   | Locked         | UPDATE phpbb_users
                                                SET user_session_time = 1024950577, user_session_page =
3
                                                WHERE use |
| 1274 | mophpbb    | localhost | mophpbb    | Query   | 4    | Opening tables | SELECT * FROM `mods_cat
` WHERE id_cat = '2'                                                          |
| 1281 | maxiforumw | localhost | maxiforumw | Query   | 9    | Opening tables | SELECT COUNT(*) AS mess
ages FROM privatemessage WHERE userid=623                                     |
| 1282 | a037       | localhost | a037       | Query   | 1    | Opening tables | SELECT word
                FROM  phpbb_words                                                                     |
| 1296 | sato       | localhost | sato       | Query   | 4    | Sending data   | SELECT f.*, p.post_time
, p.post_username, u.username, u.user_id
                                FROM (( sato_forums f
                                LEFT J |
| 1300 | maxiforu   | localhost | maxiforu   | Query   | 4    | Opening tables | SELECT aa.forum_id, u.u
ser_id, u.username
                FROM phpbb_auth_access aa, phpbb_user_group ug, phpbb_g |
| 1305 | forumpeu   | localhost | forumpeu   | Query   | 4    | Opening tables | SELECT a.forum_id, a.au
th_view, a.auth_read, a.auth_post, a.auth_reply, a.auth_edit, a.auth_delete,  |
| 1307 | tacheron   | localhost | tacheron   | Query   | 2    | Locked         | UPDATE phpbb_users SET
user_session_time = 1024950588, user_session_page = -9 WHERE user_id = 1232   |
| 1308 | forumpeu   | localhost | forumpeu   | Query   | 4    | closing tables | SELECT SUM(forum_topics
) AS topic_total, SUM(forum_posts) AS post_total
                                FROM phpbb_forums        |
| 1312 | a037       | localhost | a037       | Query   | 9    | Opening tables | SELECT ban_email
                                FROM phpbb_banlist
        |
| 1315 | forumpeu   | localhost | forumpeu   | Query   | 3    | Opening tables | SELECT SUM(forum_topics
) AS topic_total, SUM(forum_posts) AS post_total
                                FROM phpbb_forums        |
| 1320 | tacheron   | localhost | tacheron   | Query   | 2    | Opening tables | SELECT *
                FROM phpbb_themes
                WHERE themes_id = 5                                                   |
| 1328 | a037       | localhost | a037       | Query   | 4    | Opening tables | SELECT *
                FROM phpbb_themes
                WHERE themes_id = 1                                                   |
| 1332 | maxiforumw | localhost | maxiforumw | Query   | 2    | Opening tables | SELECT user.*,userfield
.* FROM user LEFT JOIN userfield ON userfield.userid=user.userid WHERE user.u |
| 1333 | visualsh   | localhost | visualsh   | Query   | 10   | closing tables | SELECT *
        FROM phpbb_config                                                                          |
| 1338 | a037       | localhost | a037       | Query   | 2    | Opening table  | UPDATE phpbb_sessions
                                        SET session_time = 1024950598, session_page = 0
                                        WHERE session_id = |
| 1339 | tacheron   | localhost | tacheron   | Sleep   | 1    |                |
                                                                              |
| 1343 | a037       | localhost | a037       | Query   | 1    | Opening tables | SELECT u.*, s.*
                        FROM phpbb_sessions s, phpbb_users u
                        WHERE s.session_id = 'b06e06d95a81bdfe83e |
| 1346 | tacheron   | localhost | tacheron   | Query   | 3    | Opening tables | SELECT *
        FROM phpbb_config                                                                          |
| 1347 | root       | localhost |            | Query   | 2    |                | show processlist
                                                                              |
+------+------------+-----------+------------+---------+------+----------------+------------------------
------------------------------------------------------------------------------+


 

[root@ns3147 etc]# ls my*
my.cnf
[root@ns3147 etc]# vi my.cnf


 

[mysqld]
set-variable = connect_timeout=10
set-variable = delayed_insert_timeout=10
set-variable = delayed_insert_limit=10
set-variable = delayed_queue_size=10
set-variable = interactive_timeout=10
set-variable = join_buffer_size=1307
set-variable = key_buffer_size=10M
set-variable = max_connections=50
set-variable = max_connect_errors=3
set-variable = max_delayed_threads=20
set-variable = max_heap_table_size=1670216
set-variable = max_tmp_tables=62
set-variable = max_user_connections=7
set-variable = net_buffer_length=16384
set-variable = net_retry_count=10
set-variable = net_read_timeout=10
set-variable = net_write_timeout=10
set-variable = query_buffer_size=10
set-variable = record_buffer=51072
set-variable = slave_net_timeout=10
set-variable = slow_launch_time=2
set-variable = sort_buffer=51072
set-variable = wait_timeout=10


 
Vous avez une idée ? Je réinstallerai bien la machine de a à z mais le problème c?est qu?on ne peut y avoir accès physiquement :sweat:  
 

mood
Publicité
Posté le   profilanswer
 

 Page :   1  2
Page Suivante

Aller à :
Ajouter une réponse
 

Sujets relatifs
vieux serveur sous os/2 avec partition HPFS NEED HELPPPPPPP !!!!!!![MySQL] 80 pids de 31 Mo [Serveur Hors Service]
[Serveur MySQL 3.23] Sauvegarde des bases par sécuritésIpTables / Serveur Counter Strike
Config d'un Serveur DHCP[SERVEUR WEB] Quelques questions sur l'installation du trio MySQL ....
Plus de sujets relatifs à : MySQL attaque et tombe mon serveur (deuxième edition)


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)