5,188 reputation
1133
bio website alexclear.livejournal.com
location Mother Russia
age 37
visits member for 3 years, 11 months
seen 1 hour ago

An experienced software developer with a bit of sysadmin background. Can't dance.


Aug
8
comment Chef recipe to install varnish 3.0 on ubuntu lucid?
You should try to execute apt-get update on the node manually I guess. apt cookbook does not always do that in right times, I often have problems with it.
Aug
8
comment Chef recipe to install varnish 3.0 on ubuntu lucid?
What if you set an explicit version of the package using version attribute? Could you please also post chef-client execution log somewhere?
Aug
8
comment Determine if file is in the process of being written upon?
Yeah, thanks for correction!
Aug
8
comment Why is my AWS instance not reachable?
Not exactly wrong but just too restrictive, you only allow incoming connections from sg-.... which I guess is related to your Amazon infrastructure but not the public web. You should a set of rules to allow hosts from 0.0.0.0/0 to access certain TCP ports or to ping the hosts in this security group.
Aug
8
comment Apache optimization - prefork MPM
Well, the problem with big MaxClients settings is that if traffic increases when more users come nothing will prevent Apache workers from eating all available memory and swap. Your server will become effectively unreachable then. So I highly recommend to put a sane cap there, and 80 looks reasonable.
Aug
8
comment Why is my AWS instance not reachable?
Well you seem to be dropping all incoming connections
Aug
8
comment iptables not allowing outgoing packets on 1194
It is not clear from which host these iptables rules are. Is iptables configure on the server or on the client?
Aug
8
comment Apache optimization - prefork MPM
Could you please post an output of ps axf | grep httpd when you have 2k conns (I highly doubt you can have 2k truly concurrent conns in this environment)? A real number of concurrent connections is close to the number of concurrent Apache processes.
Aug
8
comment Service modules_dep on CentOS 6.3
I've never heard of this daemon and quick googling for "module_dep" shows your question on SF as a result #1, could you please provide more details like ps ax and which module_dep, etc?
Aug
8
comment Hostname forward to port
Well so you need a layer 7 (protocol aware) proxy then. If the protocol is HTTP you can use nginx for proxying different domains to different ports.
Aug
8
comment MySQL hot backups on database inside a Virtuozzo container
If you don't use native MySQL full text search you can convert them to InnoDB easily (and I strongly recommend to do it because MyISAM storage is just not crash safe). Please note that conversion process locks tables so they are effectively offline during conversion phase so it's better to perform the conversion as soon as possible while you don't have much data.
Aug
8
comment Apache2 decides to ignore the ErrorLog location. How to fix?
Well since settings are per virtual host it's better to modify that file I think.
Aug
8
comment Apache2 decides to ignore the ErrorLog location. How to fix?
I suppose you are on Debian or Ubuntu, please check /etc/apache2/sites-available/default, your default VirtualHost configuration is right there.
Aug
8
comment Hostname forward to port
Hmm port redirection is domain agnostic, it will forward all incoming traffic to another port. This is by design, redirection works on network layer 3 and domains are network layer 7 thing. So you are probably doing something wrong, why do you need to explicitly provide a domain name to redirection rule?
Aug
8
comment Hostname forward to port
Why don't you just listen on that port without a redirection then? Anyway iptables -t nat -A PREROUTING -i eth0 -p tcp --dport $srcPortNumber -j REDIRECT --to-port $dstPortNumber should help. Please substitute eth0, $srcPortNumber and $dstPortNumber with real values.
Aug
8
comment Hostname forward to port
Hmm, it looks like your software resides on the same server your domain points to (from your comment above), is that true? There are two different iptables commands for forwarding the port to the same server and to the other server.
Aug
8
comment Cannot install Ioncube on php
Please post result of uname -a, you are on x86_64 architecture I guess
Aug
8
comment Cant access LocalHost from Browser
Please post a content of your /etc/sysconfig/iptables from the server
Aug
7
comment MySQL insert cause high disk i/o wait?
It can help if you have a SAN or a RAID controller with BBU and write cache enabled but I don't think you do based on your numbers. In other situations performance can even degrade with O_DIRECT.
Jul
19
comment Why does nginx 1.0.0 appear to not use the kernels open file cache on Gentoo? (high iowait)
Have you tried to trace the nginx process using strace?