1,685 reputation
713
bio website google.com
location Boston, MA
age 36
visits member for 5 years, 7 months
seen 10 hours ago

Jun
17
comment HAProxy - uneven load distribution
@JamesRyan - hmm, I was just restating a recommendation from the author of haproxy, but I do agree (and usually use leastconn myself when there's any variability in session time). I wonder if there really is a drawback to leastconn with a high session rate...
Jun
17
comment HAProxy - uneven load distribution
@JamesRyan - Agreed. The OP though said he has identical machines fielding identical requests. I was trying to show that the load balancing may still be even, and skewed load cause by another problem (Maybe my answer should have been comment). You're trying to solve the problem (which is good), where as I'm trying to diagnose the symptoms.
Jun
17
revised HAProxy - uneven load distribution
edited body
Jun
17
revised Help with user login on Centos 5.6
added 51 characters in body
Jun
17
comment Help with user login on Centos 5.6
@faker - of course, wasn't thinking about pam, just config options.
Jun
17
answered Periodic unresponsiveness in tomcat
Jun
17
answered HAProxy - uneven load distribution
Jun
17
comment HAProxy - uneven load distribution
For short, stateless connections, using roundrobin and varying the server weights is still better than leastconn when you need to balance asymmetrically. Leastconn works better for long lived tcp connections, where the number of corrent sessions is more relevant.
Jun
17
answered How to make apache to run python scripts using MOD_WSGI or MOD_PYTHON in RHEL6?
Jun
17
answered Help with user login on Centos 5.6
Jun
17
comment How can I power down my server when the mains power plug is pulled out?
"I have a server running which has a main power cable connected to power" - I have some of those too. You have to get the ones without cables.
Jun
15
revised `mpstat` sometimes shows above 100% CPU usage
added 1267 characters in body
Jun
15
comment `mpstat` sometimes shows above 100% CPU usage
@samarudge - I implied the reason by stating it was an "estimate", but I'll add more detail.
Jun
14
answered `mpstat` sometimes shows above 100% CPU usage
Jun
14
comment How do I figure out why a tomcat6 webapps dir symbolic link works on one machine, but not another?
have you checked the tomcat logs yet?
Jun
10
comment Resizing swap partition (RHEL 5.x)
@ring bearer - No, two swap areas won't be a problem. The only thing you would need to avoid is if the logical volume was made up of small pieces broken up across multiple devices, or fragmented across the disk (which is a reason not to use a file as swap).
Jun
10
comment Multi Threaded file sync between 2 Linux servers
@Guacamole - All I'm pointing out is that if he's using ssh as a transport, his throughput is limited by ssh itself (specifically the static receive window, unless he's using the HPN ssh patches).
Jun
10
comment Multi Threaded file sync between 2 Linux servers
@Tom van Ommen - Not that I'm doubting you (many people don't realize this part), are you really are running an rsync daemon on the other end? Specifying the target as hostname:remote/path uses ssh, which can't saturate a 1GB link. Make sure you're using a double colon ::, or rsync://
Jun
10
comment Multi Threaded file sync between 2 Linux servers
@Guacamole - multiple thread could help in some situations, but if his link is saturated, he's not going to push any more through no matter how many thread he has. Rsync does use threads for concurrency, and isn't internally blocking on IO.
Jun
10
comment Multi Threaded file sync between 2 Linux servers
@Tom van Ommen - procs vs thread won't make much of a difference in this case. If you're not using ssh, how are the files being transferred (rsync over tcp, nfs, iscsi, rsh)