[CentOS-virt] Useless use of AllowOverride
Hello, While i m trying to start my apache server i am getting following error. [Wed Apr 14 01:47:58 2010] [warn] Useless use of AllowOverride in line 31 of /home/tomcat/conf/mod_jk.conf. [Wed Apr 14 01:47:58 2010] [warn] Useless use of AllowOverride in line 36 of /home/tomcat/conf/mod_jk.conf. Please let me know if you have any solution regarding this. Thanks Regards Manoj ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Useless use of AllowOverride
Manoj Rajput wrote: Hello, While i m trying to start my apache server i am getting following error. [Wed Apr 14 01:47:58 2010] [warn] Useless use of AllowOverride in line 31 of /home/tomcat/conf/mod_jk.conf. [Wed Apr 14 01:47:58 2010] [warn] Useless use of AllowOverride in line 36 of /home/tomcat/conf/mod_jk.conf. Did you bother to read the documentation? http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride This is only allowed in directory context. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-es] Actualizaciones y welcome.conf
2010/4/12 Ing. Ernesto Pérez Estévez cen...@nuestroserver.com On 04/12/2010 10:29 AM, Andres Lucena wrote: Buenas, Siempre que actualizo un servidor apache vuelve a aparecer el fichero /etc/httpd/conf.d/welcome.conf (no importa la version, me pasa en todos los servidores, pero por ejemplo httpd-2.2.3 en CentOS 5.4) Mi pregunta es si hay alguna forma de hacer que no vuelva a aparecer cada vez q lo reinstalo. En efecto, a mi me pasa con un proxy_ajp.conf que hay ahi. El problema es que si lo borras centos educadamente le pone. Si lo viera de alguna forma, le pondría rpmnew (y no afectaría) es por eso que yo al menos le comento el archivo completamente (afortunadamente son bien pequeños) ya centos lo ve y no le pone nuevo. sino como rpmnew. Buenas, Ya, es lo que me imaginaba. Tampoco pasa nada por tener el fichero comentado, pero casi parece un hack, no? Saludos, Andres ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Actualizaciones y welcome.conf
Ya, es lo que me imaginaba. Tampoco pasa nada por tener el fichero comentado, pero casi parece un hack, no? jeje no, no pasa nada y realmente no veo otra vía factible. saludos! epe ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Actualizaciones y welcome.conf
2010/4/13 Ing. Ernesto Pérez Estévez cen...@nuestroserver.com: Ya, es lo que me imaginaba. Tampoco pasa nada por tener el fichero comentado, pero casi parece un hack, no? jeje no, no pasa nada y realmente no veo otra vía factible. Compañeros, no se sientan tan culpables... es el procedimiento recomendado en el mismo archivo :D -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] BPM
Saludos a todos. Alguien ha tenido alguna experiencia implementado productos de BPM para la gestión de procesos administrativos. He evaluado BizAgi, y ProcessMaker, y ninguno de los dos me termina de convencer. Agradezco cualquier comentario. Gracias Enrique ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Squid Transparente
Hola amigos, quisiera me ayudaran en algo, llevo días tratando de montar un Squid transparente a mi red local solo para que me sirva de caché y mejore la velocidad de mi navegación. Tengo un CentOS 5.4 con una sola interfaz de red y estoy detrás de un proxy padre que tiene por IP/puerto 10.30.1.6:3128. ya está definido en mis clientes que el gateway será el server donde está montado el squid. He probado varias combinaciones y no he logrado lo que quiero, ejemplo: 1. La navegación sigue lenta, aún en páginas que supuestamente deberían estar en la caché. 2. Cuando detengo el proxy la navegación continúa, pero me rechaza las páginas locales, o sea, no me carga ni mi FTP, ni mi sitio web de la red local, ni el webmail, nada debía ser al revés no?.. Si detengo el squid no se puede salir a Internet, ni siquiera debería llegar al otro proxy (padre) Suponiendo que mi red sea 10.31.246.0 con máscara de subred 255.255.255.0, la IP de mi server sea 10.31.246.1 y la IP del proxy padre sea 10.30.1.6 por el puerto 3128, cómo podría configurar mi squid para que funcione como proxy caché? Espero me puedan ayudar con esto, ya que estoy muy necesitado de que mejore mi conexión, pues solo tengo un ancho de banda de 64 kbps y tengo 19 PCs conectadas a este enlace, imaginarán que cuando todas están navegando se hace insoportable entrar a cualquier página. Gracias adelantadas -- Orlando Pantoja Jr Administrador de Red Centro Universitario Municipal Mella Telef. +53 (22) 457126 Movil: 53361653 email: orla...@mumella.uo.edu.cu orlanj...@gmail.com Linux User: 500152 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Actualizaciones y welcome.conf
2010/4/13 Eduardo Grosclaude eduardo.groscla...@gmail.com 2010/4/13 Ing. Ernesto Pérez Estévez cen...@nuestroserver.com: Ya, es lo que me imaginaba. Tampoco pasa nada por tener el fichero comentado, pero casi parece un hack, no? jeje no, no pasa nada y realmente no veo otra vía factible. Compañeros, no se sientan tan culpables... es el procedimiento recomendado en el mismo archivo :D Je, si, esta claro... Para los que no quieran hacer el cat: # # This configuration file enables the default Welcome # page if there is no default index page present for # the root URL. To disable the Welcome page, comment # out all the lines below. # Pasa que yo soy de la escuela de Debian y estoy mas acostumbrado al a2ensite y todas esas movidas. Todavia no estoy acostumbrado al welcome.conf, lo tipico que cuando instale el apache por primera vez en RHEL me quede flipandola por no ver el It Works!. Saludos, Andres ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] expiración de cuentas
El 12/04/10 16:05, Germán Suárez escribió: Gracias por el aporte. ya probe, pero no he podido encontrar la clave para solucionar el tema, espero me puedan dar otras ideas que me puedan ayudar a solucionar el tema... Un extracto de `man passwd`: -w This will set the number of days in advance the user will begin receiving warnings that her password will expire, if the user’s account supports password lifetimes. Available to root only. -i This will set the number of days which will pass before an expired password for this account will be taken to mean that the account is inactive and should be disabled, if the user’s account supports password lifetimes. Available to root only. Será eso? -- Renato Covarrubias Romero counter.li.org #399677 listas [at] rnt.clhttp://rnt.cl https://fedoraproject.org/wiki/User:Rcovarru ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] expiración de cuentas
2010/4/12 Germán Suárez germansuar...@gmail.com: Cordial saludo lista. Estoy tratando de asignar una fecha de expiración a las cuentas, lo estoy haciendo con el comando chage, tambien lo he intentado por la configuración de usuarios y por webmin pero no obtengo los resultados esperados. Lo que quiero hacer es que la primera vez que entre el usuarios le pida cambio de contraseña. y que luego le pida cambiarla cada 30 dias, avisandole 7 días antes que debe cambiarla, que nunca inactive la cuenta y que la cuenta expire el 31 de Diciembre de 2010. las difrentes combinaciones del comando chage que he utilizado es el siguiente: chage username -m 30 -M 0 chage username -m 30 -M 0 -e 20100412 chage username -m 30 -M 0 -e 20100412 -I 1 chage username -m 30 -M 0 -e 20100412 -W 7 sin embargo ern algunos casos me pide cambiar la contraseña pero cuando le doy la nueva contraseña inmediatamente me saca del emulador Tengo entendido que tambien lo puedo hacer con el comando passwd. Agradezco cualquier luz ue me puedan dar sobre el tema Me parece que algunas opciones no están bien seleccionadas. Yo probaría con: -M 30 (cambiarla cada 30 días) -E 2010-12-31 (expira el 31 de dic) -d 2010-01-01 (última fecha en que se considera que cambió la pass) -W 7 (avisar 7 días antes) Según mi 'man chage' la opción de expiración es -E, no -e, y la fecha cuando representa una fecha calendario normal (y no una diferencia entre fechas) se pone con guiones. No encontré la opción -e (minúscula). También según el manual, cuando la fecha de -d, sumándole los días de -M, da un resultado que es anterior a hoy, entonces el usuario deberá cambiar la password antes de usar su cuenta. Así, eligiendo una fecha para -d que sea anterior en más de un mes a la fecha de creación de la cuenta, fuerzas a que cambie la password en el primer login. -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] Cloud on CentOS
(2010/04/13 13:29), CList wrote: Hi, Is there any tutorial/implementation cloud on CentOS? Or anyone with experience like to share? Regards and thanks wL There is a rpm image for eucalyptus on CentOS. http://open.eucalyptus.com/downloads Many experience is available from the comunity. Tsuyoshi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] how to debug pxe boot problems
Hi all, I'm trying to get a pxeboot server up and running, according to the instructions on the WIKI (http://wiki.centos.org/HowTos/PXE/PXE_Setup http://wiki.centos.org/HowTos/PXE/PXE_Setup/Menus) Here's my /tftpboot/pxepxelinux.cfg/default : default menu.c32 prompt 1 timeout 300 ONTIMEOUT local MENU TITLE PXE Menu label Dos Bootdisk MENU LABEL ^Dos bootdisk kernel memdisk append initrd=images/622c.img LABEL CentOS 5 x86_64 MENU LABEL ^CentOS 5 x86_64 kernel images/centos/5/x86_64/vmlinuz append initrd=images/centos/5/x86_64/initrd.img ramdisk_size=10 ksdevice=eth0 ip=dhcp url --url http://192.168.2.250/linux/centos/5/os/x86_64 label linux kernel vmlinuz append initrd=initrd.img ramdisk_size=9216 noapic acpi=of Then, here's the layout for the CentOS 5 image: [r...@intranet /]# ll /tftpboot/images/centos/5/ total 0 lrwxrwxrwx 1 root root 35 Apr 13 07:20 x86_64 - /home/www/linux/centos/5/os/x86_64/ As you can see, I linked the folder to a Linux image on the hard drive. Apache then advertises that folder on the LAN as follows: http://192.168.2.250/linux/centos/5/os/x86_64 and I can browse the folders via Firefox. Yet when I bootup a PC in PXE mode, it doesn't actually load the CentOS image. I can see the PXE Menu and choose between Dos Bootdisk, CentOS 5 x86_64 and linux (which I setup as a test). When I load Dos Bootdisk, I get an error: Loading memdisk Could not find ramdisk image:images/622c.img boot : So, it's reading the configuration, but not loading the CentOS boot image. /var/log/messages doesn't give my any errors on this (yes I know how to read /var/log/messages) Does anyone know how to get pxeboot to output debug messages to syslog? OR,what am I doing wrong? The tutorials I got on the net are rather vague on this. And please don't tell me to use Cobbler, I already tried that but no one one this lists supports it. -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to debug pxe boot problems
Rudi Ahlers writes: Hi all, I'm trying to get a pxeboot server up and running, according to the instructions on the WIKI (http://wiki.centos.org/HowTos/PXE/PXE_Setup http://wiki.centos.org/HowTos/PXE/PXE_Setup/Menus) Here's my /tftpboot/pxepxelinux.cfg/default : default menu.c32 prompt 1 timeout 300 ONTIMEOUT local MENU TITLE PXE Menu label Dos Bootdisk MENU LABEL ^Dos bootdisk kernel memdisk append initrd=images/622c.img LABEL CentOS 5 x86_64 MENU LABEL ^CentOS 5 x86_64 kernel images/centos/5/x86_64/vmlinuz append initrd=images/centos/5/x86_64/initrd.img ramdisk_size=10 ksdevice=eth0 ip=dhcp url --url http://192.168.2.250/linux/centos/5/os/x86_64 label linux kernel vmlinuz append initrd=initrd.img ramdisk_size=9216 noapic acpi=of Then, here's the layout for the CentOS 5 image: [r...@intranet /]# ll /tftpboot/images/centos/5/ total 0 lrwxrwxrwx 1 root root 35 Apr 13 07:20 x86_64 - /home/www/linux/centos/5/os/x86_64/ As you can see, I linked the folder to a Linux image on the hard drive. Apache then advertises that folder on the LAN as follows: http://192.168.2.250/linux/centos/5/os/x86_64 and I can browse the folders via Firefox. Yet when I bootup a PC in PXE mode, it doesn't actually load the CentOS image. I can see the PXE Menu and choose between Dos Bootdisk, CentOS 5 x86_64 and linux (which I setup as a test). When I load Dos Bootdisk, I get an error: Loading memdisk Could not find ramdisk image:images/622c.img boot : So, it's reading the configuration, but not loading the CentOS boot image. /var/log/messages doesn't give my any errors on this (yes I know how to read /var/log/messages) Does anyone know how to get pxeboot to output debug messages to syslog? OR,what am I doing wrong? The tutorials I got on the net are rather vague on this. And please don't tell me to use Cobbler, I already tried that but no one one this lists supports it. You need to have the kernel and initrd under the tftpboot directory, i.e. not symlinked. I presume /home is automounted? Your boot environment doesn't know about autofs. --- This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message. --- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to debug pxe boot problems
Rudi Ahlers wrote on Tue, 13 Apr 2010 08:55:43 +0200: When I load Dos Bootdisk, I get an error: Loading memdisk Could not find ramdisk image:images/622c.img boot : So, it's reading the configuration, but not loading the CentOS boot image. I don't see that you tested the CentOS boot image. You tested loading a DOS image and that obviously doesn't find images/622c.img Does anyone know how to get pxeboot to output debug messages to syslog? OR,what am I doing wrong? What do you want to see more? It does not find that image. That's pretty clear, isn't it? Put kernel and initrd always in the same directory. And why you are trying to boot a DOS disk when you want to boot CentOS, I don't know. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to debug pxe boot problems
On Tue, Apr 13, 2010 at 11:31 AM, Kai Schaetzl mailli...@conactive.com wrote: Rudi Ahlers wrote on Tue, 13 Apr 2010 08:55:43 +0200: When I load Dos Bootdisk, I get an error: Loading memdisk Could not find ramdisk image:images/622c.img boot : So, it's reading the configuration, but not loading the CentOS boot image. I don't see that you tested the CentOS boot image. You tested loading a DOS image and that obviously doesn't find images/622c.img The others does nothing when I try and boot them Does anyone know how to get pxeboot to output debug messages to syslog? OR,what am I doing wrong? What do you want to see more? It does not find that image. That's pretty clear, isn't it? Put kernel and initrd always in the same directory. And why you are trying to boot a DOS disk when you want to boot CentOS, I don't know. Cause I used the sample configation on the WIKI, and the DOS option is listed. Why is it listed on the Wiki if ppl are going to question it's usage? Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Swap = 0
My server returning an error sth. like swap = 0 then locking httpd and all other services is this normal this is a virtual machine and i give it 3 gb ram and 4cpu of i7 920 i have 1 gbit connection on this machine finally i have 4000+ clients at one time :S ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to debug pxe boot problems
Rudi Ahlers wrote: The others does nothing when I try and boot them And why you are trying to boot a DOS disk when you want to boot CentOS, I don't know. Cause I used the sample configation on the WIKI, and the DOS option is listed. Why is it listed on the Wiki if ppl are going to question it's usage? Hi Which others? Are you sure that are you using the right vmlinuz and initrd? Which Wiki did you use? Was this one? http://wiki.centos.org/HowTos/PXE/PXE_Setup I don't see any reference to DOS. Regards mg. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] XFS-filesystem corrupted by defragmentation Was: Performance problems with XFS on Centos 5.4
Before I'd try to defragment my whole filesystem (see attached mail for whole story) I figured Let's try it on some file. So I did xfs_bmap /raid/Temp/someDiskimage.iso [output shows 101 extents and 1 hole] Then I defragmented the file xfs_fsr /raid/Temp/someDiskimage.iso extents before:101 after:3 DONE xfs_bmap /raid/Temp/someDiskimage.iso [output shows 3 extents and 1 hole] and now comes the bummer: i wanted to check the fragmentation of the whole filesystem (just for checking): xfs_db -r /dev/mapper/VolGroup00-LogVol04 xfs_db: unexpected XFS SB magic number 0x xfs_db: read failed: Invalid argument xfs_db: data size check failed cache_node_purge: refcount was 1, not zero (node=0x2a25c20) xfs_db: cannot read root inode (22) THAT output was definitly not there when I did this the last time and therefor the new fragmentation does not make me happy either xfs_db frag actual 0, ideal 0, fragmentation factor 0.00% The file-system is still mounted and working and I don't dare to do anything about it (am in a mild state of panic) because I think it might not come back if I do. Any suggestions most welcome (am googling myself before I do anything about it). I swear to god: I did not do anything else with the xfs_*-commands than the stuff mentioned above Bernhard ---BeginMessage--- On Fri, 9 Apr 2010 10:59:02 -0400 RW == Ross Walker rswwal...@gmail.com wrote: RW On Apr 9, 2010, at 9:59 AM, Bernhard Gschaider RW bgschaid_li...@ice- sf.at wrote: Hi! During the last weeks I experienced some performance problems with a large file-system on XFS basis. Sometimes for instance ls is painfully. Immidiatly afterwards ls on the same directory is immidiate. I used strace on this ls and found that during the first ls the lstat-calls need approx 0.02s each while during the second ls the are two orders of magnitude faster. Googling around I stumbled upon some messages similar like this http://www.opensubscriber.com/message/linux-...@oss.sgi.com/1355060.html which have in common a) they're from around 2006 b) they suggest to increase a mount-option ihashsize. This mount option is listed as deprecated in the current kernel-doc So my question: does anyone have experience with that kind of performance problem? Do you think it is a XFS problem or are there some other tuning parameters in the kernel that could be modified for instance via /proc? The reason why I'm asking here is that it is a production file-system so I would be very unpopular if I experiment too much (a couple of reboots is OK ;) ) Bernhard PS: the situation got worse during the last weeks when the file-system increased in size, so the option that some kind of buffer now is too small and I'm experiencing some kind of thrashing seems very likely to me RW Are you defragging the file system regularly? Uups. Never occured to me (Fragmentation is s Windoze) Had a look: xfs_db frag actual 6349355, ideal 4865683, fragmentation factor 23.37% This seems significant. RW How much memory do you have in the system and how big is the RW file system? Memory on the system is 4Gig (2 DualCore Xenons). The filesystem is 3.5 TB of which 740 Gig are used. Which is the maximum amount used during the one year that the filesystem is being used (that is why the high fragmentation amazes me) RW What are the XFS parameters for the file system? Is this sufficent? % xfs_info /raid meta-data=/dev/VolGroup00/LogVol05 isize=256agcount=32, agsize=29434880 blks = sectsz=512 attr=0 data = bsize=4096 blocks=941916160, imaxpct=25 = sunit=0 swidth=0 blks, unwritten=1 naming =version 2 bsize=4096 log =internal bsize=4096 blocks=32768, version=1 = sectsz=512 sunit=0 blks, lazy-count=0 realtime =none extsz=4096 blocks=0, rtextents=0 RW What is the storage setup? The filesystem is on a LVM-Volume which sits on a RAID 5 (Hardware RAID) drive RW Need the info. So the way to go forward would be using xfs_fsr on that drive. I read some horror stories about lost files, are these to be taken seriously (I mean they were in some Ubuntu forums ;) ) Any other thoughts on parameters? Thanks for your time Bernhard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ---End Message--- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Swap = 0
cahit Eyigünlü wrote: My server returning an error sth. like swap = 0 then locking httpd and all other services is this normal this is a virtual machine and i give it 3 gb ram and 4cpu of i7 920 i have 1 gbit connection on this machine finally i have 4000+ clients at one time :S No. This is not normal. Did you create a swap partition when you were installing the system? If you do a fdisk /dev/sda, change sda to your disk, you'll see something like this: Device Boot Start End Blocks Id System /dev/sda1 *1 13 104391 83 Linux /dev/sda214 535 4192965 82 Linux swap / Solaris /dev/sda3536442731262490 83 Linux The command free can give you a hint about your swap space: newt (Linux)$ free total used free sharedbuffers cached Mem: 20749561926248 148708 0 279001252224 -/+ buffers/cache: 6461241428832 Swap: 41929561244192832 newt (Linux)$ Regards mg. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Swap = 0
r...@lin [~]# free total used free sharedbuffers cached Mem: 3090588 9088442181744 0 11948 266892 -/+ buffers/cache: 6300042460584 Swap: 2064376 227962041580 2010/4/13 Marcelo M. Garcia marcelo.maia.gar...@googlemail.com cahit Eyigünlü wrote: My server returning an error sth. like swap = 0 then locking httpd and all other services is this normal this is a virtual machine and i give it 3 gb ram and 4cpu of i7 920 i have 1 gbit connection on this machine finally i have 4000+ clients at one time :S No. This is not normal. Did you create a swap partition when you were installing the system? If you do a fdisk /dev/sda, change sda to your disk, you'll see something like this: Device Boot Start End Blocks Id System /dev/sda1 *1 13 104391 83 Linux /dev/sda214 535 4192965 82 Linux swap / Solaris /dev/sda3536442731262490 83 Linux The command free can give you a hint about your swap space: newt (Linux)$ free total used free sharedbuffers cached Mem: 20749561926248 148708 0 279001252224 -/+ buffers/cache: 6461241428832 Swap: 41929561244192832 newt (Linux)$ Regards mg. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to debug pxe boot problems
On Tue, Apr 13, 2010 at 11:51 AM, Marcelo M. Garcia marcelo.maia.gar...@googlemail.com wrote: others? Are you sure that are you using the right vmlinuz and initrd? Which Wiki did you use? Was this one? http://wiki.centos.org/HowTos/PXE/PXE_Setup I don't see any reference to DOS. Regards mg. 2nd part of that tutorial: http://wiki.centos.org/HowTos/PXE/PXE_Setup/Menus -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Swap = 0
Cahit, 2010/4/13 cahit Eyigünlü cahit.eyigu...@gmail.com: My server returning an error sth. like swap = 0 then locking httpd and all Set up a monitoring tool like sar etc. or my favourite, nmon with capacity planning. Depending on what those 4k users are doing, you might be running out of RAM + swap space until the out-of-memory killer kicks in and frees up some space by killing some processes. You should be able to see that activity in the message logfile. -- Hakan (m1fcj) - http://www.hititgunesi.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Swap = 0
Actually that is better i think ; is there any optimization tool i have added 2 more gb ram but it is still locking server :S top - 13:11:13 up 33 min, 2 users, load average: 29.96, 13.75, 10.97 Tasks: 280 total, 40 running, 236 sleeping, 0 stopped, 4 zombie Cpu(s): 61.1%us, 34.2%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.3%hi, 4.4%si, 0.0%st Mem: 3090588k total, 2481096k used, 609492k free,16068k buffers Swap: 2064376k total,22796k used, 2041580k free, 274104k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 4331 root 18 0 169m 131m 764 S 0.0 4.3 0:01.75 /usr/sbin/clamd 4228 mysql 15 0 356m 53m 3904 S 24.0 1.8 5:42.20 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mys 2010/4/13 Hakan Koseoglu ha...@koseoglu.org Cahit, 2010/4/13 cahit Eyigünlü cahit.eyigu...@gmail.com: My server returning an error sth. like swap = 0 then locking httpd and all Set up a monitoring tool like sar etc. or my favourite, nmon with capacity planning. Depending on what those 4k users are doing, you might be running out of RAM + swap space until the out-of-memory killer kicks in and frees up some space by killing some processes. You should be able to see that activity in the message logfile. -- Hakan (m1fcj) - http://www.hititgunesi.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Swap = 0
Cahit, 2010/4/13 cahit Eyigünlü cahit.eyigu...@gmail.com: is there any optimization tool i have added 2 more gb ram but it is still locking server :S Which bit do you want to optimize? top - 13:11:13 up 33 min, 2 users, load average: 29.96, 13.75, 10.97x Tasks: 280 total, 40 running, 236 sleeping, 0 stopped, 4 zombie Cpu(s): 61.1%us, 34.2%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.3%hi, 4.4%si, 0.0%st Mem: 3090588k total, 2481096k used, 609492k free, 16068k buffers Swap: 2064376k total, 22796k used, 2041580k free, 274104k cached Your server is pretty busy with such a high load, you might like to throw more RAM and more CPU. 1/3d of the time is spent serving the system itself. The IO waits are zero which is nice but you're still spending a lot of time for the sys and si (software interrupts). 4331 root 18 0 169m 131m 764 S 0.0 4.3 0:01.75 /usr/sbin/clamd 4228 mysql 15 0 356m 53m 3904 S 24.0 1.8 5:42.20 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mys Both of these are sleeping but you have to check why you have clamd running. Do you serve files and require antivirus on the server? If your server is a LAMP setup, serving php etc. with a mysql backend, you might like to disable that. Have a look at nmon from IBM and the analysis spreadsheet it has (unfortunately that requires Windows Office, I never managed to get that run successfully under OpenOffice). Nmon will collect the stats and when you feed them to the analyser spreadsheet, you can see which processes have grabbed the disk CPU and when. There are other tools out there as well but my preference has been nmon for various other reasons (well, I have to deal with AIX boxes a lot as well and it comes by default with the latest versions and it works perfectly fine with CentOS and Debian/Ubuntu as well).. You can run nmon with -t option (capacity planning, 15 min samples for a day) or with customized options (don't forget -t for spreadsheet option). -- Hakan (m1fcj) - http://www.hititgunesi.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XFS-filesystem corrupted by defragmentation Was: Performance problems with XFS on Centos 5.4
Bernhard Gschaider wrote: Before I'd try to defragment my whole filesystem (see attached mail for whole story) I figured Let's try it on some file. Might be better to ask on the XFS list: x...@oss.sgi.com - see: http://oss.sgi.com/mailman/listinfo/xfs James Pearson ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to debug pxe boot problems
Rudi Ahlers wrote on Tue, 13 Apr 2010 12:12:07 +0200: 2nd part of that tutorial: http://wiki.centos.org/HowTos/PXE/PXE_Setup/Menus That is only an example. If you want to boot CentOS you have to boot that. Your DOS image can fail for a lot of reasons including that it is not PXE- bootbale. Troubleshooting on the wrong thing just wastes time. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cloud on CentOS
On 13/04/2010 05:29, CList wrote: Hi, Is there any tutorial/implementation cloud on CentOS? Or anyone with experience like to share? Can you be a little more specific. Do you want the Virtualisation, the Management, the Storage, the Processing. Basically what do you want to do with the cloud? There are so many options of building the cloud stack. I am about to write how to get hadoop on CentOS if you want some information on that? Cheers Didi -- Hoffmann Geerd-Dietger http://contact.ribalba.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rsyslog 4.x or 5.x version for Centos 5.4
W dniu 12.04.2010 15:56, Jim Perrin pisze: On Mon, Apr 12, 2010 at 7:01 AM, f...@ll for...@stalowka.info wrote: I was looking for centos 5.4 package rsyslog version 5.x or 4.x as rpm. Any repo exist with this package? In 5.5, rsyslog will be rebased to 3.x. If you really need a 4.x version, the IUS community repository has it packaged. Hi, Thx, and I have other question, there other exist repositories like IUS Community? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Next Newsletter release
Hey Due to that the last release was a last minute thing again I want to announce that no more information will be added to the Newsletter after the 25th. of April. So could everyone who wants to contribute please send me the stuff till then. This then should give us a week to proof read everything and give the translators a head start :) *I still need a user desktop photo* Cheers Didi -- Hoffmann Geerd-Dietger http://contact.ribalba.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Next Newsletter release
Geerd-Dietger Hoffmann wrote: Due to that the last release was a last minute thing again I want to announce that no more information will be added to the Newsletter after the 25th. of April. Er, what newsletter is this ...? -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to debug pxe boot problems
Rudi Ahlers wrote on Tue, 13 Apr 2010 11:43:34 +0200: Cause I used the sample configation on the WIKI, No, you didn't, you deviated from the tutorial and used different paths. And, beyond that, it's a menu tutorial. Your menu works. Anyway, you cannot just test with other images you know nothing about. That DOS image may simply not be PXE-bootable. Go back and try to make the simplest test case work. The simplest test case is the one with just the vmlinuz kernel and initrd and no other parameters. Follow the tutorial exactly and don't deviate before you know that it works. I followed that tutorial some years ago when I first started using kickstart PXE installation setups and it worked almost instantly. The only thing is that one has to be carefull with paths. At least with 5.0/5.1, it somehow didn't like to use the paths I told it but always used the initrd from the same directory. Keep that in mind. I don't know if that changed. The isolinux in CentOS is as old as CentOS, remember that. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Amazon S3FS Automounter of sorts
On 12/04/2010 17:44, Matt Keating wrote: I found it works well with FTPing into the server and uploading to the mounted bucket. Reason its like this is that there are lots of different people who upload throughout our company. It was much easier giving out the FTP details, which were totally under our control (Username/Pass,Firewall,etc), rather than giving out the S3 logins. Sounds like a good reason :) I hope you are aware that everything you put on your s3 is publicly available if someone knows your bucket name. Yes, I am aware of that - its all being served on the net anyway. If I remove the Pubic read only, will the files still be accessible via cloudfront? I hope not. And a little test confirms this. If you are serving it out anyway that is fine. I just had a client that had all his backup files publicly readable, because of this type of configuration error. I tried mounting it like you, but just ran into too many problems, especially if you access files from many machines. What issues did you run into? As I haven't had any problems as of yet. If it is a one way transfer it is fine. But if you modify files etc caching issues where horrible. Files overwritten etc ... But if you are just pushing stuff onto a server it should work. For the backup I have used s3tools too. I have a little script that looks at what is in the bucket and what is in the local folder and then syncs them up. But I suppose that is what the fuse file system does :) For your auto-mount script. Can't you mount it when someone logs on over ftp. And then if no one is logged on any more unmount it. Cheers Didi -- Hoffmann Geerd-Dietger http://contact.ribalba.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rsyslog 4.x or 5.x version for Centos 5.4
On Tue, Apr 13, 2010 at 7:53 AM, f...@ll for...@stalowka.info wrote: Thx, and I have other question, there other exist repositories like IUS Community? Yes. There are a number of additional repositories that can be used to add or update packages on your system. There's a list of known ones on the centos wiki. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS-3, is this what I need?
Hi, I am new to linux and so far I have only used ubuntu. I have developed a python application which I would like package and distribute. The problem with packaging tools such as pyinstaller and cx_freeze is that you have to compile the bootloader first. Now If I compile the loader on karmic 9.10, the binary would suffer from compatibility issue. In other words I won't be able to execute the app on a lower version such as ubuntu 8.04.4 LTS. The solution is to use as much as old libc as you can to compile the bootloader. It seems CentOS-3 is based on glibc 2.3, which is pretty old and if I compile and do other stuff of on CentOS-3, it'll do the job and hopefully covers almost all the end user base that I am expecting will use the app. It may possible that I might face some issues with my requirements mentioned below but I have no practical idea about them. As I mentioned before that I am new to linux and I always prefer to use VirtualBox, when ever I try any new distribution. In short these are my requirements and I would like to know whether CentOS-3 is the right choice for me or not? 1. Use VirtualBox. XP Host CentOS-3 guest. 2. python 2.6.4 3. wxPython 2.8.10.1 from wxWidgets repository 4. libcairo 1.8.8 5. pycairo 1.8.6 6. couple of other python modules. Are these packages available or if not can be downloaded from other repositories? I am also concerned about my requirements that whether they themselves will suffer from binary dependency issue or not because I of using CentOS-3. Some one also suggested that you should also compile your requirements(python, wxpython etc.) along with the bootloader and this would make your package and underlying libraries backward compatible and lesser chance of any failure. Best regards Prashant Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Next Newsletter release
On 13/04/2010 13:00, Timothy Murphy wrote: Geerd-Dietger Hoffmann wrote: Due to that the last release was a last minute thing again I want to announce that no more information will be added to the Newsletter after the 25th. of April. Er, what newsletter is this ...? 1003, the one that will be release on the first of May. Cheers Didi -- Hoffmann Geerd-Dietger http://contact.ribalba.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XFS-filesystem corrupted by defragmentation Was: Performance problems with XFS on Centos 5.4
On Tue, 13 Apr 2010 11:58:39 +0100 JP == James Pearson jame...@moving-picture.com wrote: JP Bernhard Gschaider wrote: Before I'd try to defragment my whole filesystem (see attached mail for whole story) I figured Let's try it on some file. JP Might be better to ask on the XFS list: x...@oss.sgi.com - JP see: JP http://oss.sgi.com/mailman/listinfo/xfs Thank you. I did. I just figured that if this is a problem specific to the version of the xfs-utils that come with CentOS somebody here might have encountered it too ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] PXE Boot : Clonezilla
Hi, I wanted to set up Clonezilla Tools on my client machine via PXE Boot. How do I do it. I got information from the web, but after making changes in the dhcpd.conf file, the dhcpd fails to start. In the BIOS after enabling the PXE Boot, iam not able to see an Clonezilla menu options that i have placed in /pxelinux.cfg file. Iam using centos-5.3 on Intel Board Please provide me with some more information on the same. Regards, Premraj Disclaimer : This message is proprietary to Smartlink Network Systems Ltd. and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. The company accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus. __ This email has been scrubbed for your protection by SecureMX. For more information visit http://securemx.in __ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] PXE Boot : Clonezilla
Hi, I wanted to set up Clonezilla Tools on my client machine via PXE Boot. How do I do it. I got information from the web, but after making changes in the dhcpd.conf file, the dhcpd fails to start. In the BIOS after enabling the PXE Boot, iam not able to see an Clonezilla menu options that i have placed in /pxelinux.cfg file. Iam using centos-5.3 on Intel Board Please provide me with some more information on the same. Disclaimer : This message is proprietary to Smartlink Network Systems Ltd. and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. The company accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus. __ This email has been scrubbed for your protection by SecureMX. For more information visit http://securemx.in __ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] ACER T230H touchscreen problem!
Hi, I am completely new to CentOS(a week), but work on linux almost 2 years. This touchscreen ACER T230H is probably produced for Windows7, but works also with Windows XP. On CentOS works just screen, but not touch. I have no idea how to make it work. Should I look for driver? Please give me some advice!?! Thanks, Vladimir -- Vladimir Zdraveski Student Informatics and Computer Engineering Faculty of Electrical Engineering and Information Technology Skopje, R.Macedonia web: http://zdr.vlad.tripod.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PXE Boot : Clonezilla
premr...@digilink.in wrote: I wanted to set up Clonezilla Tools on my client machine via PXE Boot. How do I do it. I got information from the web, but after making changes in the dhcpd.conf file, the dhcpd fails to start. In the BIOS after enabling the PXE Boot, iam not able to see an Clonezilla menu options that i have placed in /pxelinux.cfg file. Iam using centos-5.3 on Intel Board Please provide me with some more information on the same. Regards, Premraj Hi I think you are the who should provide more information. The sentence after making changes in the dhcpd.conf file, the dhcpd fails to start doesn't help. What change? There are plenty of documentation on the web about how to set up a dhcp server, for example: http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-dhcp-configuring-server.html Regards mg. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Next Newsletter release
On 13/04/2010 13:00, Timothy Murphy wrote: Geerd-Dietger Hoffmann wrote: Due to that the last release was a last minute thing again I want to announce that no more information will be added to the Newsletter after the 25th. of April. Er, what newsletter is this ...? 1003, the one that will be release on the first of May. I was under the impression that Tim was asking if this was a Linux newsletter, or CentOS, or StarWars, the newsletter, or? mark, newsy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Amazon S3FS Automounter of sorts
From: Geerd-Dietger Hoffmann d...@ribalba.de Reply-To: CentOS mailing list centos@centos.org Date: Tue, 13 Apr 2010 13:11:59 +0100 To: CentOS mailing list centos@centos.org Subject: Re: [CentOS] Amazon S3FS Automounter of sorts On 12/04/2010 17:44, Matt Keating wrote: I found it works well with FTPing into the server and uploading to the mounted bucket. Reason its like this is that there are lots of different people who upload throughout our company. It was much easier giving out the FTP details, which were totally under our control (Username/Pass,Firewall,etc), rather than giving out the S3 logins. Sounds like a good reason :) I hope you are aware that everything you put on your s3 is publicly available if someone knows your bucket name. Yes, I am aware of that - its all being served on the net anyway. If I remove the Pubic read only, will the files still be accessible via cloudfront? I hope not. And a little test confirms this. If you are serving it out anyway that is fine. I just had a client that had all his backup files publicly readable, because of this type of configuration error. I tried mounting it like you, but just ran into too many problems, especially if you access files from many machines. What issues did you run into? As I haven't had any problems as of yet. If it is a one way transfer it is fine. But if you modify files etc caching issues where horrible. Files overwritten etc ... But if you are just pushing stuff onto a server it should work. Thanks for reply, We never need to modify things, so once they are live - they stay that way. So I guess my situation is ok then. For the backup I have used s3tools too. I have a little script that looks at what is in the bucket and what is in the local folder and then syncs them up. But I suppose that is what the fuse file system does :) For keeping things in sync, I have a cron job that downloads the list of files plus hashes from amazon and stores them in a db. I compare that list to the latest list downloaded and put the new files into a new table. I have another script running that checks the 'download' table and downoads the files in there, once completed puts that file into the main list table. It works fine - no intention on changing that. For your auto-mount script. Can't you mount it when someone logs on over ftp. And then if no one is logged on any more unmount it. Cheers Didi Never thought about writing my own automounter, will give it a go. Thanks for the input. MattNOTE: The information in this email is confidential and may be legally privileged, unless stated to the contrary. If you are not the intended recipient, you must not read, use or disseminate that information. Any opinions or comments are personal to the writer and do not represent the official view of Dennis Publishing Ltd. If you have received this email and are not a named addressee, please contact itdirec...@dennis.co.uk immediately by reply email and then delete this message from your system. Please do not copy it or use it for any purpose, or disclose its contents to any other person. Although this email and any attachments are believed to be free of any virus, or other defects, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Dennis Publishing Ltd for any loss or damage arising from the receipt or use thereof. Company registered in England No. 1138891 Registered office: 30, Cleveland Street, London, W1T 4JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Next Newsletter release
m.r...@5-cent.us wrote: Due to that the last release was a last minute thing again I want to announce that no more information will be added to the Newsletter after the 25th. of April. Er, what newsletter is this ...? 1003, the one that will be release on the first of May. I was under the impression that Tim was asking if this was a Linux newsletter, or CentOS, or StarWars, the newsletter, or? Quite. Have I missed 1002 other newsletters? [Hint: an URL would be useful.] -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS-3, is this what I need?
On Tue, Apr 13, 2010 at 8:12 AM, Prashant Saxena animator...@yahoo.com wrote: The solution is to use as much as old libc as you can to compile the bootloader. It seems CentOS-3 is based on glibc 2.3, which is pretty old and if I compile and do other stuff of on CentOS-3, it'll do the job and hopefully covers almost all the end user base that I am expecting will use the app. It may possible that I might face some issues with my requirements mentioned below but I have no practical idea about them. CentOS 3 is ancient and I don't even think is supported by the upstream vendor any longer. If you absolutely need that old version of glibc then using CentOS 4.x (updated) will still give you glibc-2.3.4. As I mentioned before that I am new to linux and I always prefer to use VirtualBox, when ever I try any new distribution. In short these are my requirements and I would like to know whether CentOS-3 is the right choice for me or not? 1. Use VirtualBox. XP Host CentOS-3 guest. 2. python 2.6.4 3. wxPython 2.8.10.1 from wxWidgets repository 4. libcairo 1.8.8 5. pycairo 1.8.6 6. couple of other python modules. All these are newer. I'm not certain I understand the requirement for glibc 2.3? You mentioned a bootloader but that is usually quite separate from glibc and other applications. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PXE Boot : Clonezilla
On 4/13/2010 7:17 AM, premr...@digilink.in wrote: Hi, I wanted to set up Clonezilla Tools on my client machine via PXE Boot. How do I do it. I got information from the web, but after making changes in the dhcpd.conf file, the dhcpd fails to start. In the BIOS after enabling the PXE Boot, iam not able to see an Clonezilla menu options that i have placed in /pxelinux.cfg file. Iam using centos-5.3 on Intel Board Please provide me with some more information on the same. One way to do this is to install drbl, which can PXE-boot clients into clonezilla or several other things: http://drbl.sourceforge.net/one4all/ -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS-3, is this what I need?
On Tue, Apr 13, 2010 at 10:16:22AM -0400, Kwan Lowe wrote: On Tue, Apr 13, 2010 at 8:12 AM, Prashant Saxena animator...@yahoo.com wrote: The solution is to use as much as old libc as you can to compile the bootloader. It seems CentOS-3 is based on glibc 2.3, which is pretty old and if I compile and do other stuff of on CentOS-3, it'll do the job and hopefully covers almost all the end user base that I am expecting will use the app. It may possible that I might face some issues with my requirements mentioned below but I have no practical idea about them. CentOS 3 is ancient and I don't even think is supported by the upstream vendor any longer. If you absolutely need that old version of glibc then using CentOS 4.x (updated) will still give you glibc-2.3.4. http://wiki.centos.org/FAQ/General#head-fe8a0be91ee3e7dea812e8694491e1dde5b75e6d Frequently Asked Questions about CentOS in general 19. What is the support ''end of life'' for each CentOS release? For a few more month, CentOS-3 is still supported ;) As I mentioned before that I am new to linux and I always prefer to use VirtualBox, when ever I try any new distribution. In short these are my requirements and I would like to know whether CentOS-3 is the right choice for me or not? 1. Use VirtualBox. XP Host CentOS-3 guest. XP is EOL very soon too. 2. python 2.6.4 not on CentOS-3 (python 2.2) CentOS-4 (python 2.3) or CentOS-5 (python 2.4) ... you can browse the centos mirrors for each version if you want ot know what is included in each version. See also http://wiki.centos.org/AdditionalResources/Repositories Tru -- Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance) http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B pgpYvTWAOoU5e.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] ClamAV clamscan command using huge amount of RAM
We have a perl cgi script that accepts uploaded files and runs clamscan on them. While observing the system performance I noticed that each clamscan process consumes up to 250MB of RAM. Is this normal for ClamAV? This seems like an enormous amount of RAM, for simply scanning one file for viruses. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] 12-15 TB RAID storage recommendations
Hello listmates, I would like to build a 12-15 TB RAID 5 data server to run under ContOS. Any recommendations as far as hardware, configuration, etc? Thanks. Boris. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
On 4/13/2010 1:05 PM, Boris Epstein wrote: Hello listmates, I would like to build a 12-15 TB RAID 5 data server to run under ContOS. Any recommendations as far as hardware, configuration, etc? Thanks. Boris. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Chassis - CSE-836A-R1200B Supermicro SC836 A-R1200B - Rack-mountable - 3U - SATA/SAS - hot-swap - power supply 1200 Watt RAID Card - 3ware 9650SE-16ML-SGL 9650SE-16ML-SGL RAID 0/1/5/6/10/50 16CH SATA II PCIE 256MB ECC DDR2 - PCI Express x8 - Up to 300MBps - 4 x SATA x4 Serial ATA/300 - Serial ATA BBU Module for RAID card - 3ware BBU-MODULE-03 Pick the cpu(s) and motherboard to fit the chassis. Obviously go with ECC ram and ONLY enterprise grade hard drives. To ensure compatibility check with 3ware to see which drives they recommend. Areca RAID cards will get you a little better performance but the module for the 9650SE series of 3ware cards is included with the Centos kernel. Getting the Areca driver going is a bit more work, but nothing that would be considered a huge hurdle for a competent sysadmin. Also, if you're looking for advice on Areca products call their Tekram contact in the USA. Their other distributors have been less than stellar on answering pre-sales questions. -- Ryan Manikowski ]] Devision Media Services LLC [[ www.devision.us r...@devision.us | 716.771.2282 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
On Tue, Apr 13, 2010 at 1:14 PM, Ryan Manikowski r...@devision.us wrote: On 4/13/2010 1:05 PM, Boris Epstein wrote: Hello listmates, I would like to build a 12-15 TB RAID 5 data server to run under ContOS. Any recommendations as far as hardware, configuration, etc? Thanks. Boris. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Chassis - CSE-836A-R1200B Supermicro SC836 A-R1200B - Rack-mountable - 3U - SATA/SAS - hot-swap - power supply 1200 Watt RAID Card - 3ware 9650SE-16ML-SGL 9650SE-16ML-SGL RAID 0/1/5/6/10/50 16CH SATA II PCIE 256MB ECC DDR2 - PCI Express x8 - Up to 300MBps - 4 x SATA x4 Serial ATA/300 - Serial ATA BBU Module for RAID card - 3ware BBU-MODULE-03 Pick the cpu(s) and motherboard to fit the chassis. Obviously go with ECC ram and ONLY enterprise grade hard drives. To ensure compatibility check with 3ware to see which drives they recommend. Areca RAID cards will get you a little better performance but the module for the 9650SE series of 3ware cards is included with the Centos kernel. Getting the Areca driver going is a bit more work, but nothing that would be considered a huge hurdle for a competent sysadmin. Also, if you're looking for advice on Areca products call their Tekram contact in the USA. Their other distributors have been less than stellar on answering pre-sales questions. -- Ryan Manikowski ]] Devision Media Services LLC [[ www.devision.us r...@devision.us | 716.771.2282 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thanks Ryan! So, basically, I take it you've had positive experience with that Supermicro box. It does look good and seems fairly inexpensive, too. Boris. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
On Tue, Apr 13, 2010 at 1:14 PM, Ryan Manikowski r...@devision.us wrote: On 4/13/2010 1:05 PM, Boris Epstein wrote: Hello listmates, I would like to build a 12-15 TB RAID 5 data server to run under ContOS. Any recommendations as far as hardware, configuration, etc? Thanks. Boris. ___ CentOS mailing listcen...@centos.orghttp://lists.centos.org/mailman/listinfo/centos Chassis - CSE-836A-R1200B Supermicro SC836 A-R1200B - Rack-mountable - 3U - SATA/SAS - hot-swap - power supply 1200 Watt RAID Card - 3ware 9650SE-16ML-SGL 9650SE-16ML-SGL RAID 0/1/5/6/10/50 16CH SATA II PCIE 256MB ECC DDR2 - PCI Express x8 - Up to 300MBps - 4 x SATA x4 Serial ATA/300 - Serial ATA BBU Module for RAID card - 3ware BBU-MODULE-03 Pick the cpu(s) and motherboard to fit the chassis. Obviously go with ECC ram and ONLY enterprise grade hard drives. To ensure compatibility check with 3ware to see which drives they recommend. Areca RAID cards will get you a little better performance but the module for the 9650SE series of 3ware cards is included with the Centos kernel. Getting the Areca driver going is a bit more work, but nothing that would be considered a huge hurdle for a competent sysadmin. Also, if you're looking for advice on Areca products call their Tekram contact in the USA. Their other distributors have been less than stellar on answering pre-sales questions. -- Ryan Manikowski ]] Devision Media Services LLC [[ www.devision.us r...@devision.us | 716.771.2282 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Ryan's hardware recommendations are good. But I wouldn't run a RAID5 volume that large, software or hardware. It's just too risky as rebuilds will take days and the chances of hitting a non recoverable read error would be near 100% on a volume that size. Either run multiple smaller RAID5's and use LVM to manage the volumes which the OS will use or choose a better RAID layout. RAID6 or RAID10 are much better choices these days. -- David ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
On 4/13/2010 1:19 PM, David Miller wrote: snip Ryan's hardware recommendations are good. But I wouldn't run a RAID5 volume that large, software or hardware. It's just too risky as rebuilds will take days and the chances of hitting a non recoverable read error would be near 100% on a volume that size. Either run multiple smaller RAID5's and use LVM to manage the volumes which the OS will use or choose a better RAID layout. RAID6 or RAID10 are much better choices these days. -- David With the config mentioned above it would give the flexibility to run RAID10 with a resulting data store of just under 14TB (8x RAID1 stripe using 2TB drives). Choice of RAID implementation (specifically RAID5) could be an impediment to performance as noted above. Always good to have input from more than one source. At that level of storage looking into spending a bit more for redundancy (drbd/pacemkaker/heartbeat) may be a worthwhile investment as well. -- Ryan Manikowski ]] Devision Media Services LLC [[ www.devision.us r...@devision.us | 716.771.2282 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ClamAV clamscan command using huge amount of RAM
We have a perl cgi script that accepts uploaded files and runs clamscan on them. While observing the system performance I noticed that each clamscan process consumes up to 250MB of RAM. Is this normal for ClamAV? This seems like an enormous amount of RAM, for simply scanning one file for viruses. I think this is normal since virus signature database takes lot of ram. -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XFS-filesystem corrupted by defragmentation Was: Performance problems with XFS on Centos 5.4
Just to close this thread and remove any doubt that it might have raised about XFS: the problem was a PEBCAB[1] It was pointed out to me on the XFS-list that the device I used for xfs_db was inconsistent with the info from xfs_info (I was blindly copying the device from the output of df) Footnotes: [1] PEBCAB: Problem exists between chair and keyboard On Tue, 13 Apr 2010 11:54:53 +0200 BG == Bernhard Gschaider bgschaid_li...@ice-sf.at wrote: BG Before I'd try to defragment my whole filesystem (see attached BG mail for whole story) I figured Let's try it on some file. BG So I did xfs_bmap /raid/Temp/someDiskimage.iso BG [output shows 101 extents and 1 hole] BG Then I defragmented the file xfs_fsr /raid/Temp/someDiskimage.iso BG extents before:101 after:3 DONE xfs_bmap /raid/Temp/someDiskimage.iso BG [output shows 3 extents and 1 hole] BG and now comes the bummer: i wanted to check the fragmentation BG of the whole filesystem (just for checking): xfs_db -r /dev/mapper/VolGroup00-LogVol04 BG xfs_db: unexpected XFS SB magic number 0x xfs_db: read BG failed: Invalid argument xfs_db: data size check failed BG cache_node_purge: refcount was 1, not zero (node=0x2a25c20) BG xfs_db: cannot read root inode (22) BG THAT output was definitly not there when I did this the last BG time and therefor the new fragmentation does not make me happy BG either xfs_db frag BG actual 0, ideal 0, fragmentation factor 0.00% BG The file-system is still mounted and working and I don't dare BG to do anything about it (am in a mild state of panic) because BG I think it might not come back if I do. BG Any suggestions most welcome (am googling myself before I do BG anything about it). BG I swear to god: I did not do anything else with the BG xfs_*-commands than the stuff mentioned above BG Bernhard BG From: Bernhard Gschaider bgschaid_li...@ice-sf.at Subject: BG Re: [CentOS] Performance problems with XFS on Centos 5.4 To: BG CentOS mailing list centos@centos.org Date: Mon, 12 Apr 2010 BG 18:22:24 +0200 Organization: ICE Stroemungsforschung Reply-To: BG CentOS mailing list centos@centos.org On Fri, 9 Apr 2010 10:59:02 -0400 RW == Ross Walker rswwal...@gmail.com wrote: RW On Apr 9, 2010, at 9:59 AM, Bernhard Gschaider RW bgschaid_li...@ice- sf.at wrote: Hi! During the last weeks I experienced some performance problems with a large file-system on XFS basis. Sometimes for instance ls is painfully. Immidiatly afterwards ls on the same directory is immidiate. I used strace on this ls and found that during the first ls the lstat-calls need approx 0.02s each while during the second ls the are two orders of magnitude faster. Googling around I stumbled upon some messages similar like this http://www.opensubscriber.com/message/linux-...@oss.sgi.com/1355060.html which have in common a) they're from around 2006 b) they suggest to increase a mount-option ihashsize. This mount option is listed as deprecated in the current kernel-doc So my question: does anyone have experience with that kind of performance problem? Do you think it is a XFS problem or are there some other tuning parameters in the kernel that could be modified for instance via /proc? The reason why I'm asking here is that it is a production file-system so I would be very unpopular if I experiment too much (a couple of reboots is OK ;) ) Bernhard PS: the situation got worse during the last weeks when the file-system increased in size, so the option that some kind of buffer now is too small and I'm experiencing some kind of thrashing seems very likely to me RW Are you defragging the file system regularly? BG Uups. Never occured to me (Fragmentation is s Windoze) BG Had a look: xfs_db frag BG actual 6349355, ideal 4865683, fragmentation factor 23.37% BG This seems significant. RW How much memory do you have in the system and how big is the RW file system? BG Memory on the system is 4Gig (2 DualCore Xenons). The BG filesystem is 3.5 TB of which 740 Gig are used. Which is the BG maximum amount used during the one year that the filesystem is BG being used (that is why the high fragmentation amazes me) RW What are the XFS parameters for the file system? BG Is this sufficent? BG % xfs_info /raid meta-data=/dev/VolGroup00/LogVol05 isize=256 BG agcount=32, agsize=29434880 blks = sectsz=512 attr=0 data = BG bsize=4096 blocks=941916160, imaxpct=25 = sunit=0 swidth=0 BG blks, unwritten=1 naming =version 2 bsize=4096 log =internal BG bsize=4096 blocks=32768, version=1 = sectsz=512 sunit=0 blks, BG lazy-count=0 realtime =none extsz=4096 blocks=0,
Re: [CentOS] 12-15 TB RAID storage recommendations
I would like to build a 12-15 TB RAID 5 data server to run under ContOS. Any recommendations as far as hardware, configuration, etc? This comes up often:) Things to keep in mind when using large discs if you suffer a failure, while rebuilding in a degraded state it's not impossible or unlikely to drop another disc loosing it all. Rebuild times especially on busy arrays with large discs take lots of time... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
On Tue, Apr 13, 2010 at 2:30 PM, Joseph L. Casale jcas...@activenetwerx.com wrote: I would like to build a 12-15 TB RAID 5 data server to run under ContOS. Any recommendations as far as hardware, configuration, etc? This comes up often:) Things to keep in mind when using large discs if you suffer a failure, while rebuilding in a degraded state it's not impossible or unlikely to drop another disc loosing it all. Rebuild times especially on busy arrays with large discs take lots of time... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thanks Joseph! In your opinion, if we are talking about 15 2-TB disks what does lots of time translate to? Boris. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
Joseph L. Casale wrote: Rebuild times especially on busy arrays with large discs take lots of time... Unless you have a good storage system.. a blog entry I wrote last year: http://www.techopsguys.com/2009/11/24/81000-raid-arrays/ Another one where I ripped into Equallogic's claims: http://www.techopsguys.com/2010/03/26/enterprise-equallogic/ Just checked my array again, nearly 200,000 RAID arrays on it, makes for a massively parallel many:many RAID rebuild for fast recovery times with *no* service impact. Course this stuff may be out of the OP's budget, but just keep in mind that there are such systems on the market. IBM XIV is another such system, though it's scalability is too limited to be useful IMO (~180 drives max). You'd have to pull my toenails out with a rusty pair of pliers before I go back to crap storage. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ClamAV clamscan command using huge amount of RAM
on 4-13-2010 9:56 AM Sean Carolan spake the following: We have a perl cgi script that accepts uploaded files and runs clamscan on them. While observing the system performance I noticed that each clamscan process consumes up to 250MB of RAM. Is this normal for ClamAV? This seems like an enormous amount of RAM, for simply scanning one file for viruses. If you do this quite often, you might be better running the clamd daemon and then using clamdscan instead... One copy of sigs is loaded, and it stays fairly constant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
2010/4/13 Boris Epstein borepst...@gmail.com: Hello listmates, I would like to build a 12-15 TB RAID 5 data server to run under ContOS. Any recommendations as far as hardware, configuration, etc? how about hitachi SMS 100 ? it is about that size and cost effective iscsi solution? -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
Boris Epstein wrote: On Tue, Apr 13, 2010 at 2:30 PM, Joseph L. Casale jcas...@activenetwerx.com wrote: I would like to build a 12-15 TB RAID 5 data server to run under ContOS. Any recommendations as far as hardware, configuration, etc? This comes up often:) Things to keep in mind when using large discs if you suffer a failure, while rebuilding in a degraded state it's not impossible or unlikely to drop another disc loosing it all. Rebuild times especially on busy arrays with large discs take lots of time... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thanks Joseph! In your opinion, if we are talking about 15 2-TB disks what does lots of time translate to? well, IF your controller totally screams and can rebuild the drives at wire speeds with full overlap, you'll be reading 7 * 2TB of data at around 100MB/sec average and writing the XOR of that to the 8th drive in a 8 spindle raid5 (14tb total). just reading one drive at wirespeed is 2000,000MB / 100MB == 20,000 seconds, or about 5.5 hours, so thats about the shortest it possibly could be done. if you have any access activity during this rebuild, you can figure on nearly doubling that before you even get warm. if the controller can't actually move 800MB/sec internally (believe me, that ain't easy), then you can double or quadruple it a few more times. This 5.5 hours could easily stretch to a week. ANY previously unnoticed bad sector on those other 7 drives renders the whole pile bad, so doing weekly raid sweeps is probably a good thing, except THOSE will take some multiple of 5.5 hours when run in the background. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
John R Pierce wrote: well, IF your controller totally screams and can rebuild the drives at wire speeds with full overlap, you'll be reading 7 * 2TB of data at around 100MB/sec average and writing the XOR of that to the 8th drive in a 8 spindle raid5 (14tb total). just reading one drive at wirespeed is 2000,000MB / 100MB == 20,000 seconds, or about 5.5 hours, so thats about the shortest it possibly could be done. More likely your looking at 24+ hours, because really no disk system is going to read your SATA disks at 100MB/second. If your really lucky perhaps you can get 10MB/second. With the fastest RAID controllers in the industry my own storage array(which does heavy amounts of random I/O) averages about 2.2MB/second for a SATA disk, with peaks at around 4MB/second. Our previous storage array averaged about 4-6 hours to rebuild a RAID 5 12+1 array with 146GB 10k RPM disks, on an array that was in excess of 90% idle. Rebuilding a 400GB SATA-I array often took upwards of 48 hours. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
On Apr 13, 2010, at 11:57 AM, nate wrote: John R Pierce wrote: well, IF your controller totally screams and can rebuild the drives at wire speeds with full overlap, you'll be reading 7 * 2TB of data at around 100MB/sec average and writing the XOR of that to the 8th drive in a 8 spindle raid5 (14tb total). just reading one drive at wirespeed is 2000,000MB / 100MB == 20,000 seconds, or about 5.5 hours, so thats about the shortest it possibly could be done. More likely your looking at 24+ hours, because really no disk system is going to read your SATA disks at 100MB/second. If your really lucky perhaps you can get 10MB/second. With the fastest RAID controllers in the industry my own storage array(which does heavy amounts of random I/O) averages about 2.2MB/second for a SATA disk, with peaks at around 4MB/second. Our previous storage array averaged about 4-6 hours to rebuild a RAID 5 12+1 array with 146GB 10k RPM disks, on an array that was in excess of 90% idle. Rebuilding a 400GB SATA-I array often took upwards of 48 hours. nate For a real life example, we have a 3 year old 12x 1TB SATA box using an Adaptec RAID controller, doing RAID 6 that takes about 3 days to rebuild the array each time a drive fails. Which, to date, has happened 10 times... (Fortunately, this is only a BackupPC box.) FWIW, we've not experienced a second drive failure during the rebuild process, yet. But we have had drives fail within a few weeks of each other, so it's probably going to happen one of these days.. -- Don Krause Head Systems Geek, Waver of Deceased Chickens. Optivus Proton Therapy, Inc. www.optivus.com This message represents the official view of the voices in my head. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
Those drives are likely fading out of the array because they aren't meant to be in arrays in the first place, Adaptec has told us that if you use consumer drives with their cards you are operating at your own risk. -Drew -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Don Krause Sent: Tuesday, April 13, 2010 3:20 PM To: CentOS mailing list Subject: Re: [CentOS] 12-15 TB RAID storage recommendations On Apr 13, 2010, at 11:57 AM, nate wrote: John R Pierce wrote: well, IF your controller totally screams and can rebuild the drives at wire speeds with full overlap, you'll be reading 7 * 2TB of data at around 100MB/sec average and writing the XOR of that to the 8th drive in a 8 spindle raid5 (14tb total). just reading one drive at wirespeed is 2000,000MB / 100MB == 20,000 seconds, or about 5.5 hours, so thats about the shortest it possibly could be done. More likely your looking at 24+ hours, because really no disk system is going to read your SATA disks at 100MB/second. If your really lucky perhaps you can get 10MB/second. With the fastest RAID controllers in the industry my own storage array(which does heavy amounts of random I/O) averages about 2.2MB/second for a SATA disk, with peaks at around 4MB/second. Our previous storage array averaged about 4-6 hours to rebuild a RAID 5 12+1 array with 146GB 10k RPM disks, on an array that was in excess of 90% idle. Rebuilding a 400GB SATA-I array often took upwards of 48 hours. nate For a real life example, we have a 3 year old 12x 1TB SATA box using an Adaptec RAID controller, doing RAID 6 that takes about 3 days to rebuild the array each time a drive fails. Which, to date, has happened 10 times... (Fortunately, this is only a BackupPC box.) FWIW, we've not experienced a second drive failure during the rebuild process, yet. But we have had drives fail within a few weeks of each other, so it's probably going to happen one of these days.. -- Don Krause Head Systems Geek, Waver of Deceased Chickens. Optivus Proton Therapy, Inc. www.optivus.com This message represents the official view of the voices in my head. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
On Tue, 13 Apr 2010, Boris Epstein wrote: Hello listmates, I would like to build a 12-15 TB RAID 5 data server to run under ContOS. Any recommendations as far as hardware, configuration, etc? Thanks. Boris. Smaller volumes is best, but really it depends on your I/O type as well. I have 15TB volumes loaded with medical imaging data that happily run and fsck just fine. We've had a couple of disk failures and the MD 3000 and MD1000 units handled this just fine taking around 26 hours to sync 1TB drives. The file system here is XFS On the other hand, I have natural language data sets which are millions of small files residing on a 4.5TB EXT4 file system. This file system has had a problem and to this day I still cannot perform a file system check to correct the errors because the e4fsck program chews up more than 42GB of memory and then dies. For details check out. https://bugzilla.redhat.com/show_bug.cgi?id=570639 What I'm trying to say is, understand your usage patterns. Large streaming files is far less intensive on the controller then millions of small files. Understand your hardware and what it is capable of in each configuration. RAID-0 vs 5 vs 6 vs 10. It is incredibly important. Understand your file system. Figure out what file system works best for your workload, how it functions and how the underlying hardware needs to be configured to maximize throughput. That is all for now. ;) -- James A. Peltier Systems Analyst (FASNet), VIVARIUM Technical Director HPC Coordinator Simon Fraser University - Burnaby Campus Phone : 778-782-6573 Fax : 778-782-3045 E-Mail : jpelt...@sfu.ca Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca http://blogs.sfu.ca/people/jpeltier MSN : subatomic_s...@hotmail.com TEAMWORK There's power in numbers. Learn to work together. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
Just finished building a new server for inhouse use. 12.8TB Needed a nfs and samba server which could store 10TB and be reliable. Also wanted to replace out DHCP server and our internal DNS server. So needed to run dnsmasq plus ntp for time serving. This machine replace 3 older units. We used a Supermicro 3U case with 15 sata shuttles and 2N+1 760 Watt PS. On ebay for 300.00 Used a Supermicro H8DME-2 MB cause I had one sitting around. If I was going to buy one it would have been a Tyan S2932G2NR-SI for reliability (we have sold a bunch of these and they always work) Installed dual AMD 2382's and 16 GB DDR2-800 RECC plus 4 wire HSF's. Went to the 3ware online store and purchased a 9550SXU-16ML with the breakout cables for 340.00 Yes, I know its PCI-X. It was inexpensive and it runs almost as fast as the 9650 series at twice the price. Installed 15 pcs of the WD1001FALS disks. Very reliable and low cost even though they are desktop drives. Used these since we always have 3 on the shelf as spares and WD turns a bad one around in about 5 days. We have installed over 200 of these drives in raid arrays and have had 2 fail in the last 6 months. BTW, Initializing took 8 hours not days. Set it up as a Raid 5 array with one hot spare and autorebuild. Have tested it with both Centos 5.4 x86_64 and OpenSUSE 11.1 x86_64. Also installed an LSI SCSI card and a Sony AIT-5 Tape drive with Bacula for data backup and recovery. Again, all worked fine and the machine was able to do backups and keep a GigE connection saturated. Using an in house piece of code called disktest we are seeing 268 MB / sec on writes and 347 MB / sec on reads using 32 GB test files, 131K buffer sizes and single threading. If you would like to see a system that is almost identical, have a look at Coraid.com. They use a dual xeon and a BSD custom kernel. Hope this config helps.. Seth Bardash Integrated Solutions and Systems LLC s...@integratedsolutions.org Failure cannot survive knowledge and perseverance! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ClamAV clamscan command using huge amount of RAM
Sean Carolan wrote on Tue, 13 Apr 2010 11:56:55 -0500: We have a perl cgi script that accepts uploaded files and runs clamscan on them. While observing the system performance I noticed that each clamscan process consumes up to 250MB of RAM. Is this normal for ClamAV? This seems like an enormous amount of RAM, for simply scanning one file for viruses. Change to clamd (use clamdscan). Yes, clamscan needs quite a bit of RAM. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
They weren't supposed to be consumer drives. The box was provided by the vendor of a disk-disk-tape backup system. They are Western Digital Enterprise RE2-GP drives. I wouldn't purchase them again, thanks for asking... Not that this provides any real info to the OP, other than the time it takes to rebuild the array. =Don= On Apr 13, 2010, at 12:24 PM, Drew Weaver wrote: Those drives are likely fading out of the array because they aren't meant to be in arrays in the first place, Adaptec has told us that if you use consumer drives with their cards you are operating at your own risk. -Drew -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Don Krause Sent: Tuesday, April 13, 2010 3:20 PM To: CentOS mailing list Subject: Re: [CentOS] 12-15 TB RAID storage recommendations On Apr 13, 2010, at 11:57 AM, nate wrote: John R Pierce wrote: well, IF your controller totally screams and can rebuild the drives at wire speeds with full overlap, you'll be reading 7 * 2TB of data at around 100MB/sec average and writing the XOR of that to the 8th drive in a 8 spindle raid5 (14tb total). just reading one drive at wirespeed is 2000,000MB / 100MB == 20,000 seconds, or about 5.5 hours, so thats about the shortest it possibly could be done. More likely your looking at 24+ hours, because really no disk system is going to read your SATA disks at 100MB/second. If your really lucky perhaps you can get 10MB/second. With the fastest RAID controllers in the industry my own storage array(which does heavy amounts of random I/O) averages about 2.2MB/second for a SATA disk, with peaks at around 4MB/second. Our previous storage array averaged about 4-6 hours to rebuild a RAID 5 12+1 array with 146GB 10k RPM disks, on an array that was in excess of 90% idle. Rebuilding a 400GB SATA-I array often took upwards of 48 hours. nate For a real life example, we have a 3 year old 12x 1TB SATA box using an Adaptec RAID controller, doing RAID 6 that takes about 3 days to rebuild the array each time a drive fails. Which, to date, has happened 10 times... (Fortunately, this is only a BackupPC box.) FWIW, we've not experienced a second drive failure during the rebuild process, yet. But we have had drives fail within a few weeks of each other, so it's probably going to happen one of these days.. -- Don Krause Head Systems Geek, Waver of Deceased Chickens. Optivus Proton Therapy, Inc. www.optivus.com This message represents the official view of the voices in my head. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
On Tuesday 13 April 2010, Drew Weaver drew.wea...@thenap.com wrote: Those drives are likely fading out of the array because they aren't meant to be in arrays in the first place, Adaptec has told us that if you use consumer drives with their cards you are operating at your own risk. Every hard drive dies. It's just a matter of when. -- No animals were harmed in the recording of this episode. We tried but that damn monkey was just too fast. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
Unless you have a good storage system.. a blog entry I wrote last year: http://www.techopsguys.com/2009/11/24/81000-raid-arrays/ Another one where I ripped into Equallogic's claims: http://www.techopsguys.com/2010/03/26/enterprise-equallogic/ Lol, Nate... The op was looking at spending a few grand, not a few million you show off:) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
On 4/13/2010 1:38 PM, Les Mikesell wrote: On 4/13/2010 2:29 PM, Seth Bardash wrote: Just finished building a new server for inhouse use. 12.8TB Needed a nfs and samba server which could store 10TB and be reliable. Also wanted to replace out DHCP server and our internal DNS server. So needed to run dnsmasq plus ntp for time serving. This machine replace 3 older units. I'm not sure I'd put those on the same box - at least not for most scenarios. If the machine ever goes down and needs an fsck before coming up, your DNS and DHCP services are going to be down for a long time while it completes, killing the rest of your network. too. No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.801 / Virus Database: 271.1.1/2808 - Release Date: 04/13/10 00:32:00 Point Taken and correct!! I always have 2 DNS / DHCP / NTP servers up. One running, one just a service xxx start away. Since we need an inhouse use web server for testing before we go live we use that machine as the standby. Seth Bardash Integrated Solutions and Systems LLC s...@integratedsolutions.org Failure cannot survive knowledge and perseverance! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Cluster Suite Question
A while back I posted a question in the Linux-Cluster list and never got a reply. I am hoping maybe someone here has any insight? I have a service that I have changed the default from restart to relocate. Now I need to add one more script resource to it, but this script resource is not essential, and if it tanks, a restart will certainly be sufficient so I assume I have to create another service so I can tune the Restart Policy Extensions for it, whereas the Recovery Policy for the original remains as Relocate. I have looked all through the wiki and net, but I can't see how to group or tie services together so they always follow each other around? These two services can't be on distinct nodes, anyone have any ideas? Thanks, jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
Joseph L. Casale wrote: Unless you have a good storage system.. a blog entry I wrote last year: http://www.techopsguys.com/2009/11/24/81000-raid-arrays/ Another one where I ripped into Equallogic's claims: http://www.techopsguys.com/2010/03/26/enterprise-equallogic/ Lol, Nate... The op was looking at spending a few grand, not a few million you show off:) million? Nowhere close to that, you can get a 12-15TB system(raw) in the ~$130-150k range (15k RPM). If you want SATA instead say $80k. Few million and you can get a world record breaker array with more than a thousand drives(15k RPM) and loaded with all the software they have. The capabilities of the system is the same from the low end to the high end the only difference is scale really. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Next Newsletter release
On 13/04/2010 14:37, Timothy Murphy wrote: I was under the impression that Tim was asking if this was a Linux newsletter, or CentOS, or StarWars, the newsletter, or? Quite. Have I missed 1002 other newsletters? [Hint: an URL would be useful.] Oh, I am sorry. I am talking about the CentOS Newsletter [1]. Only the editors can see the current working version [2]. Cheers Didi [1] http://wiki.centos.org/Newsletter [2] http://wiki.centos.org/Newsletter/1003 -- Hoffmann Geerd-Dietger http://contact.ribalba.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
2010/4/13 nate cen...@linuxpowered.net: Joseph L. Casale wrote: Unless you have a good storage system.. a blog entry I wrote last year: http://www.techopsguys.com/2009/11/24/81000-raid-arrays/ Another one where I ripped into Equallogic's claims: http://www.techopsguys.com/2010/03/26/enterprise-equallogic/ Lol, Nate... The op was looking at spending a few grand, not a few million you show off:) million? Nowhere close to that, you can get a 12-15TB system(raw) in the ~$130-150k range (15k RPM). If you want SATA instead say $80k. err. you can get hitachi sms 100 with sata drives for about 9000e including 3 year maintenance. -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
Eero Volotinen wrote: err. you can get hitachi sms 100 with sata drives for about 9000e including 3 year maintenance. Yes, and you get what you pay for with that.. As I mentioned earlier myself I won't go back to crap storage after seeing the light.. Even Hitachi AMS 2k series doesn't compare. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 12-15 TB RAID storage recommendations
They weren't supposed to be consumer drives. The box was provided by the vendor of a disk-disk-tape backup system. They are Western Digital Enterprise RE2-GP drives. I wouldn't purchase them again, thanks for asking... snip Dunno 'bout them, but I *really* don't like Seagate Barracudas. Three times now, in the last 15 years, they've shoved new models out that did *not* meet q/c, and it took them a year or two to fix the problems. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] iTunes on CentOS??
Anyone know how to download and play stuff from itunes.apple.com (without having to use Windows or Mac)? -- Find research and analysis on US healthcare, health insurance, and health policy at: http://healthpolicydaily.blogspot.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] iTunes on CentOS??
On 04/13/2010 05:08 PM ken wrote: Anyone know how to download and play stuff from itunes.apple.com (without having to use Windows or Mac)? Apparently iTunes installs and runs on wine. I'm gonna try that. Stay tuned (but not necessarily iTuned). yuk yuk yuk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Disappearing DNS entry
CentOS 4.8, BIND 9.2.4, DHCP 3.0.1 Hi All: I have a rather perplexing problem where the DNS entry in BIND for one of my network printers sporadically disappears from our zone file (but not the reverse zone file). We have four Lexmark printers connected locally over our internal LAN using static IP addresses. We have 3 T640n printers and a T642n printer and it is only the T642n printer that this is happening to. I thought I had it licked when I discovered that both DDNS and mDNS were enabled on this printer but not the others, however disabling those has had no effect. We do use DHCP for the bulk of our Windows workstations and DHCP is configured to update the DNS server and this appears to work fine (once I disabled all the Register this connection's address in DNS options on the workstations). I have found one suspicious entry in /var/log/messages: Apr 12 17:34:14 fisds0 named[5210]: client 192.168.2.7#10242: updating zone 'forsoft.com/IN': deleting an RR This would seem to indicate that the printer itself has issued the request to the DNS server but for the life of me I cannot see what might be doing it. Has anyone encountered something similar and can point me in the right direction? TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] centos 5.3x64 iso
Hi all, My 5.3 DVD is ruined and the 5.4 installer won't run on my box w/o errors (uts not the disk, something to do with the installer itself). I usually just install 5.3 and then yum it to 5.4. Does any one know were I can find a 5.3x64 iso file? - aurf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centos 5.3x64 iso
On 4/13/2010 6:12 PM, aurfal...@gmail.com wrote: Hi all, My 5.3 DVD is ruined and the 5.4 installer won't run on my box w/o errors (uts not the disk, something to do with the installer itself). I usually just install 5.3 and then yum it to 5.4. Does any one know were I can find a 5.3x64 iso file? - aurf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos http://vault.centos.org has all you need. -- Ryan Manikowski ]] Devision Media Services LLC [[ www.devision.us r...@devision.us | 716.771.2282 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centos 5.3x64 iso
Does any one know were I can find a 5.3x64 iso file? http://vault.centos.org has all you need. -- Ryan Manikowski Wow! Yoda mang! Tnx much Ryan. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Disappearing DNS entry
From: Hugh E Cruickshank Sent: April 13, 2010 15:07 I have found one suspicious entry in /var/log/messages: Apr 12 17:34:14 fisds0 named[5210]: client 192.168.2.7#10242: updating zone 'forsoft.com/IN': deleting an RR This would seem to indicate that the printer itself has issued the request to the DNS server but for the life of me I cannot see what might be doing it. One additional piece of information... It appears that I had not set the DNS server and NTP server correctly on all four printers and they were running with a very old date (would you believe 1970?). I have since ensured that all four printers now have the correct DNS server IP address, the host name of our local NTP server, the correct time zone and that they all now have the correct current date and time via NTP. I am not sure if this would have had anything to do with the DNS issue but it was something that was obviously wrong and needed to be fixed. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XFS-filesystem corrupted by defragmentation Was: Performance problems with XFS on Centos 5.4
On Apr 13, 2010, at 2:06 PM, Bernhard Gschaider bgschaid_li...@ice-sf.at wrote: Just to close this thread and remove any doubt that it might have raised about XFS: the problem was a PEBCAB[1] It was pointed out to me on the XFS-list that the device I used for xfs_db was inconsistent with the info from xfs_info (I was blindly copying the device from the output of df) Footnotes: [1] PEBCAB: Problem exists between chair and keyboard Sorry I wasn't reading the list for a few days and when I saw the problem you had I was like holy sh!t, I'm glad it turned out to be a non-issue. Did defragging help? Can you give me the layout of your disks, chunk size, how many (I think you said it was raid5?) so I can verify the sunit and swidth values are correct? -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Disappearing DNS entry
On Tue, Apr 13, 2010 at 6:07 PM, Hugh E Cruickshank h...@forsoft.com wrote: I have found one suspicious entry in /var/log/messages: Apr 12 17:34:14 fisds0 named[5210]: client 192.168.2.7#10242: updating zone 'forsoft.com/IN': deleting an RR This would seem to indicate that the printer itself has issued the request to the DNS server but for the life of me I cannot see what might be doing it. This means a couple things. First, your zone is configured to allow dynamic DNS updates, which can be okay, but usually you don't want this for a zone containing fixed records. Second, it means that client updates is allowed. This can be bad, and generally when I set up dynamic DNS zones, I only allow updates from the dhcp server (usually the same box, so it's restricted to localhost doing the updating). Essentially your printer is trying to update its record and removing the old one, but not publishing the right one, either through permissions or some other reason. Has anyone encountered something similar and can point me in the right direction? How do you have your zones and/or dhcp server configured? Can you sanitize them enough to post them? -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Slightly OT: which hardware for CentOS file server (Samba, 2 To storage, 50 users)?
its always strange to see that people want cheap servers. Let me tell you it will NEVER pay off. 50 people will kill a low end thing, especially if you want to do software based RAID, the throughput that is required by that data coming in and out will make you users VERY unhappy and then say CentOS is crap. You need at least some XEON based motherboard, proper ECC RAM and HARDWARE RAID, anything else will not work. That said you can buy decent motherboards from the lower end of INTEL server boards, put a decent CPU into it and get one of the 4 channel Adaptec cards, splitting data and OS onto separate raid channels, they got 2 GB network cards so you can split the throughput in half. I know this works because the small school that I look after has that setup. jobst On Mon, Apr 12, 2010 at 05:53:55PM +0200, Niki Kovacs (cont...@kikinovak.net) wrote: Hi, The language lab from the local university has contacted me. They'd like to have a low-cost file server for storing all their language video files. They have a mix of Windows, Mac OS X and even Linux clients, roughly 50 machines. The files are quite big, and they calculated a total amount of 2 To of storage. I'm not very proficient with hardware, meaning either I'm dealing with remote servers in some datacenter, or otherwise I install CentOS desktops on any hardware people throw at me. Since the aim is lowcost, would it be wrong to install that fileserver on a no-name desktop PC with a 64bit processor and enough RAM, and then simply put 2 x 2 To hard disks in it, either with a mirroring RAID (can never remember which does what in 0, 1 and 5) or some rsync script regularly copying over the first disk to the second? Or do you have something more apt to suggest? Cheers from South France, Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- File not found! Do you want me to fake it? | |0| | Jobst Schmalenbach, jo...@barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Disappearing DNS entry
From: Jim Perrin Sent: April 13, 2010 17:01 This means a couple things. First, your zone is configured to allow dynamic DNS updates, which can be okay, but usually you don't want this for a zone containing fixed records. That was intentional on my part. We have a small network and I did not see any compelling reason not to do it that way. I will look at separating these out in the future. Second, it means that client updates is allowed. This can be bad, and generally when I set up dynamic DNS zones, I only allow updates from the dhcp server (usually the same box, so it's restricted to localhost doing the updating). Again intentional but no longer required. In reviewing the config files in response to your comments I see that had allowed update to the zone file from the entire subnet while only key rndckey for the reverse zone files. That would explain why only the zone file was affected and not the reverse files. I have fixed that now and I think that should resolve my problem. Essentially your printer is trying to update its record and removing the old one, but not publishing the right one, either through permissions or some other reason. Sounds valid. How do you have your zones and/or dhcp server configured? Can you sanitize them enough to post them? I will hold off for now as I believe the change that I have made to named.conf will now avoid the problem. I still do not know why only the one printer was affected but the change should avoid the problem. Some day when I have some free time (yeah right!) I am try to figure what the actual cause is. Thanks very much for your comments, they are greatly appreciated. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos