|
Publicité ' | ||||||||||||||||||||||||
|
|
#1 |
|
Invité de passage
![]() Inscription : juin 2005 Messages : 18 ![]() |
Bonjour,
je m'adresse à vous pour un problème de plantage de serveur smtp, le serveur plante à peu près toutes les semaines (parfois plus) pour une raison inconnue, et je n'ai aucune idée d'où cela peut venir. Postfix est utilisé, ainsi que clamav comme antivirus. Le serveur est sous linux (gentoo r6), pentium 4 assez puissant. Le serveur plante, impossible de se reconnecter dessus en ssh. J'ai tout de suite pensé à un problème de queue mal gérée (pas de jeu de mot graveleux svp Ce n'est pas moi qui ai installé postfix et tout le bordel, mais le stagiaire précédent, et je ne sais pas quoi faire. J'ai trouvé pas mal de piste sur le net avec l'utilisation de qshape, mais celui-ci ne semble pas être installé. Help me please.... |
|
|
00
|
|
|
#2 |
|
Membre confirmé
![]() Inscription : mars 2007 Messages : 202 ![]() |
tu as des logs ? notamment autour de l'heure du plantage
quand tu dis planter ? il fait quoi: il freeze ou bien la charge monte sans interruption ? verifie le contenu de la queue: |
|
|
00
|
|
|
#3 |
|
Invité de passage
![]() Inscription : juin 2005 Messages : 18 ![]() |
J'ai checké plusieurs fois mailq, et la queue contient à l'heure actuelle 140 mails en attente, et certains mails sont vieux de plusieurs jours.
Je ne sais pas quoi faire avec ça, je m'y connais pas trop dans ce domaine (j'apprends Quand le serveur plante, il freeze, ça c'est sur puisqu'ya plus moyen de se connecter en ssh dessus, et quand je vais dans la salle des serveurs pour me logger dessus, il freeze également. La file est alors peut être plein, j'en sais rien, peut être un pb de processus aussi qui fait planter. Aucune idée. Merci. |
|
|
00
|
|
|
#4 |
|
Membre confirmé
![]() Inscription : mars 2007 Messages : 202 ![]() |
il faut voir les logs et la charge moyenne du serveur
|
|
|
00
|
|
|
#5 |
|
Invité de passage
![]() Inscription : juin 2005 Messages : 18 ![]() |
J'ai ce genre de logs dans /var/log/messages :
Oct 8 16:20:01 src@localhost cron[10717]: (root) CMD (/usr/bin/perl /usr/bin/qshape.pl deferred > /tmp/stats_deferred 2>&1 |
|
|
00
|
|
|
#6 |
|
Invité de passage
![]() Inscription : juin 2005 Messages : 18 ![]() |
J'ai aussi ce genre de message à peu près à l'heure où le serveur a planté, il y aurait apparemment un problème de swap :
Oct 8 10:10:51 src@localhost HighMem: empty Oct 8 10:11:30 src@localhost Swap cache: add 43729262, delete 43729182, find 941746/6253811, race 414+4318 Oct 8 10:11:37 src@localhost Free swap = 0kB Oct 8 10:11:37 src@localhost Total swap = 522104kB Oct 8 10:11:37 src@localhost Free swap: 0kB Oct 8 10:11:37 src@localhost 129008 pages of RAM Oct 8 10:11:37 src@localhost 0 pages of HIGHMEM Oct 8 10:11:37 src@localhost 2044 reserved pages Oct 8 10:11:51 src@localhost 2135 pages shared Oct 8 10:12:17 src@localhost 80 pages swap cached Oct 8 10:12:17 src@localhost 0 pages dirty Oct 8 10:12:17 src@localhost 6 pages writeback Une idée ? |
|
|
00
|
|
|
#7 |
|
Membre confirmé
![]() Inscription : mars 2007 Messages : 202 ![]() |
effectivement tu n'as plus de swap.
quel est la taille de la RAM ? sinon poste les logs en brut (genre 5 minutes avant le freeze) |
|
|
00
|
|
|
#8 |
|
Invité de passage
![]() Inscription : juin 2005 Messages : 18 ![]() |
j'ai 500 meg de ram sur le serveur
voici les services qui tournent en permanence : - Postfix (serveur smtp) - Clamav (antivirus) - Clamsmtp (serveur smtp utilisant clamav pour scanner les emails) - Apache 2 , PHP (pour hébergement de l'application infoline) - MySQL (sgbd infoline) voilà une partie du bouzin : Oct 7 23:50:30 src@localhost cron[31394]: (root) CMD (/usr/share/webapps/awstat s/6.5-r1/hostroot/cgi-bin/awstats.pl -update -config=srv #stats aw hape.pl deferred > /tmp/stats_deferred 2>&1 #g\351n\351ration stats emai Oct 8 02:06:47 src@localhost cpu 0 hot: high 0, batch 1 used:0 Oct 8 02:06:47 src@localhost cpu 0 cold: high 0, batch 1 used:0 Oct 8 02:06:47 src@localhost DMA32 per-cpu: empty Oct 8 02:06:47 src@localhost Normal per-cpu: Oct 8 02:06:47 src@localhost cpu 0 hot: high 186, batch 31 used:30 Oct 8 02:06:47 src@localhost cpu 0 cold: high 62, batch 15 used:9 Oct 8 02:06:47 src@localhost HighMem per-cpu: empty Oct 8 02:06:47 src@localhost Free pages: 4748kB (0kB HighMem) Oct 8 02:06:47 src@localhost Active:87196 inactive:33023 dirty:0 writeback:30 u nstable:0 free:1187 slab:2904 mapped:173 pagetables:1251 Oct 8 02:06:47 src@localhost DMA free:2036kB min:88kB low:108kB high:132kB acti ve:5188kB inactive:4692kB present:16384kB pages_scanned:25887 all_unreclaimable? yes Oct 8 02:06:47 src@localhost lowmem_reserve[]: 0 0 487 487 Oct 8 02:06:47 src@localhost DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no Oct 8 02:06:47 src@localhost lowmem_reserve[]: 0 0 487 487 Oct 8 02:06:47 src@localhost Normal free:2712kB min:2780kB low:3472kB high:4168 kB active:343596kB inactive:127400kB present:499648kB pages_scanned:472707 all_u nreclaimable? yes Oct 8 02:06:47 src@localhost lowmem_reserve[]: 0 0 0 0 Oct 8 02:06:47 src@localhost HighMem free:0kB min:128kB low:128kB high:128kB ac tive:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no Oct 8 02:06:47 src@localhost lowmem_reserve[]: 0 0 0 0 Oct 8 02:06:47 src@localhost DMA: 1*4kB 0*8kB 5*16kB 1*32kB 0*64kB 1*128kB 1*25 6kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2036kB Oct 8 02:06:47 src@localhost DMA32: empty Oct 8 02:06:47 src@localhost Normal: 0*4kB 7*8kB 8*16kB 1*32kB 1*64kB 1*128kB 1 *256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB = 2712kB Oct 8 02:06:47 src@localhost HighMem: empty Oct 8 02:06:47 src@localhost Swap cache: add 30369698, delete 30369266, find 83 8729/4658004, race 390+2022 Oct 8 02:06:47 src@localhost Free swap = 0kB Oct 8 02:06:47 src@localhost Total swap = 522104kB Oct 8 02:06:47 src@localhost Free swap: 0kB Oct 8 02:06:47 src@localhost 129008 pages of RAM Oct 8 02:06:47 src@localhost 0 pages of HIGHMEM Oct 8 02:06:47 src@localhost 2044 reserved pages Oct 8 02:06:47 src@localhost 1951 pages shared Oct 8 02:06:47 src@localhost 432 pages swap cached Oct 8 02:06:47 src@localhost 0 pages dirty Oct 8 02:06:47 src@localhost 30 pages writeback Oct 8 02:06:47 src@localhost 173 pages mapped Oct 8 02:06:47 src@localhost 2904 pages slab Oct 8 02:06:47 src@localhost 1251 pages pagetables Oct 8 02:06:47 src@localhost Out of Memory: Kill process 7559 (clamsmtpd) score 8577 and children. Oct 8 02:06:47 src@localhost Out of memory: Killed process 7559 (clamsmtpd). Oct 8 02:06:47 src@localhost Out of memory: Killed process 7729 (clamsmtpd). Oct 8 02:07:09 src@localhost oom-killer: gfp_mask=0x201d2, order=0 |
|
|
00
|
|
|
#9 |
|
Membre confirmé
![]() Inscription : mars 2007 Messages : 202 ![]() |
augmente deja la taille de ton swap
mais cela n'explique pas pourquoi ton systeme swappe autant que ca. bien que l'on dirait que ce soit clamsmtp qui pose un pb. essaie de voir si cela correspond a l'execution d'un cron, ou bien d'une charge importante (mail, scan...) |
|
|
00
|
|
|
#10 |
|
Invité de passage
![]() Inscription : juin 2005 Messages : 18 ![]() |
J'inspecte actuellement la charge avec uptime et je check en live avec top, rien ne semble alarmant, apparemment les problèmes arrivent souvent dans la nuit de dimanche à lundi, m'a t on dit.
ya t il moyen de récupérer les résultats du top dans un fichier assez régulièrement pour voir à quel moment ça plante et pouvoir isoler le processus qui chie ? J'ai regardé mes logs : le premier processus killé était clamsmtpd, puis du mysql et apache2 une bonne vingtaine de fois ^^ - autre question : que veux dire : HighMem: empty ? Merci. |
|
|
00
|
|
|
#11 |
|
Membre confirmé
![]() Inscription : mars 2007 Messages : 202 ![]() |
deja regarde dans les crontabs ce qui tourne au moment ou le pb arrive (le pb memoire dans les logs)
ensuite postes ici les logs de postfix pour cette periode de temps. On verra ainsi le trafic. as tu augmenté ta memoire virtuelle ? |
|
|
00
|
|
|
#12 |
|
Invité de passage
![]() Inscription : juin 2005 Messages : 18 ![]() |
Ya t il une espèce d'historique des crons éxécutés ? Ou quelquechose dans ce genre là ? Que je puisse comprendre tout ce binz.
Sinon, dans mes logs j'ai ça juste avant le plantage, mais ça va pas trop aider , je sais juste que le qshape a été exécuté juste avant que la machine plante, mais ça veut pas dire que c'est lui le fautif à priori : Oct 8 01:22:09 src@localhost cron[31689]: (root) CMD (/usr/bin/perl /usr/bin/qshape.pl deferred > /tmp/stats_deferred 2>&1 #g\351n\351ration stats emails en attente) Oct 8 01:41:33 src@localhost cron[31777]: (root) CMD (/usr/bin/perl /usr/bin/qshape.pl deferred > /tmp/stats_deferred 2>&1 #g\351n\351ration stats emails en attente) Oct 8 01:52:03 src@localhost cron[31826]: (root) CMD (/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl -update -co nfig=srv #stats awstats) Oct 8 02:04:21 src@localhost cron[31898]: (root) CMD (/usr/bin/perl /usr/bin/qshape.pl deferred > /tmp/stats_deferred 2>&1 #g\351n\351ration stats emails en attente) Oct 8 02:06:47 src@localhost oom-killer: gfp_mask=0x200d2, order=0 voilà le log de postfix à peu près à ce moment : la commande : egrep '(warning|error|fatal|panic):' 08.txt | more Oct 8 00:12:43 src@localhost postfix/qmgr[31382]: fatal: watchdog timeout Oct 8 00:13:05 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 31382 exit status 1 Oct 8 00:45:51 src@localhost postfix/qmgr[31471]: fatal: watchdog timeout Oct 8 00:46:22 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 31471 exit status 1 Oct 8 01:37:45 src@localhost postfix/qmgr[31561]: fatal: watchdog timeout Oct 8 01:39:03 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 31561 exit status 1 Oct 8 02:27:15 src@localhost postfix/qmgr[31758]: fatal: watchdog timeout Oct 8 02:27:44 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 31758 exit status 1 Oct 8 02:53:56 src@localhost postfix/qmgr[31935]: fatal: watchdog timeout Oct 8 02:55:52 src@localhost postfix/bounce[31955]: warning: premature end-of-input on defer socket while reading input attribu Oct 8 02:55:57 src@localhost postfix/bounce[31955]: warning: malformed request Oct 8 02:55:53 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 31935 exit status 1 Oct 8 03:36:37 src@localhost postfix/qmgr[32006]: fatal: watchdog timeout Oct 8 03:37:19 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 32006 exit status 1 Oct 8 03:57:52 src@localhost postfix/qmgr[32187]: fatal: watchdog timeout Oct 8 03:57:56 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 32187 exit status 1 Oct 8 04:21:54 src@localhost postfix/qmgr[32217]: fatal: watchdog timeout Oct 8 04:23:05 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 32217 exit status 1 Oct 8 04:48:28 src@localhost postfix/qmgr[32268]: fatal: watchdog timeout Oct 8 04:48:46 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 32268 exit status 1 Oct 8 05:10:12 src@localhost postfix/qmgr[32303]: fatal: watchdog timeout Oct 8 05:12:11 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 32303 exit status 1 Oct 8 05:55:28 src@localhost postfix/qmgr[32393]: fatal: watchdog timeout Oct 8 05:59:02 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 32393 exit status 1 Oct 8 06:12:12 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/smtpd pid 32492 killed by signal 9 Oct 8 06:13:49 src@localhost postfix/cleanup[32658]: warning: premature end-of-input on cleanup socket while reading input attr Oct 8 06:19:14 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/cleanup pid 32658 killed by signal 9 Oct 8 06:19:37 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 32648 killed by signal 9 Oct 8 06:19:41 src@localhost postfix/master[7671]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling Oct 8 06:20:01 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/pickup pid 32394 killed by signal 9 Oct 8 06:57:23 src@localhost postfix/qmgr[32725]: fatal: watchdog timeout Oct 8 06:58:25 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 32725 exit status 1 Oct 8 07:25:48 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/smtpd pid 387 killed by signal 9 Oct 8 07:26:18 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/smtpd pid 32628 killed by signal 9 Oct 8 07:26:20 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/trivial-rewrite pid 32739 killed by signal Oct 8 07:26:26 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 411 killed by signal 9 Oct 8 07:26:28 src@localhost postfix/master[7671]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling Oct 8 07:28:54 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/pickup pid 32723 killed by signal 9 Oct 8 07:47:08 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/cleanup pid 531 killed by signal 9 Oct 8 07:47:24 src@localhost postfix/master[7671]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling Oct 8 07:56:58 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/pickup pid 566 killed by signal 9 Oct 8 08:24:14 src@localhost postfix/master[7671]: warning: process /usr/lib/postfix/qmgr pid 549 killed by signal 9 Oct 8 08:24:28 src@localhost postfix/master[7671]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling Oct 8 08:38:32 src@localhost postfix/sendmail[5493]: fatal: No recipient addresses found in message header Oct 8 08:38:32 src@localhost postfix/sendmail[4895]: fatal: No recipient addresses found in message header Oct 8 08:39:16 src@localhost postfix/sendmail[5840]: fatal: No recipient addresses found in message header Oct 8 08:43:11 src@localhost postfix/smtpd[512]: warning: timeout on private/proxymap socket while reading input attribute name Oct 8 09:03:25 src@localhost postfix/sendmail[14624]: fatal: No recipient addresses found in message header Oct 8 09:03:25 src@localhost postfix/sendmail[7478]: fatal: No recipient addresses found in message header Oct 8 09:03:25 src@localhost postfix/sendmail[7116]: fatal: No recipient addresses found in message header Oct 8 09:22:20 src@localhost postfix/sendmail[16174]: fatal: No recipient addresses found in message header Oct 8 09:23:39 src@localhost postfix/sendmail[20132]: fatal: No recipient addresses found in message header Oct 8 09:23:25 src@localhost postfix/sendmail[18902]: fatal: No recipient addresses found in message header Merci beaucoup. |
|
|
00
|
|
|
#13 |
|
Membre confirmé
![]() Inscription : mars 2007 Messages : 202 ![]() |
desactive deja le cron de la commande qshape
ensuite quelle est la version de postfix ? poste aussi quelques mails en queue dans postfix pour voir poste enfin la conf de postfix: master.cf postcont -n |
|
|
00
|
|
|
#14 | ||||
|
Invité de passage
![]() Inscription : juin 2005 Messages : 18 ![]() |
Citation:
Citation:
Citation:
Citation:
--> désolé pour la pièce jointe, mais quand on copie colle bourrin, les tabulations c dans les fesses. |
||||
|
|
00
|
|
|
#15 |
|
Membre confirmé
![]() Inscription : mars 2007 Messages : 202 ![]() |
qshape c'est pour voir l'etat de la queue.
le desactiver n'aura aucune incidence fonctionnelle. pour les mails en queue, tu fais un mailq et tu postes quelques lignes de la sortie de la commande . pour la conf il manque le resultat de la commande postconf -n |
|
|
00
|
|
|
#16 |
|
Invité de passage
![]() Inscription : juin 2005 Messages : 18 ![]() |
POSTCONF -N
localhost postfix # postconf -n command_directory = /usr/sbin config_directory = /etc/postfix content_filter = scan:[127.0.0.1]:10025 daemon_directory = /usr/lib/postfix debug_peer_level = 2 header_checks = regexp:/etc/postfix/header_checks home_mailbox = .maildir/ html_directory = /usr/share/doc/postfix-2.2.10/html mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man mydomain = ServeurSmtpLocal mynetworks = 0.0.0.0/0 newaliases_path = /usr/bin/newaliases readme_directory = /usr/share/doc/postfix-2.2.10/readme sample_directory = /etc/postfix sendmail_path = /usr/sbin/sendmail setgid_group = postdrop unknown_local_recipient_reject_code = 550 MAILQ AC02D11798D 94468 Mon Oct 8 21:03:20 poulpe@poulpe.fr (delivery temporarily suspended: connect to mailin-04.mx.aol.com[64.12.138.57]: server refused to talk to me: 554- (RTR:CH) poulpe@aol.com A9191117798 94470 Mon Oct 8 23:53:40 poulpe@poulpe.fr (delivery temporarily suspended: connect to mailin-04.mx.aol.com[64.12.138.57]: server refused to talk to me: 554- (RTR:CH) poulpe@AOL.COM A080B118325 3368 Thu Oct 4 23:49:42 MAILER-DAEMON (delivery temporarily suspended: connect to poulpe@poulpe.fr[XX.XX.XXX.XX]: Connection timed out) poulpe@poulpe.fr F000E1179EE 3152 Mon Oct 8 23:39:49 MAILER-DAEMON (connect to poulpe@poulpe.fr[XX.XX.XXX.XX]: Connection refused) root@poulpe.fr F36B61182FC 94387 Fri Oct 5 14:03:50 poulpe@poulpe.fr (delivery temporarily suspended: connect to mailin-poulpe@poulpe.fr[XX.XX.XXX.XX]: server refused to talk to me: 554- (RTR:CH) caribou@aol.com F1981118311 94625 Fri Oct 5 22:54:03 caribou@caribougeant.com (delivery temporarily suspended: connect to mailin-poulpe@poulpe.fr[XX.XX.XXX.XX]: server refused to talk to me: 554- (RTR:CH) caribou@aol.com F3AC5117BCF 94441 Tue Oct 9 12:26:59 caribou@caribougeant.com (delivery temporarily suspended: connect to mailin-poulpe@poulpe.fr[XX.XX.XXX.XX]: server refused to talk to me: 554- (RTR:CH) caribouMelancolique@aol.com Merci beaucoup mrtonio, même si le pb n'est pas encore résolu, merci de m'accorder un peu de ton temps. |
|
|
00
|
|
|
#17 |
|
Membre confirmé
![]() Inscription : mars 2007 Messages : 202 ![]() |
cette conf de postfix est plutot "particuliere" on va dire.
qu'y a til dans le fichier /etc/postfix/header_checks ? mynetworks = 0.0.0.0/0 ? c'est bien c'a ou tu as modifie l'ip pour la masquer ici ? quel est l'etat actuel du serveur ? poste la charge, memoire, et les logs de postfix sur une heure par exemple. |
|
|
00
|
|
|
#18 | ||
|
Invité de passage
![]() Inscription : juin 2005 Messages : 18 ![]() |
Citation:
Citation:
charge 13:36:23 up 1 day, 3:16, 2 users, load average: 7.11, 7.07, 7.01 memoire total used free shared buffers cached Mem: 507856 501556 6300 0 1604 220600 -/+ buffers/cache: 279352 228504 Swap: 522104 172 521932 un p'tit coup de top : PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 15752 root 25 0 17768 15m 1316 R 13.3 3.2 51:25.12 perl 16076 root 25 0 17768 15m 1316 R 13.3 3.2 41:39.53 perl 16442 root 25 0 17772 15m 1316 R 13.3 3.2 32:11.01 perl 17405 root 25 0 17636 15m 1316 R 13.3 3.1 13:28.93 perl 17866 root 25 0 17592 15m 1316 R 13.3 3.1 6:44.21 perl 15447 root 25 0 17768 15m 1316 R 13.0 3.2 61:34.60 perl 16919 root 25 0 17772 15m 1316 R 13.0 3.2 22:53.32 perl 17863 root 18 0 9244 7728 1500 S 6.0 1.5 1:34.87 awstats.pl 15444 root 18 0 9252 7732 1500 S 1.3 1.5 2:55.85 awstats.pl 17402 root 18 0 9252 7728 1500 S 0.3 1.5 2:24.07 awstats.pl 1 root 15 0 1476 516 452 S 0.0 0.1 0:00.85 init 2 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/ 3 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/ 4 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0 6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper 7 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthread 10 root 10 -5 0 0 0 S 0.0 0.0 0:03.14 kblockd/0 11 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid 83 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod 128 root 25 0 0 0 0 S 0.0 0.0 0:00.00 pdflush 129 root 15 0 0 0 0 S 0.0 0.0 0:00.00 pdflush 130 root 10 -5 0 0 0 S 0.0 0.0 0:58.15 kswapd0 131 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0 132 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 xfslogd/0 133 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 xfsdatad/0 229 root 18 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused 476 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khubd 918 root 12 -5 0 0 0 S 0.0 0.0 0:00.00 khpsbpkt 1150 root 13 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0 1151 root 13 -5 0 0 0 S 0.0 0.0 0:00.00 ata_aux 2512 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 kmirrord 2838 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 jfsIO 2839 root 16 -5 0 0 0 S 0.0 0.0 0:00.00 jfsCommit 2840 root 16 -5 0 0 0 S 0.0 0.0 0:00.00 jfsSync 3271 root 10 -5 0 0 0 S 0.0 0.0 0:00.33 kjournald 4438 root 21 -4 1692 524 324 S 0.0 0.1 0:00.21 udevd 6684 root 15 0 2160 1020 452 S 0.0 0.2 0:10.89 syslog-ng 7260 mysql 18 0 93128 27m 4488 S 0.0 5.5 0:00.11 mysqld 7271 mysql 15 0 93128 27m 4488 S 0.0 5.5 0:00.00 mysqld 7272 mysql 24 0 93128 27m 4488 S 0.0 5.5 0:00.00 mysqld 7273 mysql 24 0 93128 27m 4488 S 0.0 5.5 0:00.00 mysqld 7274 mysql 24 0 93128 27m 4488 S 0.0 5.5 0:00.00 mysqld 7275 mysql 25 0 93128 27m 4488 S 0.0 5.5 0:00.00 mysqld 7279 mysql 18 0 93128 27m 4488 S 0.0 5.5 0:00.08 mysqld 7280 mysql 18 0 93128 27m 4488 S 0.0 5.5 0:00.05 mysqld 7281 mysql 18 0 93128 27m 4488 S 0.0 5.5 0:00.00 mysqld 7283 mysql 18 0 93128 27m 4488 S 0.0 5.5 0:00.01 mysqld 7317 mysql 25 0 93128 27m 4488 S 0.0 5.5 0:00.00 mysqld 7352 root 18 0 3420 928 660 S 0.0 0.2 0:00.00 sshd logs Oct 9 13:43:36 src@localhost postfix/qmgr[7697]: 9267F117FD4: removed Oct 9 12:43:44 src@localhost postfix/smtpd[18108]: connect from unknown[172.17.1.114] Oct 9 12:43:44 src@localhost postfix/smtpd[18108]: E1806117BCD: client=unknown[172.17.1.114] Oct 9 13:43:44 src@localhost postfix/cleanup[18112]: E1806117BCD: message-id=<67dc9f4df64ee372472019ac45cbf6d2@caribou> Oct 9 13:43:44 src@localhost postfix/qmgr[7697]: E1806117BCD: from=<flyspray@caribou.fr>, size=1617, nrcpt=1 (queue active) Oct 9 12:43:44 src@localhost postfix/smtpd[18108]: disconnect from unknown[172.17.1.114] Oct 9 13:43:44 src@localhost postfix/smtpd[18101]: connect from localhost[127.0.0.1] Oct 9 13:43:45 src@localhost postfix/smtpd[18101]: 072AA117FD4: client=unknown[172.17.1.114] Oct 9 13:43:45 src@localhost postfix/cleanup[18098]: 072AA117FD4: message-id=<67dc9f4df64ee372472019ac45cbf6d2@dnoyiclt10> Oct 9 13:43:45 src@localhost postfix/qmgr[7697]: 072AA117FD4: from=<flyspray@caribou.fr>, size=1873, nrcpt=1 (queue active) Oct 9 13:43:45 src@localhost postfix/smtp[18114]: E1806117BCD: to=<jean- caribou@caribou.fr>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 Ok: queued as 072AA117FD4) Oct 9 13:43:45 src@localhost postfix/smtpd[18101]: disconnect from localhost[127.0.0.1] Oct 9 13:43:45 src@localhost postfix/qmgr[7697]: E1806117BCD: removed Oct 9 13:43:49 src@localhost postfix/smtp[18125]: 072AA117FD4: to=<jean- caribou@caribou.fr>, relay=pmxa.caribou.de[84.17.190.203], delay=4, status=sent (250 Ok: queued as 76E0D75134) Oct 9 13:43:49 src@localhost postfix/qmgr[7697]: 072AA117FD4: removed Oct 9 12:43:55 src@localhost postfix/smtpd[18108]: connect from unknown[172.28.7.211] Oct 9 12:43:55 src@localhost postfix/smtpd[18108]: 468E7117BCD: client=unknown[172.28.7.211] Oct 9 13:43:55 src@localhost postfix/cleanup[18113]: 468E7117BCD: message-id=<20071009124355.468E7117BCD@localhost.ServeurSmtpLocal> Oct 9 13:43:55 src@localhost postfix/qmgr[7697]: 468E7117BCD: from=<cft@caribou.fr>, size=1050, nrcpt=4 (queue active) Oct 9 13:43:55 src@localhost postfix/smtpd[18120]: connect from localhost[127.0.0.1] Oct 9 12:43:55 src@localhost postfix/smtpd[18108]: disconnect from unknown[172.28.7.211] Oct 9 13:43:55 src@localhost postfix/smtpd[18120]: 79751117FD4: client=unknown[172.28.7.211] Oct 9 13:43:55 src@localhost postfix/cleanup[18111]: 79751117FD4: message-id=<20071009124355.468E7117BCD@localhost.ServeurSmtpLocal> Oct 9 13:43:55 src@localhost postfix/qmgr[7697]: 79751117FD4: from=<cft@caribou.fr>, size=1266, nrcpt=4 (queue active) Oct 9 13:43:55 src@localhost postfix/smtp[18115]: 468E7117BCD: to=<caribou@caribou.fr>, relay=127.0.0.1[127.0.0.1 ], delay=0, status=sent (250 Ok: queued as 79751117FD4) Oct 9 13:43:55 src@localhost postfix/smtp[18115]: 468E7117BCD: to=<caribou@caribou.fr>, relay=127.0.0.1[127.0. 0.1], delay=0, status=sent (250 Ok: queued as 79751117FD4) Oct 9 13:43:55 src@localhost postfix/smtp[18115]: 468E7117BCD: to=<caribou@caribou.fr>, relay=127.0.0.1[127.0.0.1 ], delay=0, status=sent (250 Ok: queued as 79751117FD4) Oct 9 13:43:55 src@localhost postfix/smtp[18115]: 468E7117BCD: to=<caribou@caribou.fr>, relay=127.0.0.1[127.0.0 .1], delay=0, status=sent (250 Ok: queued as 79751117FD4) Oct 9 13:43:55 src@localhost postfix/smtpd[18120]: disconnect from localhost[127.0.0.1] Oct 9 13:43:55 src@localhost postfix/qmgr[7697]: 468E7117BCD: removed Oct 9 13:43:55 src@localhost postfix/smtp[18168]: 79751117FD4: to=<caribou@caribou.fr>, relay=pmxa.caribou.de [84.17.190.221], delay=0, status=sent (250 Ok: queued as E483A41DD) Oct 9 13:43:55 src@localhost postfix/smtp[18168]: 79751117FD4: to=<caribou@caribou.fr>, relay=pmxa.caribou .de[84.17.190.221], delay=0, status=sent (250 Ok: queued as E483A41DD) Oct 9 13:43:55 src@localhost postfix/smtp[18168]: 79751117FD4: to=<caribou@caribou.fr>, relay=pmxa.caribou.de [84.17.190.221], delay=0, status=sent (250 Ok: queued as E483A41DD) Oct 9 13:43:55 src@localhost postfix/smtp[18168]: 79751117FD4: to=<caribou@caribou.fr>, relay=pmxa.caribou. de[84.17.190.221], delay=0, status=sent (250 Ok: queued as E483A41DD) Oct 9 13:43:55 src@localhost postfix/qmgr[7697]: 79751117FD4: removed Oct 9 13:43:57 src@localhost postfix/smtp[18170]: 37DC711822B: to=<CSC_Fidelite@caribou.fr>, relay=cust2344-1.in.mailcontrol.com[86.111.223.190], delay=23, status=sent (250 2.0.0 l99BaZkN003142 Message accepted for delivery) Oct 9 13:43:57 src@localhost postfix/qmgr[7697]: 37DC711822B: removed Oct 9 12:44:00 src@localhost postfix/smtpd[18088]: 9E4E5117BCD: client=unknown[172.17.2.48] Oct 9 13:43:57 src@localhost postfix/qmgr[7697]: 37DC711822B: removed Oct 9 12:44:00 src@localhost postfix/smtpd[18088]: 9E4E5117BCD: client=unknown[172.17.2.48] Oct 9 13:45:57 src@localhost postfix/smtp[18233]: 16E26118063: to=< poulpe@poulpe.fr>, relay=pmxb.poulpe de[84.17.190.224], delay=0, status=sent (250 Ok: queued as D43E478632) Oct 9 13:45:57 src@localhost postfix/qmgr[7697]: 16E26118063: removed Oct 9 12:46:16 src@localhost postfix/smtpd[18088]: connect from unknown[172.28.7.211] Oct 9 12:46:17 src@localhost postfix/smtpd[18088]: 047CC117BCD: Client=unknown[172.28.7.211] Oct 9 13:46:17 src@localhost postfix/cleanup[18112]: 047CC117BCD: message-id=<20071009124617.047CC117BCD@localhost.ServeurSmtpLocal> Oct 9 13:46:17 src@localhost postfix/qmgr[7697]: 047CC117BCD: from=<cft@ poulpe.fr>, size=1050, nrcpt=4 (queue active) Oct 9 13:46:17 src@localhost postfix/smtpd[18101]: connect from localhost[127.0.0.1] Oct 9 12:46:17 src@localhost postfix/smtpd[18088]: disconnect from unknown[172.28.7.211] Oct 9 13:46:17 src@localhost postfix/smtpd[18101]: 47283118063: client=unknown[172.28.7.211] Oct 9 13:46:17 src@localhost postfix/cleanup[18098]: 47283118063: message-id=<20071009124617.047CC117BCD@localhost.ServeurSmtpLocal> Oct 9 13:46:17 src@localhost postfix/qmgr[7697]: 47283118063: from=<cft@ poulpe.fr>, size=1266, nrcpt=4 (queue active) Oct 9 13:46:17 src@localhost postfix/smtp[18114]: 047CC117BCD: to=<poulpe@ poulpe.fr>, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 Ok: queued as 47283118063) Oct 9 13:46:17 src@localhost postfix/smtp[18114]: 047CC117BCD: to=< poulpe@ poulpe.fr>, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 Ok: queued as 47283118063) Oct 9 13:46:17 src@localhost postfix/smtp[18114]: 047CC117BCD: to=< poulpe@poulpe.fr>, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 Ok: queued as 47283118063) Oct 9 13:46:17 src@localhost postfix/smtp[18114]: 047CC117BCD: to=<poulpe@poulpe.fr>, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 Ok: queued as 47283118063) Oct 9 13:46:17 src@localhost postfix/smtpd[18101]: disconnect from localhost[127.0.0.1] Oct 9 13:46:17 src@localhost postfix/qmgr[7697]: 047CC117BCD: removed Oct 9 13:46:18 src@localhost postfix/smtp[18125]: 47283118063: to=<poulpe@poulpe.fr>, relay=pmxb.poulpe.de[84.17.190.224], delay=1, status=sent (250 Ok: queued as 0408978455) Oct 9 13:46:18 src@localhost postfix/smtp[18125]: 47283118063: to=<poulpe@poulpe.fr>, relay=pmxb.poulpe.de[84.17.190.224], delay=1, status=sent (250 Ok: queued as 0408978455) Oct 9 13:46:18 src@localhost postfix/smtp[18125]: 47283118063: to=<poulpe@poulpe.fr>, relay=pmxb.poulpe.de[84.17.190.224], delay=1, status=sent (250 Ok: queued as 0408978455) Oct 9 13:46:18 src@localhost postfix/smtp[18125]: 47283118063: to=<poulpe@poulpe.fr>, relay=pmxb.poulpe.de[84.17.190.224], delay=1, status=sent (250 Ok: queued as 0408978455) Oct 9 13:46:18 src@localhost postfix/qmgr[7697]: 47283118063: removed Oct 9 12:46:21 src@localhost postfix/smtpd[18088]: connect from unknown[172.17.42.111] Oct 9 12:46:21 src@localhost postfix/smtpd[18088]: 680A7117BCD: client=unknown[172.17.42.111] Oct 9 13:46:21 src@localhost postfix/cleanup[18113]: 680A7117BCD: message-id=<0bd701c80a69$087924e0$6f2@ poulpe.fr Oct 9 13:46:21 src@localhost postfix/qmgr[7697]: 680A7117BCD: from=<Caribou_Msmq@poulpe.fr>, size=2817, nrcpt=1 (queue active) Oct 9 12:46:21 src@localhost postfix/smtpd[18088]: disconnect from unknown[172.17.42.111] Oct 9 13:46:21 src@localhost postfix/smtpd[18120]: connect from localhost[127.0.0.1] Oct 9 13:46:21 src@localhost postfix/smtpd[18120]: 81A54118063: client=unknown[172.17.42.111] Oct 9 13:46:21 src@localhost postfix/cleanup[18111]: 81A54118063: message-id=<0bd701c80a69$087924e0$6f2a11ac@ poulpe.fr> Oct 9 13:46:21 src@localhost postfix/smtp[18115]: 680A7117BCD: to=<caribou@poulpe.fr>, relay=127.0.0.1[127.0.0. 1], delay=0, status=sent (250 Ok: queued as 81A54118063) Oct 9 13:46:21 src@localhost postfix/smtpd[18120]: disconnect from localhost[127.0.0.1] Oct 9 13:46:21 src@localhost postfix/qmgr[7697]: 680A7117BCD: removed Oct 9 13:46:21 src@localhost postfix/qmgr[7697]: 81A54118063: from=<Caribou_Msmq@poulpe.fr>, size=3070, nrcpt=1 (queue active) Oct 9 13:46:21 src@localhost postfix/smtp[18160]: 81A54118063: to=<caribou@poulpe.fr>, relay=pmxa.poulpe.de[84.17.190.203], delay=0, status=sent (250 Ok: queued as 298367510A) Oct 9 13:46:21 src@localhost postfix/qmgr[7697]: 81A54118063: removed j'en ai pris le maximum, mais c hyper long de virer les mail des users, ça m'a soulé, j'espères que ça suffira, au pire si tu cherches qqchose de spécial ds les logs, dis moi et je checkerais. thx |
||
|
|
00
|
|
|
#19 | ||
|
Membre confirmé
![]() Inscription : mars 2007 Messages : 202 ![]() |
ne jamais faire installer des outils critiques par des stagiaires !
le parametre mynetworks doit avoir la valeur de ton lan quel est ta plage ip locale ? sinon regarde les lignes du top: Code :
essaie de savoir ce que sont les autres process perl: dans tous les cas desactive les cron sur awstats. ta charge est bcp trop elevée. une fois qu'on saura qui est lié a ces process perl on pourra avancer. |
||
|
|
00
|
|
|
#20 |
|
Invité de passage
![]() Inscription : juin 2005 Messages : 18 ![]() |
Pour le paramètre mynetworks : est-ce obligatoire de renseigner ce champ ? Parce que je trouve ça bizarre que l'ancien stagiaire ait fait une erreur aussi grossière... A quoi ça sert exactement ?
Sais tu par hasard que fait exactement "awstats.pl" ? Résultats du perl --> ya du monde au balcon ^^ Je suis un peu perdu, ça fait beaucoup de processus je trouve... root 7960 0.0 1.0 8204 5248 ? Ss Oct08 0:00 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf root 15749 0.6 1.5 9244 7728 ? Rs 07:50 3:00 /usr/bin/perl /usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl -update -config=srv root 15750 0.0 0.2 2380 1024 ? S 07:50 0:00 sh -c perl /usr/bin/maillogconvert.pl standard < /var/log/postfix_all root 15752 14.6 3.1 17900 16184 ? R 07:50 62:59 perl /usr/bin/maillogconvert.pl standard root 16073 0.7 1.5 9244 7728 ? Ss 08:50 2:35 /usr/bin/perl /usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl -update -config=srv root 16074 0.0 0.2 2380 1028 ? S 08:50 0:00 sh -c perl /usr/bin/maillogconvert.pl standard < /var/log/postfix_all root 16076 14.3 3.1 17768 16100 ? R 08:50 52:59 perl /usr/bin/maillogconvert.pl standard root 16439 0.8 1.5 9248 7732 ? Ss 09:50 2:29 /usr/bin/perl /usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl -update -config=srv root 16440 0.0 0.2 2376 1024 ? S 09:50 0:00 sh -c perl /usr/bin/maillogconvert.pl standard < /var/log/postfix_all root 16442 14.0 3.1 17772 16108 ? R 09:50 43:26 perl /usr/bin/maillogconvert.pl standard root 16916 0.9 1.5 9252 7732 ? Ss 10:50 2:29 /usr/bin/perl /usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl -update -config=srv root 16917 0.0 0.2 2376 1024 ? S 10:50 0:00 sh -c perl /usr/bin/maillogconvert.pl standard < /var/log/postfix_all root 16919 13.6 3.1 17772 16108 ? R 10:50 34:04 perl /usr/bin/maillogconvert.pl standard root 17402 1.2 1.5 9252 7728 ? Ss 11:50 2:27 /usr/bin/perl /usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl -update -config=srv root 17403 0.0 0.2 2376 1024 ? S 11:50 0:00 sh -c perl /usr/bin/maillogconvert.pl standard < /var/log/postfix_all root 17405 12.9 3.1 17768 16104 ? R 11:50 24:33 perl /usr/bin/maillogconvert.pl standard root 17863 1.8 1.5 9244 7728 ? Ss 12:50 2:25 /usr/bin/perl /usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl -update -config=srv root 17864 0.0 0.2 2380 1028 ? S 12:50 0:00 sh -c perl /usr/bin/maillogconvert.pl standard < /var/log/postfix_all root 17866 11.7 3.1 17640 15972 ? R 12:50 15:15 perl /usr/bin/maillogconvert.pl standard root 18286 2.8 1.5 9248 7728 ? Ss 13:50 1:58 /usr/bin/perl /usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl -update -config=srv root 18287 0.0 0.2 2376 1024 ? S 13:50 0:00 sh -c perl /usr/bin/maillogconvert.pl standard < /var/log/postfix_all root 18289 13.0 3.1 17640 15968 ? R 13:50 9:03 perl /usr/bin/maillogconvert.pl standard root 18850 2.4 1.5 9252 7732 ? Ss 14:50 0:14 /usr/bin/perl /usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl -update -config=srv root 18851 0.0 0.2 2380 1028 ? S 14:50 0:00 sh -c perl /usr/bin/maillogconvert.pl standard < /var/log/postfix_all root 18853 11.1 3.1 17528 15788 ? R 14:50 1:04 perl /usr/bin/maillogconvert.pl standard root 18924 0.0 0.0 1512 448 pts/0 R+ 14:59 0:00 grep perl Par ailleurs, j'ai trouvé ça sur le net : une faille de sécurité sur postfix qui correspond un peu à mon pb d'oversize de mémoire : http://marc.info/?l=bugtraq&m=100584160110303&w=2 |
|
|
00
|
Copyright © 2000-2012 - www.developpez.com