Re: [CentOS-docs] Images for CentOS Documentation

2011-03-11 Thread Andreas Rogge
Am 10.03.2011 00:16, schrieb Ralph Angenendt:
 Am 09.03.11 10:45, schrieb Andreas Rogge:
 The SVG has text inside. Can you convert the text into pathes so it
 doesn't break when viewed without the Denmark font installed?

 Sure. It's on people.centos.org now.

Great! Thanks.

I just spent a few hours on figuring out how RH made the svg-logo work 
correctly with their HTML because my in my adaption there are 
scrollbars. Eventually it turned out to be broken on docs.r.c, too :)

-- 
Solvention Ltd.  Co. KG
Egermannstr. 6-8
53359 Rheinbach

Tel: +49 2226 158179-0
Fax: +49 2226 158179-9

http://www.solvention.de
mailto:i...@solvention.de
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-es] Infineon AN983B

2011-03-11 Thread Ricardo Martinez
Hola!
Yo iría a la web del fabricante a ver sí hay drivers

El 10/03/2011 20:09, Azu Carlitox elazucarli...@gmail.com escribió:

Buenas, tengo un CentOS 5.4 instalado en un pc, y quiero agregarle una
tarjeta de red Infineon AN983B, el tema es que no me la detecta ni se como
configurarlo para que me funcione.
Alguno tiene idea de como puedo hacerlo?
gracias
___
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] Cannot %include in CentOS 5.5 kickstart

2011-03-11 Thread Patrick Lists
On 03/10/2011 08:14 AM, whitivery wrote:
 # This does not work
 %include /tmp/drvdisk

 # This works
 #driverdisk
 --source=nfs:10.0.4.157:/srv/cobbler/RHEL5.5_x86_402_409_410_DD.img


 %packages
 @base
 @core

 %pre --erroronfail

 echo driverdisk
 --source=nfs:10.0.4.157:/srv/cobbler/RHEL5.5_x86_402_409_410_DD.img
 /tmp/drvdisk

Although lacking a good caffeine fix the only difference I notice with 
some examples is that they do this:

%include /tmp/drvdisk.sh
.
.
.
%pre
echo driverdisk --source=nfs:10.1.2.3:/foo/image.img  /tmp/drvdisk.sh

Notice the usage of .sh in the drvdisk.sh filename?

Regards,
Patrick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server hangs on CentOS 5.5

2011-03-11 Thread Alexander Arlt
Am 03/11/2011 03:03 AM, schrieb Nico Kadel-Garcia:
 On Thu, Mar 10, 2011 at 6:49 PM, B.J.
 McClurekeepert...@bellsouth.net  wrote:

 B.J. McClure keepert...@bellsouth.net

 Sent from MacBook-Air


 On Mar 10, 2011, at 5:28 PM, Nico Kadel-Garcia wrote:

 On Thu, Mar 10, 2011 at 11:13 AM, Michael Eagerea...@eagerm.com
 wrote:

 Previous cleaning have been with canned compressed air. Thanks
 for the caution about vacuums and static.  I may use the vacuum
 on the case fans from the outside.  The case should provide an
 adequate static shield.

 I've had good results with a damp, soft cloth or Q-tip with
 distilled water for awkward bits. and filters, and that cloth for
 the case itself. It also looks noticeably newer, which helps with
 walking investors through a small machine room.

 I must respectfully disagree with any application of water,
 distilled or otherwise to things electronic.  I was taught in the
 Navy, and my engineering career has confirmed, that cleaning of
 electronic components should be done with low pressure, dried,
 compressed air.  50 psi max.  If some solvent must be used, try
 alcohol.  Evaporates quickly, leaves no residue and has an affinity
 for water.

 Typical drug-store alcohol is rubbing alcohol, and is 30% water.

 I designed medical electronics for a dozen years. Acohol has its
 uses, but water is much cheaper, safer, and you don't have fumes to
 deal with. Shall we discuss the effectives of surface etch resist
 and cladding in protecting circuit boards from damage, and the
 effects of alcohol on low cost electronic sockets?

I agree with Nico, I have been working for a large PC-Manufacturer in 
Europe for many years and alcohol was never a good idea for cleaning 
pcbs, not in production nor in the field.

Either we used trichloroethane or trichlorotrifluoroethane for washing 
and cleaning of mainboards (which became a bit unpopular due to its 
effects on the ozone layer...) or we used water-based cleaning fluids 
(aka 'water'). But that was only in the production process of the pcbs. 
Almost never in the field, except when real repairs on the mainboard had 
to be done on site (soldering).

Yes, it can be true with 'navy-strength' electronics that you actually 
can use alcohol for the purpose of cleaning electronic boards, but in 
low-cost electronics, it's a total no-go, because it disolves the 
coating of the pcbs and most often harms - as Nico wrote - the sockets 
and chip packages. We're talking about low-cost electronics here...

Though, when cleaning machines in the field, I very rarely ever used 
something else then compressed air. Actually, I would suggest to 
everyone not to clean the inside of a box with any kind of fluid, since 
it actually won't do anything positive besides changing the looks.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] debugging auto mount configuration

2011-03-11 Thread Boris Epstein
Hello there,

I successfully use automount to mount a large XFS pargtition on one
CentOS 5.5 machine. I then tried to do the same thing on a different
machine - and it simply would not work! The configuration is done in
the same fashion, I checked and double-checked the syntax - but it is
still a no go. When I use the mount command the partition mounts
perfectly.

I have tried running

automount --debug

and

automount --verbose

and thus far have not seen any messages that would shed any light on
what's going on.

So I am a bit lost at the moment. Any advice on how to proceed would
be much appreciated.

Boris.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] screen saver unlock dialog window is not visible in clone mode

2011-03-11 Thread DarkKnight BrightWarrior
Hi,

Environment:
I am using CentOS 5.3 operating system. I upgraded xorg of centos to 7.3.
I am using intel 945 GM board. My xorg server version is 1.4.2 and inetl
driver version 2.4.3.
gnome-screensaver version is 2.16.1-8.el5.

Problem:
I connected another system of same hardware using VGA output. Now I can see
clone of my system on secondary display.
I enabled screensaver with 1 minute period and also enabled locking feature
using gnome-screensaver-preferences.
After 1 minute screensaver appeared on both primary and secondary displays.
But when I move mouse or press any key, Screen saver unlock dialog is not
appearing.
But when I type password, I am able to comeout of screensaver. So Screensver
unlock dialog is there but it is not visible.
When I remove secondary display, I mean when I am in single display mode
screen saver unlock dialog is visible and working fine.
So what could be the problem that causing screensaver unlock dialog window
to appear/visible in clone/extended monitor mode.

Please help.

Thanks
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server hangs on CentOS 5.5

2011-03-11 Thread Simon Matter
 Am 03/11/2011 03:03 AM, schrieb Nico Kadel-Garcia:
 On Thu, Mar 10, 2011 at 6:49 PM, B.J.
 McClurekeepert...@bellsouth.net  wrote:

 B.J. McClure keepert...@bellsouth.net

 Sent from MacBook-Air


 On Mar 10, 2011, at 5:28 PM, Nico Kadel-Garcia wrote:

 On Thu, Mar 10, 2011 at 11:13 AM, Michael Eagerea...@eagerm.com
 wrote:

 Previous cleaning have been with canned compressed air. Thanks
 for the caution about vacuums and static.  I may use the vacuum
 on the case fans from the outside.  The case should provide an
 adequate static shield.

 I've had good results with a damp, soft cloth or Q-tip with
 distilled water for awkward bits. and filters, and that cloth for
 the case itself. It also looks noticeably newer, which helps with
 walking investors through a small machine room.

 I must respectfully disagree with any application of water,
 distilled or otherwise to things electronic.  I was taught in the
 Navy, and my engineering career has confirmed, that cleaning of
 electronic components should be done with low pressure, dried,
 compressed air.  50 psi max.  If some solvent must be used, try
 alcohol.  Evaporates quickly, leaves no residue and has an affinity
 for water.

 Typical drug-store alcohol is rubbing alcohol, and is 30% water.

 I designed medical electronics for a dozen years. Acohol has its
 uses, but water is much cheaper, safer, and you don't have fumes to
 deal with. Shall we discuss the effectives of surface etch resist
 and cladding in protecting circuit boards from damage, and the
 effects of alcohol on low cost electronic sockets?

 I agree with Nico, I have been working for a large PC-Manufacturer in
 Europe for many years and alcohol was never a good idea for cleaning
 pcbs, not in production nor in the field.

 Either we used trichloroethane or trichlorotrifluoroethane for washing
 and cleaning of mainboards (which became a bit unpopular due to its
 effects on the ozone layer...) or we used water-based cleaning fluids
 (aka 'water'). But that was only in the production process of the pcbs.
 Almost never in the field, except when real repairs on the mainboard had
 to be done on site (soldering).

 Yes, it can be true with 'navy-strength' electronics that you actually
 can use alcohol for the purpose of cleaning electronic boards, but in
 low-cost electronics, it's a total no-go, because it disolves the
 coating of the pcbs and most often harms - as Nico wrote - the sockets
 and chip packages. We're talking about low-cost electronics here...

 Though, when cleaning machines in the field, I very rarely ever used
 something else then compressed air. Actually, I would suggest to
 everyone not to clean the inside of a box with any kind of fluid, since
 it actually won't do anything positive besides changing the looks.

After decades in the high precision and electronics industry, I can tell
you for sure that compressed air is not seen as a good choice. It blows
the dust where it doesn't belong. That may not be a big problem with a
cheap PC, but it's not professional at all.

If you want to do it the professional way, go to an ESD protected room,
take an ESD vac and an ESD brush, wear your ESD shoes and wrist strap, and
clean *carefully*. Compressed air may additionally be used in certain
places, but not more.

Simon

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installation failure

2011-03-11 Thread Chris Weisiger
Glad you got it working. Most of the power supply checkers aren't worth it.
I checked 3 power supplies with a checker and all 3 didnt work on the pc i was 
working on.
It was the power supplies, i took one out of a running pc and the one being 
worked on powered up.
So it is just easier just to swap the power supply out to start with.
 
Chris


- Original Message -
From:Mark mhullr...@gmail.com
To:CentOS mailing list centos@centos.org
Cc:
Sent:Thursday, March 10, 2011 11:59 PM
Subject:Re: [CentOS] Installation failure

On Thu, Mar 10, 2011 at 9:01 PM, Chris Weisiger cweisi...@bellsouth.net wrote:
 Try checking the power supply, swap in another one  from a different pc.


Yeah, I figured that out about half an hour ago and got it going.
Shoulda thought of that up front.

Interestingly, I have a power supply tester I bought at CompUSA before
they left SoCal, and it said that power supply was fine.  Ha ha ha.  I
think I need a new one, one that actually works

Thanks, everyone.
___
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] IPC Benchmark in Centos

2011-03-11 Thread Peter Penzov
Hi,
   I'm interested is there any benchmark tests for Centos. How fast is for
example Unix domain socket and Message Queue?

Regards
Peter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] UDP Perfomance tuning

2011-03-11 Thread Prasad Pillarisetti
Hi,

We are running on 5.5 on a HP ProLiant DL360 G6.
Kernel version is 2.6.18-194.17.1.el5 (we had also tested with the latest
available kernel kernel-2.6.18-238.1.1.el5.x86_64)

We running some performance tests using the iperf utility.

We are seeing very bad and inconsistent performance on the UDP testing.

The maximum we could get, was 440 Mbits/sec, and it varies from 250 to 440
Mbits/sec.
We are connected on a 1000Mb/s link, we also tested the same using a
cross-over connections between the two machines, but the same performance.

We also see a lot of dropped UDP packets.

Udp:
551522838 packets received
1902 packets to unknown port received.
109709802 packet receive errors
7239 packets sent


We had checked all the kernel configurations and set them as recommended.

This is the settings and tests we have done

Server:
net.core.rmem_default = 2097152
net.core.wmem_default = 2097152
net.core.rmem_max = 8388608
net.core.wmem_max = 8388608
strace -fttt -o /tmp/server.trace iperf -s -u -p  -w 6m -i 5 -l 1k

Client:
net.core.rmem_default = 2097152
net.core.wmem_default = 2097152
net.core.rmem_max = 8388608
net.core.wmem_max = 8388608
strace -fttt -o /tmp/client.trace iperf -p  -u -w 6m -i 5 -t 60 -c
192.168.1.2 -b 990M -l 1k

Can someone please help me with this, since I am running in circles and
can't get the required UDP performance?

-- 
Prasad Pillarisetti
If everything is coming your way, then you are in the wrong lane
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server hangs on CentOS 5.5

2011-03-11 Thread Nico Kadel-Garcia
On Fri, Mar 11, 2011 at 8:51 AM, Simon Matter simon.mat...@invoca.ch wrote:

 After decades in the high precision and electronics industry, I can tell
 you for sure that compressed air is not seen as a good choice. It blows
 the dust where it doesn't belong. That may not be a big problem with a
 cheap PC, but it's not professional at all.

 If you want to do it the professional way, go to an ESD protected room,
 take an ESD vac and an ESD brush, wear your ESD shoes and wrist strap, and
 clean *carefully*. Compressed air may additionally be used in certain
 places, but not more.

 Simon

Is it worth a discussion here of overall PC manufacturing safety tips?
It's not really CentOS specific, but it is interesting.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installation failure

2011-03-11 Thread Nico Kadel-Garcia
On Fri, Mar 11, 2011 at 9:18 AM, Chris Weisiger cweisi...@bellsouth.net wrote:
 Glad you got it working. Most of the power supply checkers aren't worth it.
 I checked 3 power supplies with a checker and all 3 didnt work on the pc i 
 was working on.
 It was the power supplies, i took one out of a running pc and the one being 
 worked on powered up.
 So it is just easier just to swap the power supply out to start with.

 Chris

This is one of the reasons I *love* dual power-supply, server grade
hardware. It's pricier and noisier, but just being able to move one
plug, then the other to swap surge suppressors and UPS's and even
re-arrange power strips or re-arrange cluttered cabling is well worth
it.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] question on modules loaded

2011-03-11 Thread Jerry Geis
lsmod shows

dm_raid45  66509  0
dm_message  6977  1 dm_raid45
dm_region_hash 15681  1 dm_raid45
dm_log 14529  3 dm_mirror,dm_raid45,dm_region_hash
dm_mod 62201  4 dm_mirror,dm_multipath,dm_raid45,dm_log
dm_mem_cache9537  1 dm_raid45


I am wondering why these raid modules are loaded as I am not running 
raid on this
particular machine and looking for ways to free up memory.

THanks,

jerry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Server locking up everyday around 3:30 AM - (INFO: task wget:13608 blocked for more than 120 seconds) need sleep, help.

2011-03-11 Thread PJ
This may or may not be CentOS related, but am out of ideas at this
point and wanted to bounce this off the list.

I'm running a CentOS 5.5 server, running the latest kernel 2.6.18-194.32.1.el5.

Almost everyday around 3:30 AM the server completely locks up and has
to be power cycled before it will come back online.
(this means someone hat to wake up and reboot the server, oh how I
love being an internet janitor! :)

Smells like a hardware issue to me too, but I went through all of the
dell diagnostics, updated the firmware, everything checks out as being
okay, RAID, disks, RAM, etc... Spent an hour on the phone with a Dell
tech. No hardware issues, at least that we were able to find.

There are no cron jobs that run at 3:30, no backups, the server has a
load of 0, nothing is scheduled around that time...

The only crontab entry at all is */5 * * * * wget -q
www.websitedomain.com/cron.php /dev/null 21
They are running Magento for commerce purposes and this runs every 5 minutes.

Why does the server only lockup around 3:30 AM? Because it's knows I
am fast asleep?

I was able to pull this from /var/log/messages, this happens just
seconds before locking up completely...

Mar  8 03:33:18 web1 kernel: INFO: task wget:13608 blocked for more
than 120 seconds.
Mar  8 03:33:19 web1 kernel: echo 0 
/proc/sys/kernel/hung_task_timeout_secs disables this message.
Mar  8 03:33:19 web1 kernel: wget  D 810001004420 0
13608  13607 (NOTLB)
Mar  8 03:33:19 web1 kernel:  81007bc7bc78 0086
81007bc7bd88 81000100d3f8
Mar  8 03:33:19 web1 kernel:  81007bc7bbf0 0007
8100849db0c0 80308b60
Mar  8 03:33:19 web1 kernel:  00013a2964cdf439 3237
8100849db2a8 64c82eae
Mar  8 03:33:19 web1 kernel: Call Trace:
Mar  8 03:33:20 web1 kernel:  [80063c6f]
__mutex_lock_slowpath+0x60/0x9b
Mar  8 03:33:20 web1 kernel:  [80063cb9] .text.lock.mutex+0xf/0x14
Mar  8 03:33:20 web1 kernel:  [8000cf82] do_lookup+0x90/0x1e6
Mar  8 03:33:20 web1 kernel:  [8000a29c] __link_path_walk+0xa01/0xf5b
Mar  8 03:33:20 web1 kernel:  [8000ea4b] link_path_walk+0x42/0xb2
Mar  8 03:33:20 web1 kernel:  [8000cd72] do_path_lookup+0x275/0x2f1
Mar  8 03:33:23 web1 kernel:  [80012851] getname+0x15b/0x1c2
Mar  8 03:33:23 web1 kernel:  [800239d1] __user_walk_fd+0x37/0x4c
Mar  8 03:33:23 web1 kernel:  [80028905] vfs_stat_fd+0x1b/0x4a
Mar  8 03:33:23 web1 kernel:  [80023703] sys_newstat+0x19/0x31
Mar  8 03:33:23 web1 kernel:  [8005d116] system_call+0x7e/0x83

If anyone has some advice on where to go from here it would be greatly
appreciated.

Thanks in advance.

--
PJF
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM - (INFO: task wget:13608 blocked for more than 120 seconds) need sleep, help.

2011-03-11 Thread Boris Epstein
On Fri, Mar 11, 2011 at 12:33 PM, PJ pauljer...@gmail.com wrote:
 This may or may not be CentOS related, but am out of ideas at this
 point and wanted to bounce this off the list.

 I'm running a CentOS 5.5 server, running the latest kernel 
 2.6.18-194.32.1.el5.

 Almost everyday around 3:30 AM the server completely locks up and has
 to be power cycled before it will come back online.
 (this means someone hat to wake up and reboot the server, oh how I
 love being an internet janitor! :)

 Smells like a hardware issue to me too, but I went through all of the
 dell diagnostics, updated the firmware, everything checks out as being
 okay, RAID, disks, RAM, etc... Spent an hour on the phone with a Dell
 tech. No hardware issues, at least that we were able to find.

 There are no cron jobs that run at 3:30, no backups, the server has a
 load of 0, nothing is scheduled around that time...

 The only crontab entry at all is */5 * * * * wget -q
 www.websitedomain.com/cron.php /dev/null 21
 They are running Magento for commerce purposes and this runs every 5 minutes.

 Why does the server only lockup around 3:30 AM? Because it's knows I
 am fast asleep?

 I was able to pull this from /var/log/messages, this happens just
 seconds before locking up completely...

 Mar  8 03:33:18 web1 kernel: INFO: task wget:13608 blocked for more
 than 120 seconds.
 Mar  8 03:33:19 web1 kernel: echo 0 
 /proc/sys/kernel/hung_task_timeout_secs disables this message.
 Mar  8 03:33:19 web1 kernel: wget          D 810001004420     0
 13608  13607                     (NOTLB)
 Mar  8 03:33:19 web1 kernel:  81007bc7bc78 0086
 81007bc7bd88 81000100d3f8
 Mar  8 03:33:19 web1 kernel:  81007bc7bbf0 0007
 8100849db0c0 80308b60
 Mar  8 03:33:19 web1 kernel:  00013a2964cdf439 3237
 8100849db2a8 64c82eae
 Mar  8 03:33:19 web1 kernel: Call Trace:
 Mar  8 03:33:20 web1 kernel:  [80063c6f]
 __mutex_lock_slowpath+0x60/0x9b
 Mar  8 03:33:20 web1 kernel:  [80063cb9] .text.lock.mutex+0xf/0x14
 Mar  8 03:33:20 web1 kernel:  [8000cf82] do_lookup+0x90/0x1e6
 Mar  8 03:33:20 web1 kernel:  [8000a29c] 
 __link_path_walk+0xa01/0xf5b
 Mar  8 03:33:20 web1 kernel:  [8000ea4b] link_path_walk+0x42/0xb2
 Mar  8 03:33:20 web1 kernel:  [8000cd72] do_path_lookup+0x275/0x2f1
 Mar  8 03:33:23 web1 kernel:  [80012851] getname+0x15b/0x1c2
 Mar  8 03:33:23 web1 kernel:  [800239d1] __user_walk_fd+0x37/0x4c
 Mar  8 03:33:23 web1 kernel:  [80028905] vfs_stat_fd+0x1b/0x4a
 Mar  8 03:33:23 web1 kernel:  [80023703] sys_newstat+0x19/0x31
 Mar  8 03:33:23 web1 kernel:  [8005d116] system_call+0x7e/0x83

 If anyone has some advice on where to go from here it would be greatly
 appreciated.

 Thanks in advance.

 --
 PJF
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Have you tried disabling the cron job you think is at fault to see if
the lock up goes away? Also, have you checked all the users' crontabs?

Boris.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] UDP Perfomance tuning

2011-03-11 Thread Simon Matter
 Hi,

 We are running on 5.5 on a HP ProLiant DL360 G6.
 Kernel version is 2.6.18-194.17.1.el5 (we had also tested with the latest
 available kernel kernel-2.6.18-238.1.1.el5.x86_64)

 We running some performance tests using the iperf utility.

 We are seeing very bad and inconsistent performance on the UDP testing.

 The maximum we could get, was 440 Mbits/sec, and it varies from 250 to 440
 Mbits/sec.

That hurts. So, what speed do you get using TCP? You should really get
almost wire speed with TCP, so I expect to be the same with UDP. I'm
usually testing raw TCP transfers with mbuffer listening on one side and
piping data to in using bash on the other side, like 'cat /dev/null 
/dev/tcp/host/port'

BTW, I have never used iperf, but is it sane to run it via strace? It will
for sure slow things down.

Simon

 We are connected on a 1000Mb/s link, we also tested the same using a
 cross-over connections between the two machines, but the same performance.

 We also see a lot of dropped UDP packets.

 Udp:
 551522838 packets received
 1902 packets to unknown port received.
 109709802 packet receive errors
 7239 packets sent


 We had checked all the kernel configurations and set them as recommended.

 This is the settings and tests we have done

 Server:
 net.core.rmem_default = 2097152
 net.core.wmem_default = 2097152
 net.core.rmem_max = 8388608
 net.core.wmem_max = 8388608
 strace -fttt -o /tmp/server.trace iperf -s -u -p  -w 6m -i 5 -l 1k

 Client:
 net.core.rmem_default = 2097152
 net.core.wmem_default = 2097152
 net.core.rmem_max = 8388608
 net.core.wmem_max = 8388608
 strace -fttt -o /tmp/client.trace iperf -p  -u -w 6m -i 5 -t 60 -c
 192.168.1.2 -b 990M -l 1k

 Can someone please help me with this, since I am running in circles and
 can't get the required UDP performance?

 --
 Prasad Pillarisetti
 If everything is coming your way, then you are in the wrong lane
 ___
 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] Server locking up everyday around 3:30 AM

2011-03-11 Thread m . roth
PJ wrote:
 This may or may not be CentOS related, but am out of ideas at this point
and wanted to bounce this off the list.

 I'm running a CentOS 5.5 server, running the latest kernel
 2.6.18-194.32.1.el5.

 Almost everyday around 3:30 AM the server completely locks up and has to
be power cycled before it will come back online.
 (this means someone hat to wake up and reboot the server, oh how I love
being an internet janitor! :)

Please log of the Internet. We are cleaning it. You may log back on later.

snip
 I was able to pull this from /var/log/messages, this happens just
seconds before locking up completely...

 Mar  8 03:33:18 web1 kernel: INFO: task wget:13608 blocked for more than
120 seconds.
 Mar  8 03:33:19 web1 kernel: echo 0 
 /proc/sys/kernel/hung_task_timeout_secs disables this message.
 Mar  8 03:33:19 web1 kernel: wget  D 810001004420 0
13608  13607 (NOTLB)
 Mar  8 03:33:19 web1 kernel:  81007bc7bc78 0086
 81007bc7bd88 81000100d3f8
 Mar  8 03:33:19 web1 kernel:  81007bc7bbf0 0007
 8100849db0c0 80308b60
 Mar  8 03:33:19 web1 kernel:  00013a2964cdf439 3237
 8100849db2a8 64c82eae
 Mar  8 03:33:19 web1 kernel: Call Trace:
 Mar  8 03:33:20 web1 kernel:  [80063c6f]
 __mutex_lock_slowpath+0x60/0x9b
snip
Anyone else smell an OOM killer? But it's clearly whatever the wget's
after that's killing the system.

   mark



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM

2011-03-11 Thread PJ
On Fri, Mar 11, 2011 at 10:06 AM,  m.r...@5-cent.us wrote:
 PJ wrote:
 This may or may not be CentOS related, but am out of ideas at this point
 and wanted to bounce this off the list.

 I'm running a CentOS 5.5 server, running the latest kernel
 2.6.18-194.32.1.el5.

 Almost everyday around 3:30 AM the server completely locks up and has to
 be power cycled before it will come back online.
 (this means someone hat to wake up and reboot the server, oh how I love
 being an internet janitor! :)

 Please log of the Internet. We are cleaning it. You may log back on later.

 snip
 I was able to pull this from /var/log/messages, this happens just
 seconds before locking up completely...

 Mar  8 03:33:18 web1 kernel: INFO: task wget:13608 blocked for more than
 120 seconds.
 Mar  8 03:33:19 web1 kernel: echo 0 
 /proc/sys/kernel/hung_task_timeout_secs disables this message.
 Mar  8 03:33:19 web1 kernel: wget          D 810001004420     0
 13608  13607                     (NOTLB)
 Mar  8 03:33:19 web1 kernel:  81007bc7bc78 0086
 81007bc7bd88 81000100d3f8
 Mar  8 03:33:19 web1 kernel:  81007bc7bbf0 0007
 8100849db0c0 80308b60
 Mar  8 03:33:19 web1 kernel:  00013a2964cdf439 3237
 8100849db2a8 64c82eae
 Mar  8 03:33:19 web1 kernel: Call Trace:
 Mar  8 03:33:20 web1 kernel:  [80063c6f]
 __mutex_lock_slowpath+0x60/0x9b
 snip
 Anyone else smell an OOM killer? But it's clearly whatever the wget's
 after that's killing the system.

           mark



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


What makes no sense to me is this runs every 5 minutes all day, but
only around 3:30 AM does it look up.

There is nothing in the log that suggests the kernel is having to kill
processes because it is out of resources.

No httpd invoked oom-killer etc... which I have seen before in other
situations.

http://bugs.centos.org/view.php?id=4515 sounds like what I have going
on, but not with kjournald of course...

Thanks,

--
PJ
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Web server becoming unresponsive : high load

2011-03-11 Thread robert mena
Hi,

I have a web server which is randomly becoming unresponsive.   I've checked
for hardware problems with no luck :
- no ethernet errors
- no disk errors
- no memory errors

So far I've managed to point the trouble at the web server since if I
restart httpd (apache) it comes back to normal.

This is not a shared server so I control (or at least like to think of) what
is hosted so I have two suspects:
a) my own code is behaving strangely.   For example, a php script that in a
given situation/parameters increases the usage.
b) some sort of attack.  Either in conjunction to a or other vulnerability.

I am looking for advices in how can I pin point since looking at every line
of code would be infeasible.

Centos 5.5 / apache / php 5.2.10
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM

2011-03-11 Thread Brunner, Brian T.
centos-boun...@centos.org wrote:

 What makes no sense to me is this runs every 5 minutes all day, but
 only around 3:30 AM does it look up.
 
 http://bugs.centos.org/view.php?id=4515 sounds like what I have going
 on, but not with kjournald of course...
 
 Thanks,

Can you skip the runs from 3 to 4 AM  (or 3:15 to 3:45)? It might be
what the target of wget is doing on *their* end that makes your access
fatal to your machine.

Insert spiffy .sig here:
Life is complex: it has both real and imaginary parts.

//me
***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] debugging auto mount configuration

2011-03-11 Thread Nico Kadel-Garcia
On Fri, Mar 11, 2011 at 8:22 AM, Boris Epstein borepst...@gmail.com wrote:
 Hello there,

 I successfully use automount to mount a large XFS pargtition on one
 CentOS 5.5 machine. I then tried to do the same thing on a different
 machine - and it simply would not work! The configuration is done in
 the same fashion, I checked and double-checked the syntax - but it is
 still a no go. When I use the mount command the partition mounts
 perfectly.

 I have tried running

 automount --debug

 and

 automount --verbose

 and thus far have not seen any messages that would shed any light on
 what's going on.

 So I am a bit lost at the moment. Any advice on how to proceed would
 be much appreciated.

 Boris.

Posting your automount tables might help. So would double checking
that you both machines are up-to-date on patches: autofs has undergone
significant improvement in the last year or two.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM

2011-03-11 Thread Les Mikesell
On 3/11/2011 12:20 PM, PJ wrote:

 What makes no sense to me is this runs every 5 minutes all day, but
 only around 3:30 AM does it look up.

When did it start happening?  Did it correspond to any hardware change 
or software update that you can pin down?

 http://bugs.centos.org/view.php?id=4515 sounds like what I have going
 on, but not with kjournald of course...

Is anything else happening that might make the disks busy around then? 
Maybe the raid-check job in cron.weekly is still running?

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM

2011-03-11 Thread m . roth
PJ wrote:
 On Fri, Mar 11, 2011 at 10:06 AM,  m.r...@5-cent.us wrote:
 PJ wrote:
snip
 I'm running a CentOS 5.5 server, running the latest kernel
 2.6.18-194.32.1.el5.

 Almost everyday around 3:30 AM the server completely locks up and has
 to be power cycled before it will come back online.
 (this means someone hat to wake up and reboot the server, oh how I love
 being an internet janitor! :)
 snip
 I was able to pull this from /var/log/messages, this happens just
 seconds before locking up completely...

 Mar  8 03:33:18 web1 kernel: INFO: task wget:13608 blocked for more
 than 120 seconds.
 Mar  8 03:33:19 web1 kernel: echo 0 
 /proc/sys/kernel/hung_task_timeout_secs disables this message.
 Mar  8 03:33:19 web1 kernel: wget          D 810001004420     0
 13608  13607                     (NOTLB)
 Mar  8 03:33:19 web1 kernel:  81007bc7bc78 0086
 81007bc7bd88 81000100d3f8
 Mar  8 03:33:19 web1 kernel:  81007bc7bbf0 0007
 8100849db0c0 80308b60
 Mar  8 03:33:19 web1 kernel:  00013a2964cdf439 3237
 8100849db2a8 64c82eae
 Mar  8 03:33:19 web1 kernel: Call Trace:
 Mar  8 03:33:20 web1 kernel:  [80063c6f]
 __mutex_lock_slowpath+0x60/0x9b
 snip
 Anyone else smell an OOM killer? But it's clearly whatever the wget's
 after that's killing the system.

 What makes no sense to me is this runs every 5 minutes all day, but
 only around 3:30 AM does it look up.

 There is nothing in the log that suggests the kernel is having to kill
 processes because it is out of resources.

 No httpd invoked oom-killer etc... which I have seen before in other
 situations.

 http://bugs.centos.org/view.php?id=4515 sounds like what I have going
 on, but not with kjournald of course...

Couple things: a few weeks ago, we were getting OOM Killer running with no
log entries, but that was due to someone starting a parallel processing
job that wanted all the cores... and near the end, wanted half again the
memory, and *all* the threads hit that point apparently so fast OOM Killer
didn't have time or memory to run.

Another thing: it may be running every five minutes, but you might want to
look at what it gets at 03:30 that might be different than the rest of the
day, such as a major backup, or an entire day's reconsiliations, complete
with gigabytes of scans

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] HTtrack for Centos 5.5 ?

2011-03-11 Thread Always Learning
Does anyone know how to install HTtrack on Centos 5.5 please ?

-- 

With best regards,

Paul.
England,
EU.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Web server becoming unresponsive : high load

2011-03-11 Thread m . roth
robert mena wrote:
 Hi,

 I have a web server which is randomly becoming unresponsive.   I've
 checked for hardware problems with no luck :
 - no ethernet errors
 - no disk errors
 - no memory errors

 So far I've managed to point the trouble at the web server since if I
 restart httpd (apache) it comes back to normal.

 This is not a shared server so I control (or at least like to think of)
 what is hosted so I have two suspects:
 a) my own code is behaving strangely.   For example, a php script that in
 a given situation/parameters increases the usage.
 b) some sort of attack.  Either in conjunction to a or other
 vulnerability.

You said you've checked for hardware errors, Robert - how 'bout other
errors. For example, when it becomes unresponsive, what's top or free tell
you?

  mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM

2011-03-11 Thread m . roth
Les Mikesell wrote:
 On 3/11/2011 12:20 PM, PJ wrote:

 What makes no sense to me is this runs every 5 minutes all day, but
 only around 3:30 AM does it look up.

 When did it start happening?  Did it correspond to any hardware change
 or software update that you can pin down?

 http://bugs.centos.org/view.php?id=4515 sounds like what I have going
 on, but not with kjournald of course...

 Is anything else happening that might make the disks busy around then?
 Maybe the raid-check job in cron.weekly is still running?

Any chance of something *not* on your server, such as a router or firewall
doing something then?

 mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Alternatives to apache for php based servers: Nginx

2011-03-11 Thread robert mena
Hi,

Anyone here using Nginx as alternative to apache in conjunction to php
scripts?

Care to share thoughts and caveats?

I am reading that it is a good alternative but do not know the real life
limitations, diferences to apache, which repo to fetch etc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HTtrack for Centos 5.5 ?

2011-03-11 Thread Frank Cox
On Fri, 11 Mar 2011 18:47:01 +
Always Learning wrote:

 Does anyone know how to install HTtrack on Centos 5.5 please ?

Do you mean httrack?  If so, I have an httrack-3.43.12-1.el5.src.rpm and
httrack-3.43.12-1.x86_64.rpm here.



-- 
MELVILLE THEATRE ~ Melville Sask ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM

2011-03-11 Thread Steve Thompson

 PJ wrote:
 Mar  8 03:33:18 web1 kernel: INFO: task wget:13608 blocked for more than
 120 seconds.

Check the number of dirty pages:

grep Dirty /proc/meminfo

relative to the dirty_ratio setting:

cat /proc/sys/vm/dirty_ratio

to see if the system is going into synhronous flush mode around that time 
(especially if dirty_ratio is large and you have a lot of physical 
memory). This is what I usually see as the cause of the blocked for more 
than message. I've also found that it can be several minutes, and up to 
20 minutes, before the system recovers (but recover it always does).

-Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Alternatives to apache for php based servers: Nginx

2011-03-11 Thread Les Mikesell
On 3/11/2011 12:54 PM, robert mena wrote:
 Hi,

 Anyone here using Nginx as alternative to apache in conjunction to php
 scripts?

 Care to share thoughts and caveats?

 I am reading that it is a good alternative but do not know the real life
 limitations, diferences to apache, which repo to fetch etc.

What problem are you trying to solve with apache?

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum tries to install a mix of architectures

2011-03-11 Thread Tim Dunphy
This is pretty much the most useful thread I've ever been a part of on
the CentOS mailing list!!

Thanks a ton to everyone who helped!!

 Also the senior SA I work with gave me this little gem today:

 yum -y remove $(yum list installed |  awk '{print $1}'| egrep -v
(x86_64|noarch))


But of course make SURE you uname -a and make sure the arch is right
before you do because of the -y flag or of course just remove it if
that makes you more comfortable!

Best!
Tim

On Tue, Mar 8, 2011 at 2:23 PM, Nico Kadel-Garcia nka...@gmail.com wrote:
 On Tue, Mar 8, 2011 at 12:05 PM, Akemi Yagi amy...@gmail.com wrote:
 On Tue, Mar 8, 2011 at 8:54 AM, Johnny Hughes joh...@centos.org wrote:

 I would also do this:

 yum reinstall \*

 The reason being that sometimes the /usr/share/ items (shared between
 BOTH packages) get removed when removing multi arch RPMS.

 The above lines added to the FAQ:

 http://wiki.centos.org/FAQ/General?action=show#head-357346ff0bf7c14b0849c3bcce39677aaca528e9

 Take a look at 
 http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Migration_Planning_Guide/ch09s05.html.

 The better solution, at least for CentOS 5,  is to add this to /etc/yum.conf

 # Disable auto-installation of i386 and x86_64
 #multilib_policy=all
 multilib_policy=best
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache/Active Directory authentication

2011-03-11 Thread Dvorkin, Asya
Okay... so at this point I am stuck.

I got this far:

Using modules:

LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_kerb_module modules/mod_auth_kerb.so

root@myserver conf]# net ads testjoin
Join is OK

I successfully joined domain.

[root@myserver conf]# klist -k
Keytab name: FILE:/etc/krb5.keytab
KVNO Principal
 --
   2 host/myserver.server@core.host.edu
   2 host/rmyserver.server@core.host.edu
   2 host/myserver.server@core.host.edu
   2 host/myser...@core.host.edu
   2 host/myser...@core.host.edu
   2 host/myser...@core.host.edu
   2 MYSERVER$@CORE.HOST.EDU
   2 MYSERVER$@CORE.HOST.EDU
   2 MYSERVER$@CORE.HOST.EDU
   2 http/myserver.server@core.host.edu
   2 http/myserver.server@core.host.edu
   2 http/myserver.server.com@CORE.HOSTEDU
   2 http/myser...@core.host.edu
   2 http/myser...@core.host.edu
   2 http/myser...@core.host.edu

My problem is that I am getting an error message in apache logs:

gss_acquire_cred() failed: Unspecified GSS failure.  Minor code may provide 
more information (No principal in keytab matches desired name)

I looked in AD configuration and see that my server does not have appropriate 
ServicePrincipalName for HTTP (only host).  

my keytab file:
-rw--- 1 apache apache 957 Mar 11 14:31 /etc/httpd/conf/krb5.keytab

I have NO right access to AD server and cannot do much about creating proper 
keytab file.

Anything else I can do?  Am I missing something?

Thank you!
Asya


On Mar 10, 2011, at 12:24 PM, John Hodrien wrote:

 On Thu, 10 Mar 2011, Dvorkin, Asya wrote:
 
 John,
 
 Thank you for all your pointers!  You are right.. I was able to create a
 keytab file.  Still having some issues with getting apache to work the way I
 wan to, but will continue troubleshooting it.
 
 No problem, and I'll be interested to hear about any other problems you have.
 I don't get the feeling many people use kerberised Apache.
 
 jh
 ___
 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] Apache/Active Directory authentication

2011-03-11 Thread David Brian Chait
 I looked in AD configuration and see that my server does not have appropriate 
 ServicePrincipalName for HTTP (only host).  

Of course it doesn't, you gathered that ticket by joining the domain with 
Samba, but are not using samba auth with apache... 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] debugging auto mount configuration

2011-03-11 Thread Denniston, Todd A CIV NAVSURFWARCENDIV Crane
 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Boris Epstein
 Sent: Friday, March 11, 2011 8:23
 To: CentOS mailing list
 Subject: [CentOS] debugging auto mount configuration
SNIP
 I have tried running
 
 automount --debug
 and
 automount --verbose
 
 and thus far have not seen any messages that would shed any light on
 what's going on.
 
 So I am a bit lost at the moment. Any advice on how to proceed would
 be much appreciated.
 
 Boris.

It looks like you have started down this road, but jmoyer 
(IIRC one of the guys Red Hat has working on autofs) 
has a page of things that he wants to see when trying to debug your
autofs problems.
Perhaps taking a look here might help.
http://people.redhat.com/jmoyer/


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM - (INFO: task wget:13608 blocked for more than 120 seconds) need sleep, help.

2011-03-11 Thread Denniston, Todd A CIV NAVSURFWARCENDIV Crane
 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of PJ
 Sent: Friday, March 11, 2011 12:34
 To: centos@centos.org
 Subject: [CentOS] Server locking up everyday around 3:30 AM - (INFO:
task
 wget:13608 blocked for more than 120 seconds) need sleep, help.
SNIP
 There are no cron jobs that run at 3:30, no backups, the server has a
 load of 0, nothing is scheduled around that time...
 
SNIP

Are you sure the stuff in /etc/cron.daily/ is done by then or not
started yet?
Could be something like the mlocate or makewhatis chewing up CPU/Mem.
IIRC the stuff in /etc/cron.daily/ runs in alphabetic order so, are you
(root) getting the logwatch messages, and at what time?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache/Active Directory authentication

2011-03-11 Thread David Brian Chait
It appears as though you need to create a proper SPN/keytab from the AD server:

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tsec_SPNEGO_config_dc.html



-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
David Brian Chait
Sent: Friday, March 11, 2011 1:15 PM
To: CentOS mailing list
Subject: Re: [CentOS] Apache/Active Directory authentication

 I looked in AD configuration and see that my server does not have appropriate 
 ServicePrincipalName for HTTP (only host).  

Of course it doesn't, you gathered that ticket by joining the domain with 
Samba, but are not using samba auth with apache... 
___
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] Alternatives to apache for php based servers: Nginx

2011-03-11 Thread Mark Foster
On 03/11/2011 10:54 AM, robert mena wrote:
 Hi,
 
 Anyone here using Nginx as alternative to apache in conjunction to php
 scripts?
 
 Care to share thoughts and caveats?
 
 I am reading that it is a good alternative but do not know the real life
 limitations, diferences to apache, which repo to fetch etc.

First off let me say that nginx is awesome. If you are running a LAMP
stack and cannot use fastcgi with apache then you can put nginx in front
of apache to handle static content requests. Result is dramatic decrease
in memory footprint since you can reduce the number of concurrent apache
procs. Nginx uses a more efficient request handling so you can serve
thousands of clients in under 100MB. I think you can also use fastcgi
with nginx. I haven't done it.

Apache can achieve similar efficiencies with the alternate mpm models
i.e. not prefork.
-- 
Mark D. Foster m...@foster.cc
http://mark.foster.cc/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Alternatives to apache for php based servers: Nginx

2011-03-11 Thread Jim Nelson
On 3/11/2011 4:38 PM, Mark Foster wrote:
 On 03/11/2011 10:54 AM, robert mena wrote:
 Hi,

 Anyone here using Nginx as alternative to apache in conjunction to php
 scripts?

 Care to share thoughts and caveats?

 I am reading that it is a good alternative but do not know the real life
 limitations, diferences to apache, which repo to fetch etc.

 First off let me say that nginx is awesome. If you are running a LAMP
 stack and cannot use fastcgi with apache then you can put nginx in front
 of apache to handle static content requests. Result is dramatic decrease
 in memory footprint since you can reduce the number of concurrent apache
 procs. Nginx uses a more efficient request handling so you can serve
 thousands of clients in under 100MB. I think you can also use fastcgi
 with nginx. I haven't done it.

 Apache can achieve similar efficiencies with the alternate mpm models
 i.e. not prefork.

We use nginx for caching less-dynamic content as well - all our public pages 
are served up with the right caching headers and no 
cookies, which allows nginx to serve out of its own cache. We're running 
mod_perl, but the same principle works for php. This is in 
addition to all the static files (templates, js, css, design images) being 
served directly by nginx.

It's taken us from falling over on 50 concurrent users a year ago to handling 
2000 concurrent users without any slowdown. Once you 
get your public pages cached properly in nginx, apache no longer becomes your 
bottleneck...

-- 
Jim Nelson
Systems Administrator, Broadtime
(888) 582-3229
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] rpm 9.7.3 for epel-6 and centos 5.5

2011-03-11 Thread fakessh @
hello centos list


I recompile the source rpm fedora core 14 on my centos 5.5. 
I wrote a post on my blog to explain how I did. 
goo.gl/p0sqF
I also recompile the rpm via koji to epel 6 and the result is possitive
goo.gl/OQwIX


package is on it safe


sincerely
-- 
gpg --keyserver pgp.mit.edu --recv-key 092164A7
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x092164A7


signature.asc
Description: Ceci est une partie de message	numériquement signée
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM

2011-03-11 Thread PJ
On Fri, Mar 11, 2011 at 11:05 AM, Steve Thompson s...@vgersoft.com wrote:

 PJ wrote:
 Mar  8 03:33:18 web1 kernel: INFO: task wget:13608 blocked for more than
 120 seconds.

 Check the number of dirty pages:

        grep Dirty /proc/meminfo

 relative to the dirty_ratio setting:

        cat /proc/sys/vm/dirty_ratio

 to see if the system is going into synhronous flush mode around that time
 (especially if dirty_ratio is large and you have a lot of physical
 memory). This is what I usually see as the cause of the blocked for more
 than message. I've also found that it can be several minutes, and up to
 20 minutes, before the system recovers (but recover it always does).

 -Steve
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Great replies from everyone, I really appreciate the feedback.

Interesting entries in /var/log/cron:

-snip-
(this runs 24/7 every 5 minutes as normal...)

Mar 11 02:20:01 web1 crond[12919]: (webuser) CMD (wget -q
www.domain.com/cron.php /dev/null 21)
Mar 11 02:25:01 web1 crond[12950]: (webuser) CMD (wget -q
www.domain.com/cron.php /dev/null 21)
Mar 11 02:30:01 web1 crond[12969]: (webuser) CMD (wget -q
www.domain.com/cron.php /dev/null 21)
Mar 11 02:35:01 web1 crond[12992]: (webuser) CMD (wget -q
www.domain.com/cron.php /dev/null 21)
Mar 11 02:40:01 web1 crond[13014]: (webuser) CMD (wget -q
www.domain.com/cron.php /dev/null 21)
Mar 11 02:45:01 web1 crond[13218]: (webuser) CMD (wget -q
www.domain.com/cron.php /dev/null 21)

-snip-
(fast forward to 3 AM, the same cron job starts getting delayed by
3:27 the server was non responsive. Never seen this before)

Mar 11 03:01:01 web1 crond[13613]: (root) CMD (run-parts /etc/cron.hourly)
Mar 11 03:07:20 web1 crond[13727]: (webuser) error: Job execution of
per-minute job scheduled for 03:05 delayed into subsequent minute
03:07. Skipping job run.
Mar 11 03:07:20 web1 crond[13727]: CRON (webuser) ERROR: cannot set
security context
Mar 11 03:13:00 web1 crond[13825]: (webuser) error: Job execution of
per-minute job scheduled for 03:10 delayed into subsequent minute
03:13. Skipping job run.
Mar 11 03:13:00 web1 crond[13825]: CRON (webuser) ERROR: cannot set
security context
Mar 11 03:19:29 web1 crond[13854]: (webuser) error: Job execution of
per-minute job scheduled for 03:15 delayed into subsequent minute
03:19. Skipping job run.
Mar 11 03:20:16 web1 crond[13890]: (webuser) CMD (wget -q
www.domain.com/cron.php /dev/null 21)
Mar 11 03:21:01 web1 crond[13854]: CRON (webuser) ERROR: cannot set
security context
Mar 11 03:27:41 web1 crond[13912]: (webuser) error: Job execution of
per-minute job scheduled for 03:25 delayed into subsequent minute
03:27. Skipping job run.
Mar 11 03:27:42 web1 crond[13912]: CRON (webuser) ERROR: cannot set
security context
Mar 11 03:32:05 web1 crond[13930]: (webuser) error: Job execution of
per-minute job scheduled for 03:30 delayed into subsequent minute
03:32. Skipping job run.
Mar 11 03:32:05 web1 crond[13930]: CRON (webuser) ERROR: cannot set
security context
Mar 11 03:36:23 web1 crond[13948]: (webuser) error: Job execution of
per-minute job scheduled for 03:35 delayed into subsequent minute
03:36. Skipping job run.
Mar 11 03:36:23 web1 crond[13948]: CRON (webuser) ERROR: cannot set
security context

(rebooted)
Mar 11 03:41:15 web1 crond[4776]: (CRON) STARTUP (V5.0)

-snip-

I don't think it is a coincidence I'm seeing CRON (webuser) ERROR:
cannot set security context around the same time the server stops
responding.

I'm not familiar with this message, anyone here seen it?

cron daily fires off at 4:02, after all this stuff...

nothing in cron.hourly..

Getting warmer I think, but still cant figure it out!

--
PJ
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Web server becoming unresponsive : high load

2011-03-11 Thread Kai Schaetzl
Robert mena wrote on Fri, 11 Mar 2011 14:26:03 -0400:

 php 5.2.10

upgrade

Kai


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM

2011-03-11 Thread m . roth
PJ wrote:
 On Fri, Mar 11, 2011 at 11:05 AM, Steve Thompson s...@vgersoft.com wrote:

 PJ wrote:
 Mar  8 03:33:18 web1 kernel: INFO: task wget:13608 blocked for more
than 120 seconds.
snip
 Great replies from everyone, I really appreciate the feedback.

 Interesting entries in /var/log/cron:
snip
 Mar 11 03:01:01 web1 crond[13613]: (root) CMD (run-parts
/etc/cron.hourly) Mar 11 03:07:20 web1 crond[13727]: (webuser) error:
Job execution of per-minute job scheduled for 03:05 delayed into
subsequent minute 03:07. Skipping job run.
 Mar 11 03:07:20 web1 crond[13727]: CRON (webuser) ERROR: cannot set
security context
snip
SELINUX! Look at /var/log/messages for an selinux error: if you don't have
sealert, install the package, then use it on /var/log/audit.

Or put selinux in permissive mode.

mark



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Web server becoming unresponsive : high load

2011-03-11 Thread robert mena
Ok. centos does not offer any newer than this.

got a better place to use?

On Fri, Mar 11, 2011 at 6:31 PM, Kai Schaetzl mailli...@conactive.comwrote:

 Robert mena wrote on Fri, 11 Mar 2011 14:26:03 -0400:

  php 5.2.10

 upgrade

 Kai


 ___
 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] rpm 9.7.3 for epel-6 and centos 5.5

2011-03-11 Thread Nico Kadel-Garcia
2011/3/11 fakessh @ fake...@fakessh.eu:
 hello centos list


 I recompile the source rpm fedora core 14 on my centos 5.5.
 I wrote a post on my blog to explain how I did.
 goo.gl/p0sqF
 I also recompile the rpm via koji to epel 6 and the result is possitive
 goo.gl/OQwIX


 package is on it safe

*Cool*. That could be *very* useful for centosplus, to allow CentOS
5.x systems to build CentOS 5.x packages in mock.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Web server becoming unresponsive : high load

2011-03-11 Thread John R Pierce
On 03/11/11 2:45 PM, robert mena wrote:
 Ok. centos does not offer any newer than this. 

indeed, el5's default version is 5.1.6,  and there's nothing newer than 
that in the standard repositories, so your 5.2.10 must have come from 
somewhere else?



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum tries to install a mix of architectures

2011-03-11 Thread Nico Kadel-Garcia
On Fri, Mar 11, 2011 at 2:32 PM, Tim Dunphy bluethu...@gmail.com wrote:
 This is pretty much the most useful thread I've ever been a part of on
 the CentOS mailing list!!

 Thanks a ton to everyone who helped!!

  Also the senior SA I work with gave me this little gem today:

  yum -y remove $(yum list installed |  awk '{print $1}'| egrep -v
 (x86_64|noarch))


 But of course make SURE you uname -a and make sure the arch is right
 before you do because of the -y flag or of course just remove it if
 that makes you more comfortable!

 Best!
 Tim

Tim, unless you've misinterpreted what he said, that senior SA
should have his scripting privileges revoked and his title replaced
with script-kiddie wanna-be. That command is hideously dangerous.

The first flaw is that it will flush the GPG keys, which have
architecture '(none)'

The second flaw is that noarch and x86_64 packages may have
*dependencies* on components that are i386 or i686 or some other
architecture, and rippiong out the i386 packages may rip out the
x86_64 packages as well.

Third is that using yum to generate the target list will wind up
trying to remove packages you don't even have installed, or packages
that have i386 versions in one repository but not in the other
repository, and cause *real* chaos.

If you need to do something like this, take a look at an actual list
generated with

LANG=C rpm -qa --qf '%{name}.%{arch}\n | egrep -v
(x86_64|noarch))

Then use yum to go down the list and *manually* accept them, not
automatically, for your own safety.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM

2011-03-11 Thread PJ
On Fri, Mar 11, 2011 at 2:33 PM,  m.r...@5-cent.us wrote:
 PJ wrote:
 On Fri, Mar 11, 2011 at 11:05 AM, Steve Thompson s...@vgersoft.com wrote:

 PJ wrote:
 Mar  8 03:33:18 web1 kernel: INFO: task wget:13608 blocked for more
 than 120 seconds.
 snip
 Great replies from everyone, I really appreciate the feedback.

 Interesting entries in /var/log/cron:
 snip
 Mar 11 03:01:01 web1 crond[13613]: (root) CMD (run-parts
 /etc/cron.hourly) Mar 11 03:07:20 web1 crond[13727]: (webuser) error:
 Job execution of per-minute job scheduled for 03:05 delayed into
 subsequent minute 03:07. Skipping job run.
 Mar 11 03:07:20 web1 crond[13727]: CRON (webuser) ERROR: cannot set
 security context
 snip
 SELINUX! Look at /var/log/messages for an selinux error: if you don't have
 sealert, install the package, then use it on /var/log/audit.

 Or put selinux in permissive mode.

        mark



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


I thought about that :)

[root@web1 ~]# sestatus
SELinux status: disabled

It's already disabled and always has been.

Thanks,

--
PJ
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rpm 9.7.3 for epel-6 and centos 5.5

2011-03-11 Thread Nico Kadel-Garcia
2011/3/11 fakessh @ fake...@fakessh.eu:
 hello centos list


 I recompile the source rpm fedora core 14 on my centos 5.5.
 I wrote a post on my blog to explain how I did.
 goo.gl/p0sqF
 I also recompile the rpm via koji to epel 6 and the result is possitive
 goo.gl/OQwIX


 package is on it safe

OK, I misinterpreted the title of this. But you don't need to do this!!!

If you look at the bind97 package from RHEL 5.6, available at
http://mirrors.kernel.org/redhat/redhat/linux/enterprise/5Server/en/os/SRPMS/bind97-9.7.0-6.P2.el5.src.rpm,
you'll see that it already provides all of this as necessary in a
format compatible and unlikely to overwrite updates from the upstream
vendor..
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM - (INFO: task wget:13608 blocked for more than 120 seconds) need sleep, help.

2011-03-11 Thread Ross Walker
On Mar 11, 2011, at 12:33 PM, PJ pauljer...@gmail.com wrote:

 This may or may not be CentOS related, but am out of ideas at this
 point and wanted to bounce this off the list.
 
 I'm running a CentOS 5.5 server, running the latest kernel 
 2.6.18-194.32.1.el5.
 
 Almost everyday around 3:30 AM the server completely locks up and has
 to be power cycled before it will come back online.
 (this means someone hat to wake up and reboot the server, oh how I
 love being an internet janitor! :)
 
 Smells like a hardware issue to me too, but I went through all of the
 dell diagnostics, updated the firmware, everything checks out as being
 okay, RAID, disks, RAM, etc... Spent an hour on the phone with a Dell
 tech. No hardware issues, at least that we were able to find.
 
 There are no cron jobs that run at 3:30, no backups, the server has a
 load of 0, nothing is scheduled around that time...
 
 The only crontab entry at all is */5 * * * * wget -q
 www.websitedomain.com/cron.php /dev/null 21
 They are running Magento for commerce purposes and this runs every 5 minutes.
 
 Why does the server only lockup around 3:30 AM? Because it's knows I
 am fast asleep?
 
 I was able to pull this from /var/log/messages, this happens just
 seconds before locking up completely...
 
 Mar  8 03:33:18 web1 kernel: INFO: task wget:13608 blocked for more
 than 120 seconds.
 Mar  8 03:33:19 web1 kernel: echo 0 
 /proc/sys/kernel/hung_task_timeout_secs disables this message.
 Mar  8 03:33:19 web1 kernel: wget  D 810001004420 0
 13608  13607 (NOTLB)
 Mar  8 03:33:19 web1 kernel:  81007bc7bc78 0086
 81007bc7bd88 81000100d3f8
 Mar  8 03:33:19 web1 kernel:  81007bc7bbf0 0007
 8100849db0c0 80308b60
 Mar  8 03:33:19 web1 kernel:  00013a2964cdf439 3237
 8100849db2a8 64c82eae
 Mar  8 03:33:19 web1 kernel: Call Trace:
 Mar  8 03:33:20 web1 kernel:  [80063c6f]
 __mutex_lock_slowpath+0x60/0x9b
 Mar  8 03:33:20 web1 kernel:  [80063cb9] .text.lock.mutex+0xf/0x14
 Mar  8 03:33:20 web1 kernel:  [8000cf82] do_lookup+0x90/0x1e6
 Mar  8 03:33:20 web1 kernel:  [8000a29c] 
 __link_path_walk+0xa01/0xf5b
 Mar  8 03:33:20 web1 kernel:  [8000ea4b] link_path_walk+0x42/0xb2
 Mar  8 03:33:20 web1 kernel:  [8000cd72] do_path_lookup+0x275/0x2f1
 Mar  8 03:33:23 web1 kernel:  [80012851] getname+0x15b/0x1c2
 Mar  8 03:33:23 web1 kernel:  [800239d1] __user_walk_fd+0x37/0x4c
 Mar  8 03:33:23 web1 kernel:  [80028905] vfs_stat_fd+0x1b/0x4a
 Mar  8 03:33:23 web1 kernel:  [80023703] sys_newstat+0x19/0x31
 Mar  8 03:33:23 web1 kernel:  [8005d116] system_call+0x7e/0x83
 
 If anyone has some advice on where to go from here it would be greatly
 appreciated.

Do a fsck of the file system wget is writing to as there might be a corruption 
it hits only on the 3:30am run as that's when the other vendor dumps data to be 
downloaded.

You could also check to see if a RAID  patrol read (scrub/predictive failure 
detection) is happening around this time as well and disable/reschedule it.

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM

2011-03-11 Thread m . roth
PJ wrote:
 On Fri, Mar 11, 2011 at 2:33 PM,  m.r...@5-cent.us wrote:
 PJ wrote:
 On Fri, Mar 11, 2011 at 11:05 AM, Steve Thompson s...@vgersoft.com
 wrote:

 PJ wrote:
 Mar  8 03:33:18 web1 kernel: INFO: task wget:13608 blocked for more
 than 120 seconds.
 snip
 Great replies from everyone, I really appreciate the feedback.

 Interesting entries in /var/log/cron:
 snip
 Mar 11 03:01:01 web1 crond[13613]: (root) CMD (run-parts
 /etc/cron.hourly) Mar 11 03:07:20 web1 crond[13727]: (webuser) error:
 Job execution of per-minute job scheduled for 03:05 delayed into
 subsequent minute 03:07. Skipping job run.
 Mar 11 03:07:20 web1 crond[13727]: CRON (webuser) ERROR: cannot set
 security context
 snip
 SELINUX! Look at /var/log/messages for an selinux error: if you don't
 have sealert, install the package, then use it on /var/log/audit.

 Or put selinux in permissive mode.

 I thought about that :)

 [root@web1 ~]# sestatus
 SELinux status: disabled

 It's already disabled and always has been.

acl's?

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server locking up everyday around 3:30 AM

2011-03-11 Thread m . roth
Here's a thought: see what directory the wget's trying to put the file in.

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] screen saver unlock dialog window is not visible in clone mode

2011-03-11 Thread Nico Kadel-Garcia
On Fri, Mar 11, 2011 at 8:30 AM, DarkKnight BrightWarrior
bindasbe...@gmail.com wrote:
 Hi,

 Environment:
 I am using CentOS 5.3 operating system. I upgraded xorg of centos to 7.3.
 I am using intel 945 GM board. My xorg server version is 1.4.2 and inetl
 driver version 2.4.3.
 gnome-screensaver version is 2.16.1-8.el5.

Don't. do that if you don't have to. You're trying to marry a far
updated component to an out of date OS. *At least* update to CentOS
5.5 before proceeding, to avoid out-of-date component and kernel
issues which Xorg 7.3 may rely on without even your knowledge.

I've done precisely this kind of thing several times of the last 20
years, and you can save a lot of pain by making sure your base OS is
up to date.

 Problem:
 I connected another system of same hardware using VGA output. Now I can see
 clone of my system on secondary display.
 I enabled screensaver with 1 minute period and also enabled locking feature
 using gnome-screensaver-preferences.
 After 1 minute screensaver appeared on both primary and secondary displays.
 But when I move mouse or press any key, Screen saver unlock dialog is not
 appearing.
 But when I type password, I am able to comeout of screensaver. So Screensver
 unlock dialog is there but it is not visible.
 When I remove secondary display, I mean when I am in single display mode
 screen saver unlock dialog is visible and working fine.
 So what could be the problem that causing screensaver unlock dialog window
 to appear/visible in clone/extended monitor mode.

What is this same hardware? And how did you install Xorg 7.3?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Race condition with mdadm at boot [still mystifying]

2011-03-11 Thread Chuck Munro

On 03/11/2011 09:00 AM, Les Mikesell wrote:

 On 3/10/11 9:25 PM, Chuck Munro wrote:

   However, on close examination of dmesg, I found something very
   interesting.  There were missing 'bindsd??' statements for one or the
   other hot spare drive (or sometimes both).  These drives are connected
   to the last PHYs in each SATA controller ... in other words they are the
   last devices probed by the driver for a particular controller.  It would
   appear that the drivers are bailing out before managing to enumerate all
   of the partitions on the last drive in a group, and missing partitions
   occur quite randomly.
 
   So it may or may not be a timing issue between the WD Caviar Black
   drives and both the LSI and Marvell SAS/SATA controller chips.
 I've seen some weirdness in powering up 6 or more SATA drives but never
 completely pinned down whether it was the controller, drive cage, or 
 particular
 drives causing the problem.  But I think my symptom was completely failing to
 detect some drives when certain combinations of disks were installed although
 each would work individually.  Do you have any options about whether they 
 power
 up immediately or wait until accessed?

That's a good question, one I have experimented with.  I don't have any 
choice as to when the drives are spun up (only on bootup), but I did try 
a controller card which pre-spun and checked the identification of the 
drives before handing off to the BIOS for bootup.  That didn't help.

On the particular Supermicro motherboard I'm using, there is a very long 
delay (10 or 15 sec) between power-on and initiation of visible BIOS 
activity, so all disk drives have ample time to spin up and stabilize. 
The drives' SMART data shows that the average spin-up time is well 
within the BIOS startup delay.  Each drive activity indicator shows that 
they are always probed by the kernel's scsi scan process.

I have since tried a couple of other tricks I found by Googling around 
... setting the kernel parameters 'rootdelay=xx' and 
'scsi_mod.scan=sync'.  These had no effect on the problem.  For some 
unfathomable reason, the last drives in each group of drives have one or 
more random partitions missing, with no 'bind' statement in dmesg. 
Other partitions on those drives are bound normally.  This has been 
tested with at least two known-good replacement drives, with the same 
random results.  On two occasions today, everything worked perfectly, 
but that was unusual.

A friend of mine suggested an ugly hack - connect two 'dummy' unused old 
SATA drives to the last port of each controller (I'm using only 6 of 8 
on each).  I wonder if one of those $15 IDE-to-SATA converters would do 
the job (without a drive attached)?  Foolish thought  :-/

Chuck
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Alternatives to apache for php based servers: Nginx

2011-03-11 Thread Geoff Galitz


 Anyone here using Nginx as alternative to apache in conjunction to php 
 scripts?


 Care to share thoughts and caveats?

 
Yes, we use nginx + PHP and also apache + nginx + PHP extensively and it works 
well.  

You can also look at lighttpd + PHP as another alternative that works well.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos