[freebsd] urgent out of space !!! ca plante ! a l'aide!!!

urgent out of space !!! ca plante ! a l'aide!!! [freebsd] - Divers - Linux et OS Alternatifs

Marsh Posté le 17-06-2003 à 11:00:55    

salut
les services qui tournaient dans un freebsd 5 commencent a tomber un apres l'autre (httpd, samba, nmpd, etc...)
 
j'ai regardé les logs et ya à peu près ça:


 
[root@ibrahim proc]# df -h
Filesystem             Size   Used  Avail Capacity  Mounted on
/dev/aacd0s1a          295M    42M   230M    15%    /
/dev/aacd0s1f          2.2G   1.6G   402M    81%    /usr
/dev/aacd0s1e          984M    38M   867M     4%    /var
procfs                 4.0K   4.0K     0B   100%    /proc
/dev/aacd1s1e           13G   7.5G   4.2G    64%    /export/dev
/dev/aacd2s1e          135G    31G    92G    25%    /export/contenu
myriam:/export/share    29G    24G   2.3G    91%    /share
myriam:/export/home     16G    11G   4.3G    72%    /home
[root@ibrahim proc]#  
 


 
 
et puis dans les logs ya ca:
 


Jun 16 06:00:00 ibrahim newsyslog[82588]: logfile turned over
Jun 16 06:02:28 ibrahim /kernel: swap_pager: out of swap space
Jun 16 06:02:29 ibrahim /kernel: swap_pager_getswapspace: failed
Jun 16 06:02:29 ibrahim /kernel: pid 81865 (httpd), uid 80, was killed: out of swap space
Jun 16 06:03:14 ibrahim /kernel: pid 81889 (httpd), uid 80, was killed: out of swap space
Jun 16 06:43:39 ibrahim smbd[82439]: [2003/06/16 06:43:39, 0] lib/util_sock.c:read_data(436)  
Jun 16 06:43:39 ibrahim smbd[82439]:   read_data: read failure for 4. Error = Connection reset by peer  
Jun 16 10:52:15 ibrahim smbd[82904]: [2003/06/16 10:52:15, 0] lib/util_sock.c:read_data(436)  
Jun 16 10:52:15 ibrahim smbd[82904]:   read_data: read failure for 4. Error = Connection reset by peer  
Jun 16 12:49:04 ibrahim smbd[73190]: [2003/06/16 12:49:04, 0] smbd/service.c:make_connection(252)  
Jun 16 12:49:04 ibrahim smbd[73190]:   cubano (192.168.1.156) couldn't find service cr  
Jun 16 12:49:07 ibrahim smbd[73190]: [2003/06/16 12:49:07, 0] smbd/service.c:make_connection(252)  
Jun 16 12:49:07 ibrahim smbd[73190]:   cubano (192.168.1.156) couldn't find service cr  
Jun 16 14:21:07 ibrahim smbd[73190]: [2003/06/16 14:21:07, 0] smbd/service.c:make_connection(252)  
Jun 16 14:21:07 ibrahim smbd[73190]:   cubano (192.168.1.156) couldn't find service cr  
Jun 16 16:31:42 ibrahim smbd[82941]: [2003/06/16 16:31:42, 0] smbd/oplock.c:oplock_break(797)  
Jun 16 16:31:42 ibrahim smbd[82941]:   oplock_break: receive_smb timed out after 30 seconds.  
Jun 16 16:31:42 ibrahim smbd[82941]:   oplock_break failed for file projets/IFAC/Charte graphique/cahiergraphik/img/contenu.
gif (dev = 29714, inode = 11331754, file_id = 12763).  
Jun 16 16:31:42 ibrahim smbd[82941]: [2003/06/16 16:31:42, 0] smbd/oplock.c:oplock_break(869)  
Jun 16 16:31:42 ibrahim smbd[82941]:   oplock_break: client failure in oplock break in file projets/IFAC/Charte graphique/ca
hiergraphik/img/contenu.gif  
Jun 16 18:18:38 ibrahim /kernel: swap_pager_getswapspace: failed
Jun 16 18:18:38 ibrahim last message repeated 65 times
Jun 16 18:33:06 ibrahim smbd[82933]: [2003/06/16 18:33:06, 0] lib/util_sock.c:read_data(436)  
Jun 16 18:33:06 ibrahim smbd[82933]:   read_data: read failure for 4. Error = Connection reset by peer  
Jun 17 00:00:10 ibrahim /kernel: swap_pager: out of swap space
Jun 17 00:00:10 ibrahim /kernel: swap_pager_getswapspace: failed
Jun 17 00:00:11 ibrahim /kernel: pid 81862 (httpd), uid 80, was killed: out of swap space
Jun 17 00:01:01 ibrahim /kernel: swap_pager_getswapspace: failed
Jun 17 00:01:05 ibrahim last message repeated 283 times
Jun 17 00:01:05 ibrahim /kernel: pid 81860 (httpd), uid 80, was killed: out of swap space
Jun 17 00:01:05 ibrahim /kernel: swap_pager_getswapspace: failed
Jun 17 00:01:05 ibrahim last message repeated 27 times
Jun 17 00:01:05 ibrahim /kernel: pid 81860 (httpd), uid 80, was killed: out of swap space
Jun 17 00:01:16 ibrahim /kernel: swap_pager_getswapspace: failed
Jun 17 00:01:18 ibrahim last message repeated 10 times
Jun 17 00:03:43 ibrahim last message repeated 7 times
Jun 17 00:11:50 ibrahim last message repeated 86 times
Jun 17 03:01:59 ibrahim /kernel: swap_pager_getswapspace: failed
Jun 17 03:02:28 ibrahim last message repeated 43 times
Jun 17 03:02:36 ibrahim last message repeated 11 times
Jun 17 03:20:19 ibrahim /kernel: swap_pager_getswapspace: failed
Jun 17 03:22:57 ibrahim last message repeated 550 times
Jun 17 03:22:57 ibrahim /kernel: pid 81857 (httpd), uid 80, was killed: out of swap space
Jun 17 03:24:58 ibrahim /kernel: swap_pager_getswapspace: failed
Jun 17 03:24:58 ibrahim last message repeated 14 times
Jun 17 03:24:58 ibrahim /kernel: pid 81861 (httpd), uid 80, was killed: out of swap space
Jun 17 03:42:38 ibrahim /kernel: swap_pager_getswapspace: failed
Jun 17 03:42:43 ibrahim last message repeated 51 times
Jun 17 03:42:43 ibrahim /kernel: pid 81850 (httpd), uid 80, was killed: out of swap space
Jun 17 10:08:54 ibrahim smbd[73190]: [2003/06/17 10:08:54, 0] lib/util_sock.c:read_data(436)  
Jun 17 10:08:54 ibrahim smbd[73190]:   read_data: read failure for 4. Error = Connection reset by peer  
Jun 17 10:24:36 ibrahim smbd[84426]: [2003/06/17 10:24:36, 0] lib/util_sock.c:read_data(436)  
Jun 17 10:24:36 ibrahim smbd[84426]:   read_data: read failure for 4. Error = Connection reset by peer  
Jun 17 10:37:26 ibrahim su: stegmanp to root on /dev/ttyp1
Jun 17 10:41:38 ibrahim smbd[71376]: [2003/06/17 10:41:38, 0] lib/util_sock.c:read_data(436)  
Jun 17 10:41:38 ibrahim smbd[71376]:   read_data: read failure for 4. Error = Connection reset by peer  
Jun 17 10:48:30 ibrahim su: stegmanp to root on /dev/ttyp1
Jun 17 10:55:08 ibrahim su: stegmanp to root on /dev/ttyp1
Jun 17 10:59:48 ibrahim smbd[88739]: [2003/06/17 10:59:48, 0] rpc_client/cli_trust.c:change_trust_account_password(232)
 


 
 
 
aidez moi svp!!! je sais pas a quel endroit faire de l'espace, ca a l'air de parler de out of swp space (ce qui est possible car notre httpd sert d'outil de production de contenu donc bcp de memoire utilisee)
 
 
ou faudrait il que je fasse de l'espace ? quelle est la partoche swap ?
 
merci

Reply

Marsh Posté le 17-06-2003 à 11:00:55   

Reply

Marsh Posté le 17-06-2003 à 12:12:22    

cat /etc/fstab |grep swap
Il faudra sans doute recréer une nouvelle partition (mkswap /dev/sdXXX), donc avoir de la place pour ça ...

Reply

Marsh Posté le 17-06-2003 à 12:58:46    

tu peux aussi créer un gros fichier de disons, 1go et dire à l'os de l'utiliser comme swap, ce qui t'évites de refaire une partition et de tout arreter en pleine journée. Par contre, ce n'est pas optimal et il faudra bien que tu redimensionne ton swap à un moment ou un autre...


---------------
Two thousand years of misery, of torture in my name, hypocrisy made paramount, paranoia the law, my name is called religion, sadistic, sacred whore.
Reply

Marsh Posté le 17-06-2003 à 13:38:57    

ok merci a ous deux !
pour l'instnt j'ai viré des fichiers temporaires inutiles mais je devrai suerement faire un swap plus grand ...
a ce propos existe il un outil de redimensionnement de partoches sous freebsd ?

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed