Re: [CentOS-es] Re: servidor squid
Revisa tus DNS, ya q si los clientes apuntan directamente a los dns externos, sobrecargaras el router. Message: 1 Date: Tue, 31 Jul 2007 14:10:37 -0500 From: Francisco Santos [EMAIL PROTECTED] Subject: [CentOS-es] servidor squid Buen dia lista aqui solicitando de su ayuda les cuento mi problema tengo un servidor linux en el cual corre los servicios de apache, php, mysql, dhcp, bind, squid, firewall, entre otros mi problema biene cuando despues de varios dias de estar encendido el internet se empieza a poner extremadamente lento tanto asi que a veces es imposible navegar para las maquinas clientes... tengo muy restringido el internet por lo que no creo que sea por ancho de banda tengo el servicio de adsl 2048 kbps el hardware del servidor es el siguiente p4 ht 3.0 ghz 2 tarjetas de red gigabit 10/100/1000 1 gb de memoria ddr2 hdd s-ata 10,000 rpm 160gb ahora lo que me llama la atencion es que cuando el servidor esta recien iniciado la memoria esta en 300 o 400 megas y conforme pasan los dias se va hasta cerca de 1 gb y por nada puedo hacer bajar el consumo de memoria... los demas servicios no me dan ningun problema solo el internet que esta compartido con squid ... ahora cuando me dicen que esta lento el internet he tratado de ir bajando los servicios para ver si alguno es el que ocaciona el problema pero aunque tenime squid bind y baje las dos tarjetas de red y las vuelva a levantar el problema persiste hasta que reincio el server... otra cosa que he notado es que aunque apague todos los servicios cuando le doy un netstat todavia siguen muchas conexiones abiertas y estoy empezando a pensar que puede ser que por eso tenga tanto consumo de memoria quizas no se estan cerrando las conexiones y todas quedan activas hay alguna manera de decirle al kernel ke cierre todas las conexiones??? bueno espero alguien me heche la mano por que ya no se por donde buscar -- Hace algún tiempo tuve un problema similar durante 2 o 3 meses, conforme transcurria el tiempo la conexión a internet se hacia cada vez mas lenta (tengo Centos 4.3, Squid, Iptables,etc.) hasta que finalmente no conectaba, la única solución era reiniciar el router (Zyxel Prestige 643, Ip fija, VPN) o el servidor, mirando el acces.log del squid no había nada inusual, tampoco en la red. Revisando la conexión del router vimos que conforme transcurria el tiempo se iba perdiendo la conexión. Llamamos a los de Telefónica y tuvieron que hacer el cambio de los cables de acometida. Aunque no me dieron muchas explicaciones me indicaron que en la Central de Telefónica habían hecho modificaciones físicas en las conexiones de la red de telefónos y se habian equivocado en la conexión (fisica) que teníamos nosotros. Al hacer un test desde el router los paquetes de envio salian normal pero los de recepción poco a poco se iban perdiendo. En resumen luego de la revisión y los cambios que supestamente hicieron en Telefonica ya no se volvio a presentar el mismo problema, demas esta decir que incluso recomendaron el cambio de router y la reinstalación del Servidor, cosa que no fue necesaria. Lo comento por si sirve en algo de ayuda. Saludos José A. Sabastizagal Orellana ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] transmición de videos en CentOS
O. T. Suarez wrote: Hola: On 7/31/07, Ing. Ernesto Pérez Estévez [EMAIL PROTECTED] wrote: En la faq [1] dice literalmente: What is Icecast? el icecast te permite emitir un stream de video y/o audio a través de él. Viene siendo el servidor. Puede emitir en formato OGG o NSV. ahora, herramientas para codificar hay varias.. quizá deban intentar con el NSVTools (no es open source) o pueden intentar con alguna herramienta que permita codificar en ogg (por ejemplo el vlc) saludos epe -- Ing. Ernesto Pérez Estévez http://www.ecualinux.com/ USA: +1 305 359 4495 / España: +34 91 761 7884 Ecuador: +593 2 341 2402 / + 593 9 9246504 Mexico: +52 55 1163 8640 / Italia: +39 06 916504876 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] transmición de videos en
O. T. Suarez wrote: Hola: On 7/31/07, Ing. Ernesto Pérez Estévez [EMAIL PROTECTED] wrote: En la faq [1] dice literalmente: What is Icecast? el icecast te permite emitir un stream de video y/o audio a través de él. Viene siendo el servidor. Puede emitir en formato OGG o NSV. ahora, herramientas para codificar hay varias.. quizá deban intentar con el NSVTools (no es open source) o pueden intentar con alguna herramienta que permita codificar en ogg (por ejemplo el vlc) saludos epe Vale y nadie mas conoce otro soft para LINUX o CentOS que sirva para la transmision de videos ¿?¿?¿? y si han tenido experiencias con el mejor aun -- Este mensaje ha sido analizado por MailScanner en busca de virus y otros contenidos peligrosos, y se considera que está limpio. MailScanner agradece a transtec Computers por su apoyo. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] transmición de videos en
Hola: Vale y nadie mas conoce otro soft para LINUX o CentOS que sirva para la transmision de videos ¿?¿?¿? y si han tenido experiencias con el mejor aun Pudieras revisar el flumotion, no lo habia mencionado porque nunca lo he podido trabajar. Una vez lo estuve mirando y tenia una limitacion para lo que yo necesitaba (creo que solo hacia streamings de streamings no de ficheros que era lo que yo estaba buscando, mi problema al final resolvi con un drupal y el modulo de video ;) Saludos Osvaldo ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] Full server restore-point image
On Thursday 02 August 2007 22:26:48 Alain Reguera Delgado wrote: Hi, After some months of configuring and testing a small server, think that would be nice to make a full server restore-point image in order to recover it if something goes wrong in the future, just restoring the image back and not making the full install and configure process all over again. The server uses Logical Volumes. I was thinking on using the CentOS LiveCD and then use dd command to clone all partitions to another storage device. But I have no experience on this. What do you suggest ? I would give partimabge a try. I was using it several times, and it's really simple and efficient. The only problem you can hit is your hardware RAID controller not being recognized. You can make images of partitions, and recover them (even to disks with different geometry) easily. Regards, -- Tomasz Napierala System Administrator Allegro Team http://www.allegro.pl/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
On Thursday 02 August 2007 16:56:46 Ray Leventhal wrote: As it will be a production server and this is my first foray into CentOS/SELinux in a production environment I was hoping to get a recommended list of what to include and, more specifically, what *not* to include from the distro CDs I will be doing a text based install, hoping to avoid the installation of X. Other than BIND and vsftpd, I don't think I need much. This machine will be pulling zone files from my primary web server and storing some archive files and backups for me. I'm dilligently R`ingTFMs, and will continue to I'd sure be appreciative of any jumpstart help and/or any pitfalls of which to be cognizant. Apart from installation, I would suggest using PowerDNS as a secondary DNS. It's not only robust, fast and secure, but also has very interesting capability of automated zones depolying (espacially usefull for secondary NS). I'm using it on all my secondary nameservers, and that's saving me lot of time. Regards, -- Tomasz Napierala System Administrator Allegro Team http://www.allegro.pl/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
snip I'm coming in late to this thread. We too are a hosting provider (small time), hosting approximately 1600 live domains. Not to say tinydns is a bad alternative, as it has it's strengths, but we moved away from [outgrew] it 2 years ago. If you were already running Bind, CentOS 5 is a great platform. I run a few multi-domain (3-10) slaves using a chrooted Bind for a couple offsite clients. Fine for small number of domains. Short term, I'd recommend just getting another Bind install up and running to fix your issue, THEN look at alternatives. I've personally used PowerDNS, TinyDNS, MyDNS, nsd, Bind 8/9, and MS DNS. PowerDNS is phenomenal. Look into the proprietary supermaster/superslave functionality. To manage the 1600+ domains, we have our primary server setup using a MySQL backend. This allows simple integration of our accounting and support systems. The slaves are using sqlite3 backends. One word of caution, while a superslave may automatically add a new domain, it will not remove domains deleted at the master. I've solved this by removing all non NS/SOA records from that domain and updating the serial on the master - so changes propagate to slaves. Then have a cronjob running that purges empty domains from the databases on the master and slaves. Also, I've found the PowerDNS RPM's located at the EPEL repo to be completely stable. They even have the backends broken out separately. Lastly, I don't know about you, but I hate giving shell access where it's not needed ... especially to support staff under a Tier3 level. So I use Pure-FTPD running virtual users and an FTPS (not SFTP) client like lftp or filezilla for transfers. If I need a higher level of security then I use rsync over SSH. Forgive me for being so verbose. :-) -ken Overly Verbose? Not at all, Ken. I am thrilled to hear of your experiences and was, actually, intending to do a straight BIND install first as it's what I'm most familiar with at this time. I certainly have a lot of material to review before making the leap away from BIND proper, but that I now know what that material is, at least in part, is a blessing. Please be verbose as you'd like. I, for one, truly appreciate it. Thanks again, ~Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kmod-drbd-smp (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd not).
On Fri, 2007-08-03 at 13:49 +0200, Martin Hamant wrote: Le Tue, 31 Jul 2007 14:16:54 +0200 Martin Hamant [EMAIL PROTECTED] écrivait: (snip) I don't know how it's possible to improve this, maybe a yum plugin which could detect any drbd modules and if it's matches with any installed kernels... what do you think ? Thanks to you :) Hmm in other words, I can contribute if something started to improve the system ;) I have written a plugin to carry over modules that are kabi compatible if no new package was found to cover for the module for a new kernel. The latest alpha version is available from: http://people.centos.org/~daniel/code/yum/3.0/yum-kmodorphans/ Please don't use this for production machines! There are still some glitches that need fixing, and the policy of what to handle still has to be finalized. -- Daniel ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kmod-drbd-smp (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd not).
Le Tue, 31 Jul 2007 14:16:54 +0200 Martin Hamant [EMAIL PROTECTED] écrivait: (snip) I don't know how it's possible to improve this, maybe a yum plugin which could detect any drbd modules and if it's matches with any installed kernels... what do you think ? Thanks to you :) Hmm in other words, I can contribute if something started to improve the system ;) Cheers -- Martin Hamant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] command for dhcp client
Is there a command that says DONT use the ifcfg-eth0 setting(s) that basically have a static address and start the network in DHCP. I dont want to disturb the static settings in ifcfg-eth0 or re-enter them once my DHCP setting is done... I just want to temporarily run with DHCP (I'm on different network than the static setup). dhclient eth0 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] where the problem
Hi Simon, You can post your maillog of the CentOS? []s Daniel Bruno On 8/3/07, simon [EMAIL PROTECTED] wrote: Dear All I have jus migrated to centos 5 and jus wondering why n where this problem could be server A which is running for the past 2 years used as my primary dns and mail server redhat linux 8 sendmail ver-8.12.5-7 bind ver -9.2.1-9 since the server is old and is prone to all security problems i have a new machine which i have installed the following and will replace my existing redhat dns + mail server centOS 5 bind-9.3.3-8.el5 sendmail-8.13.8-2.el5 mailscanner latest spam assassin + clamav - latest dkim filter plus the lastest updates now when i send a mail to my yahoo account from my old redhat server it goes fine to inbox I disconect my old red hat server cable and plug it new centos server since both have the same IP's and when i send a mail from the centos server it goes to yahoo bulk mail and not to inbox receving is fine with both server i am jus wondering why. even i see the DKIM filter inserts a global key ( text record of my DNS ) in my mail logs and also in the yahoo when i see full headers in yahoo apprecite if someone could help me thnks and regards simon -- Network Administrator -- Network Administrator ___ 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
[CentOS] tomcat error on x86_64 with 2.6.18-8.1.8.el5xen jre 1.6.*
I get the same error as this person: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=9349 Like the poster, I get the error with tomcat 6.0.13 on x86_64, kernel 2.6.18-8.1.8.el5xen and both jre 1.6.0_01 and 1.6.0_02 When I revert to jre 5u12 on the same kernel, I don't get the problem. If I stay with jre 6, but use kernel 2.6.18-8.el5, I also don't get the error. So it's not clear to me whether this is a java problem or a kernel problem. Any hints? For now, I can use jre 5u12, but I could file a bug if I could figure out which one is actually causing the error. johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
Feizhou wrote: Ray Leventhal wrote: Tomasz Napierała wrote: snip Apart from installation, I would suggest using PowerDNS as a secondary DNS. It's not only robust, fast and secure, but also has very interesting capability of automated zones depolying (espacially usefull for secondary NS). I'm using it on all my secondary nameservers, and that's saving me lot of time. Regards, Thank you Tomasz, I'll have a look at PowerDNS. Much appreciated. Well, if you are willing to look into BIND alternatives, please take a look also at tinydns which is part of the djbdns package. Dead simple format for dns configuration and on-the-fly zone updating are some of its features. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Feizhou, I'm more than willing to look into alternatives, especially when recommended by those more knowledgeable than I (which is *most* of this list, I might add) So, thank you *very* much for that. The machine is slated to go live this weekend so i've clearly got some reading and evaluating to do (on my testbed machine, of course). Thanks again...and again, ~Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 4 vs 5 for VMware?
On Fri, Aug 03, 2007 at 10:24:44AM -0700, Rogelio Bastardo wrote: For stability reasons, I'm running CentOS 4 for VMware (it's the devil I know). Are there any compelling reasons to upgrade to CentOS 5 for it? I'm relatively new to the whole virtualisation scene and perhaps there are some updated packages that might be good for VMware? Seems to run fine on CentOS 5 as well. CentOS 5 kernel lets you exclude some processes from consideration for death by the OOM killer which is kinda nice. :) Of course there are plenty of other settings in the 4 kernel that help keep VMware safe from being accidentally killed. Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: Can't print PDFs or PSs in CentOS 5.0
On 8/2/07, fredex [EMAIL PROTECTED] wrote: I missed earlier postings in this thread, so please allow me to ask: Areyou trying to print with (e.g.) Acroread, or are you trying to print using lpr foo.pdf? Does either (or neither) work? I would be amazed if the lpr command worked - never tried it. Printing directly from Acroread mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: Re: [CentOS] yum-updatesd.conf on centos 5
On Fri, 2007-08-03 at 07:54 -0500, Lanny Marcus wrote: On 02 August 2007, Indunil Jayasooriya [EMAIL PROTECTED] wrote: Hey, Why should I remove ProtectBase ? Whithout removing ProtectBase, Is it NOT proper to install Priorities? I believe it is one or the other. If you decide to change to Priorities, which is recommended on the Wiki, remove ProtectBase, before you install Priorities. priorities and protectbase can coexist, but could lead to confusion for the administrator. I use protectbase as a safety measure for the core repos and priorities for fine-grained control for add-on repos. Johnny's recommendation to use only one may make me re-evaluate this approach. YMMV. Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 4 vs 5 for VMware?
VMware works fine under either 4 or 5, and both 4 and 5 run under VMware on a Linux host, but is your question about CentOS as a host or guest OS? Mostly as the host OS, but I will be running some guest CentOS sessions as well. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 4 vs 5 for VMware?
On Fri, 2007-08-03 at 10:24 -0700, Rogelio Bastardo wrote: For stability reasons, I'm running CentOS 4 for VMware (it's the devil I know). Are there any compelling reasons to upgrade to CentOS 5 for it? I'm relatively new to the whole virtualisation scene and perhaps there are some updated packages that might be good for VMware? VMware works fine under either 4 or 5, and both 4 and 5 run under VMware on a Linux host, but is your question about CentOS as a host or guest OS? Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Re: Can't print PDFs or PSs in CentOS 5.0
On Fri, 2007-08-03 at 00:15 -0400, Ross S. W. Walker wrote: Not in reader, but down at the CUPS setup when you setup your printer originally you probably chose a model from the foomatic database that was close-enough, go back and change that model to HP Deskjet which should provide the lowest level of PCL support that almost all PCL compatible printers should support. If that works then try an HP LaserJet 4 next, if that works then you have a good fall-back. Interesting. I set it to be an HP Deskjet, and it almost worked (clipped a little at the top and bottom of the image). Then I set it for the Minolta HP Laserjet 4d PPD, and that worked. There are some other Minolta drivers that look promising, so I'll play around with it and see what happens. Many, many thanks! mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 4 vs 5 for VMware?
On 8/3/07, Ray Van Dolson [EMAIL PROTECTED] wrote: Also, there is a special kernel that helps out on running VMWare that changes the default speed of the system timer, reducing the LA on the host system especially if your guests are mostly idle. The kernel is available for both 4 and 5. Please look at http://bugs.centos.org/view.php?id=2189 for more info. Very interesting. Wasn't aware of that. Thanks for posting. Have you noticed tangible differences when running stock vs the kernels mentioned there? Ray In my case, the default kernel (1000Hz) produces many lost ticks messages. So far this has not been seen on VM guests running the 100Hz kernel (both i686 and x86_64). There seems to be performance improvement also. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] centos 5 as p2p client
Hello, I'm running centos5. I'm wanting this machine only, none of my other ones, to participate in p2p file sharing, bittorrent, edonkey, maybe other networks. Does anyone have a howto or step by step guide for this? I've installed bittorrent and mldonkey clients, but neither is working, i'm assuming gateway firewall issue, but i've enabled the correct ports, 6881 through 6999 redirecting to the centos box. I've not made any additions to the centos5 firewall. I've got some audio available on bittorrent network i'd like to get, and a .torrent file for it and on edonkey there's an iso any help appreciated. Thanks. Dave. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] proxy arp on CentOS 5?
Florin Andrei wrote: Anybody implemented a working proxy ARP with CentOS 5? I am trying to implement DNAT on a dual-homed firewall (servers behind firewall are on private IPs) and that requires proxy ARP. I've tried several different methods but nothing seems to work. I figured it out. I actually tested the idea yesterday, but it failed because one of the test machines was not configured properly. To make proxy ARP work with DNAT, an IP alias must be created on the external interface, with the public IP address of the machine behind the firewall. ip address add XXX.YYY.ZZZ.KKK dev eth0 where XXX.YYY... is the public IP address that corresponds to the private IP address of a server behind the firewall. It's not even necessary to play with proxy_arp in /proc. Just the IP alias and DNAT. -- Florin Andrei http://florin.myip.org/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Power burn test
On Fri, 2007-08-03 at 15:01 -0400, Robert Moskowitz wrote: I need a program that will just run everything at max so I can measure the max power used on some systems. My 'Kill a Watt' meter should show up early next week. SO run that CPU at max, using all memory, and keeping the harddrive spinning. I can jsut do pings on the lan card for it to stay awake. I have searched here and on the net and have come back with nothing. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Are you wanting max power for provisioning purposes? If so, the max power on the power supply or chassis will give you absolute max. 80% of that number is what it is rated for on a continuous basis, 100% is for max burst. If you need a more accurate number (as the above is the rated Wattage, which /will/ be different than actual usage for safety purposes), you could run multiple of something like this: `dd if=/dev/urandom of={somefile} bs=1024k count=1024`. Depending on your processor speed, that won't keep the disks busy all the time which is why I suggested multiple running at the same time. What that will do is pull 1GB worth of random data (stresses CPU) and writes it as fast as possible to the disk. Running a few of those in a loop should give you enough time to see actual power draw. Shifting bits around in the memory register probably won't add too much power draw, as it is mostly CPU and chipset (just CPU if you are using AMD). The RAM stick is fully powered regardless. Hope that helps at least a little. -- Timothy Selivanow [EMAIL PROTECTED] Linux System Administrator EasyStreet Online Services, Inc. http://www.easystreet.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Power burn test
Timothy Selivanow wrote: On Fri, 2007-08-03 at 15:01 -0400, Robert Moskowitz wrote: I need a program that will just run everything at max so I can measure the max power used on some systems. My 'Kill a Watt' meter should show up early next week. SO run that CPU at max, using all memory, and keeping the harddrive spinning. I can jsut do pings on the lan card for it to stay awake. I have searched here and on the net and have come back with nothing. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Are you wanting max power for provisioning purposes? If so, the max power on the power supply or chassis will give you absolute max. 80% of that number is what it is rated for on a continuous basis, 100% is for max burst. No for UPS purposes. Actually some of these are 'portable' and I want to size an external battery. I will be running a number of tests. Max, min, 'typical'. If you need a more accurate number (as the above is the rated Wattage, which /will/ be different than actual usage for safety purposes), you could run multiple of something like this: `dd if=/dev/urandom of={somefile} bs=1024k count=1024`. Depending on your processor speed, that won't keep the disks busy all the time which is why I suggested multiple running at the same time. What that will do is pull 1GB worth of random data (stresses CPU) and writes it as fast as possible to the disk. Running a few of those in a loop should give you enough time to see actual power draw. Shifting bits around in the memory register probably won't add too much power draw, as it is mostly CPU and chipset (just CPU if you are using AMD). The RAM stick is fully powered regardless. Hope that helps at least a little. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Power burn test
Robert Moskowitz wrote: I need a program that will just run everything at max so I can measure the max power used on some systems. My 'Kill a Watt' meter should show up early next week. SO run that CPU at max, using all memory, and keeping the harddrive spinning. I can jsut do pings on the lan card for it to stay awake. I have searched here and on the net and have come back with nothing. nothing I know heats up a CPU faster than mersenne.org's mprime in its torture test mode. heat is power. run one instance per CPU core using the CPU affinity option then simulataneously run some heavy cconcurrent disk IO operation, like tarring large numbers of files disk to disk... and, if you have a hard core graphics, run some kinda fancy openGL demoware (in Windows, with a nvidia card, I'd suggest running one of nvidia's geforce demo programs..) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: centos 5 as p2p client
Dave spake the following on 8/3/2007 11:49 AM: Hello, I'm running centos5. I'm wanting this machine only, none of my other ones, to participate in p2p file sharing, bittorrent, edonkey, maybe other networks. Does anyone have a howto or step by step guide for this? I've installed bittorrent and mldonkey clients, but neither is working, i'm assuming gateway firewall issue, but i've enabled the correct ports, 6881 through 6999 redirecting to the centos box. I've not made any additions to the centos5 firewall. I've got some audio available on bittorrent network i'd like to get, and a .torrent file for it and on edonkey there's an iso any help appreciated. Thanks. Dave. Some internet providers are blocking those ports. Try a higher range like 26881 to 26999. The client will advertise its ports to the other p2p clients. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] new CentOS 5 as DNS server
Ken Price wrote: I'm coming in late to this thread. We too are a hosting provider (small time), hosting approximately 1600 live domains. Not to say tinydns is a bad alternative, as it has it's strengths, but we moved away from [outgrew] it 2 years ago. I used to work for a messaging service provider and they had two systems. The first system was the service provider offering its messaging platform for its own domains and a hundred or so domains for quite a lot of clients and these were managed with BIND by hand. eek. i can imagine that was a pain. In the beginning it sure was. Good thing BIND has this $INCLUDE thing. That reduced the amount of work after I cleaned up the mess from the previous configuration maintainer. So I do not know how you 'outgrew' tinydns. After all the only part that involves tinydns is 'generate the cdb file from a database for tinydns to chew' or in other words, generating the cdb file for tinydns is the least of your problems to tackle. Look, in no way was i bashing TinyDNS or starting a flamewar. This is why i prefaced my comment with Not to say tinydns is a bad alternative, as it has it's strengths. By outgrew i mean we required more of our DNS server. We weren't a top level domain provider. Our clients required authoritative and sometimes secondary service. As a result, we required better RFC compliance and a broader range of features then TinyDNS provided. That's all. Our business simply required greater flexibility. You should have come out with this in the first place. Stating 1600 domains as a hosting provider and then not clearly stating the technical reasons on why you had to switch away from tinydns looks like a veiled snipe at djbdns. If anybody dares insinuate ease of use, performance or security reasons for not using djbdns, I am going to grill them because 'I' have tried to find something to replace dnscache, which has this knack of not caching CNAME records and hammering the authoritative servers of a zone when it receives multiple new requests for records in that zone before it gets an answer, and I have yet to find anything that is as scalable as dnscache despite its annoying shortcomings. Generally, your business needs should determine the solution. Not the other way around. Agreed. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] HotPlug, eSATA, and /media
On Friday 03 August 2007, Feizhou wrote: Lamar Owen wrote: I have an eSATA drive, a 750GB Seagate in an eSATA external enclosure, and a Silicon Image sil3132 ExpressCard controller for my laptop. The disk and controller work great in CentOS 5 (or F7, for that matter), if I specifically mount it. This is not how I want to have to use this drive, however. Er...it is not treated like USB disks or CDs or DVDs but as a regular hard disk. I still remember when USB disks were treated as 'regular' disks, too. Not long ago, in fact. Hotplug should just be hotplug, regardless of interface technology. SATA, and specifically eSATA, is designed for hotplug; the drive handles it, the controller handles it, and in ExpressCard, the bus handles it. When '/dev/sdb1' shows up, with a LABEL=eSATA750GS, then it should (in the ideal) show up in /media/eSATA750GS, whether it's USB, IEEE1394, or eSATA connected. And the system handles the event, it just doesn't do anything with it at present. The sata_sil24 driver supports phy hotplug; should be just some udev rules magic; after all, the USB hotplug does essentially the same thing, and on the SCSI layer just like SATA. And if you've played with eSATA for long, you'll see the use for this in a hurry. eSATA gives you the fastest and best external drive connection currently available; my drive, enclosure, and controller all run at 3Gb/s, and I can get...hmm, hdparm -t gives me between 65 and 90 MB/s read speed consistently, to an external drive. I guess you will need some scripting... Given that USB disks come in as SCSI, I don't see why a libata disk (which also comes in as SCSI) would need anything beyond what already works for USB. Just wondering if I need to come up with the magic myself, or if someone else has already done this. Of course, I reserve the right to be wrong, but I don't think I'm too far off the mark. I'm looking at the udev rules stuff now, but if anyone has any pointers to specific docs, it would be great to hear it! Following is /var/log/messages for a hot unplug (pulling the eSATA data cable from the controller) followed by a hotplug (plugging it back in a few seconds later), for those who might be interested: ++ HOTUNPLUG Aug 3 20:13:47 localhost kernel: ata3: exception Emask 0x10 SAct 0x0 SErr 0x8 action 0x2 frozen Aug 3 20:13:47 localhost kernel: ata3: (irq_stat 0x01100010, PHY RDY changed) Aug 3 20:13:47 localhost kernel: ata3: soft resetting port Aug 3 20:13:47 localhost kernel: ata3: SATA link down (SStatus 0 SControl 300) Aug 3 20:13:47 localhost kernel: ata3: failed to recover some devices, retrying in 5 secs Aug 3 20:13:52 localhost kernel: ata3: hard resetting port Aug 3 20:13:54 localhost kernel: ata3: SATA link down (SStatus 0 SControl 300) Aug 3 20:13:54 localhost kernel: ata3.00: limiting speed to UDMA/100:PIO3 Aug 3 20:13:54 localhost kernel: ata3: failed to recover some devices, retrying in 5 secs Aug 3 20:13:59 localhost kernel: ata3: hard resetting port Aug 3 20:14:01 localhost kernel: ata3: SATA link down (SStatus 0 SControl 300) Aug 3 20:14:01 localhost kernel: ata3.00: disabled Aug 3 20:14:02 localhost kernel: ata3: EH complete Aug 3 20:14:02 localhost kernel: ata3.00: detaching (SCSI 2:0:0:0) Aug 3 20:14:02 localhost kernel: sd 2:0:0:0: [sdb] Synchronizing SCSI cache Aug 3 20:14:02 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK, SUGGEST_OK Aug 3 20:14:02 localhost kernel: sd 2:0:0:0: [sdb] Stopping disk Aug 3 20:14:02 localhost kernel: sd 2:0:0:0: [sdb] START_STOP FAILED Aug 3 20:14:02 localhost kernel: sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK, SUGGEST_OK HOTPLUG Aug 3 20:14:18 localhost kernel: ata3: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x2 frozen Aug 3 20:14:18 localhost kernel: ata3: (irq_stat 0x00800080, device exchanged) Aug 3 20:14:19 localhost kernel: ata3: soft resetting port Aug 3 20:14:19 localhost kernel: ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300) Aug 3 20:14:19 localhost kernel: ata3.00: ATA-7: ST3750640AS, 3.AAE, max UDMA/133 Aug 3 20:14:19 localhost kernel: ata3.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32) Aug 3 20:14:19 localhost kernel: ata3.00: configured for UDMA/100 Aug 3 20:14:19 localhost kernel: ata3: EH complete Aug 3 20:14:19 localhost kernel: scsi 2:0:0:0: Direct-Access ATA ST3750640AS 3.AA PQ: 0 AN Aug 3 20:14:19 localhost kernel: sd 2:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB) Aug 3 20:14:19 localhost kernel: sd 2:0:0:0: [sdb] Write Protect is off Aug 3 20:14:19 localhost kernel: sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't su pport DPO or FUA Aug 3 20:14:19 localhost kernel: sd 2:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB) Aug 3 20:14:19 localhost kernel: sd 2:0:0:0: [sdb] Write
Re: [CentOS] CentOS things to mod for VMware server
Rogelio Bastardo wrote: I'd like to make a CentOS-based VMware server. Anything I should consider before doing so? (e.g. stuff to disable, kernel tweaks, etc) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos XFS allegedly handles large files better than ext3/reiserfs. and we all know that vmx files can be . . . . big! Has anyone run any benchmarks on xfs / ext3 / reiserfs to establish which is better suited for holding virtual machines? Yiorgos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Asterisk
Is an RPM for Asterisk (the PBX system) available for CentOS 5? It looks like RPMforge is supposed to have one, as I can see dependent packages like asterisk-sounds, but the base package seems to be absent from the repository. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] new CentOS 5 install, 'Network is unreachable'
Hi all, I've a new CentOS 5 minimalist install; this will be the name server from my prior thread. I have configured eth0 during setup with the static IP the unit will have when in production. During this setup phase, selinux is set to permissive. Setting up on a different network, I did this: dhclient eth0 and successfully got a private address; I also validated that the resolv.conf file was created by the dhclient-script and it was, accurately pointing to my gateway and listing a domain name server by IP. That's where the fun stops. Even pinging an IP, so as not to rely on name resolution, I get the dreaded 'Network is unreachable' error. Any pointers would be more than appreciated. Thanks in advance, ~Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: new CentOS 5 install, 'Network is unreachable'
[EMAIL PROTECTED] wrote: I've a new CentOS 5 minimalist install; this will be the name server from my prior thread. I have configured eth0 during setup with the static IP the unit will have when in production. During this setup phase, selinux is set to permissive. Setting up on a different network, I did this: dhclient eth0 and successfully got a private address; I also validated that the resolv.conf file was created by the dhclient-script and it was, accurately pointing to my gateway and listing a domain name server by IP. That's where the fun stops. Even pinging an IP, so as not to rely on name resolution, I get the dreaded 'Network is unreachable' error. Without DHCP in the picture you're not getting the needed default route set up. I'm not sure what you mean by resolv.conf ... accurately pointing to my gateway. AFAIK, resolv.conf has nothing to do with routing gateways. If you're not going to be using DHCP, you need to run system-config-network, edit the entry for your network device, and, under the Route tab, enter an explicit default route and gateway address. As a quick check before doing the above, just run route add default gw nnn.nnn.nnn.nnn dev eth0 supplying the appropriate gateway address and device, of course. -- Bob Nichols NOSPAM is really part of my email address. Do NOT delete it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Data corruption on external hard disk
Hi, I'm using CentOS 5 on all my computers here (work + home) and I'm very satisfied with it. Some time ago I purchased a 300 GB external hard drive to store films, music, pictures and documents. Since there's no Windows machine around here (small South French village, town hall and public library use Linux :o)), I replaced the FAT filesystem on the disk by an ext2 filesystem. Now it's already almost full with data. A few days ago I had a problem with the subdirectory Cinema/ containing a collection of my favourite movies. I wanted to copy them from the disk to my newly purchased laptop (ASUS W6F, already running CentOS 5), when suddenly I got a read error on data. I checked in a Terminal what was going on, and the file ownerships were all curiously set, like missing read flags, no more --x rights on directories, whereas I remember I had set them right in the first place. So I started a series of recursive chmod's on the directory Cinema/... but I got nothing: the command prompt never went back. Unmounting the disk was not responsive neither, so I just shut it off. When I was performing this, it was a very hot day, almost 40°C. The disk was really very hot, so I wonder if this might have damaged it. I could retrieve some of the data on the disk (music, pictures, documents), but now, instead of the Cinema/ directory, I have one big file that looks like this: [EMAIL PROTECTED]:/media/disk/Films] $ ls -l total 692996 -rw-r- 1 678756852 34537972 148381783526817280 avr 28 01:01 Cinema drwxr-xr-x 3 kikinovak kikinovak 4096 mai 9 10:07 Anime drwxrwxrwx 4 kikinovak kikinovak 4096 mai 10 12:25 Series Notice that the file size is something like petabytes :oD Is there any way to repair this obviously corrupt data? Cheers, Niki Kovacs ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos