323 reputation
1719
bio website
location
age
visits member for 4 years, 1 month
seen 2 days ago

Sep
17
comment Very high disk IO on Mongodb Config servers
Ah, good to know. So after upgrading those mongos clients the disk activity on the config servers has fallen by about 50%. It still seems a little on the high side to me, but a vast improvement! Thanks.
Sep
17
comment Very high disk IO on Mongodb Config servers
Thanks. I'm running 2.4.5, and also have quiet=true in the configuration file (I'm assuming that is the same as the --quiet flag). I've restarted all of the processes in my cluster to no avail. I've just noticed that some mongos processes on the app servers (not part of the mongodb cluster) are running 2.4.3 though - perhaps this is the issue...
Sep
16
comment Identifying particular node processes in htop
It's the same binary unfortunately, processing different scripts. The open files route is an option I hadn't considered, and might be doable. Thanks!
May
14
comment HAProxy loadbalanced backend - behaviour when one server down
Working well now thank you.
May
14
comment HAProxy loadbalanced backend - behaviour when one server down
Ah - missed the check. I'll add that and see (the default url should be ok, but I've explicitly added one now anyway). Thank you.
May
13
comment How to properly set permissions for NFS folder? Permission denied on mounting end.
Second link is dead
May
1
comment Possible to add basic HTTP access authentication via HAProxy?
+1 Just wanted to add that you can also add the final lines in a frontend definition rather than backend if you want. And the realm xxxx part is optional.
Apr
25
comment iptables Tips & Tricks
Re the whitelist script: Theres iptables on line 8, and then $IPTABLES later on. Is it enough just to use iptables everywhere? Otherwise I suppose you'd need to assign something like IPTABLES=/sbin/iptables right?
Apr
25
comment Can I use IPs assigned to virtual network interfaces in a bash script?
Ah, great thanks.
Apr
25
comment Can I use IPs assigned to virtual network interfaces in a bash script?
It seems it returns both IP addresses assigned to the interface whether I use eth0 or eth0:0. If the order is guaranteed though, perhaps I can just select the right one from the string.
Apr
25
comment Can I use IPs assigned to virtual network interfaces in a bash script?
Interesting - I'll have a play around with that. Thanks.
Apr
25
comment iptables Tips & Tricks
That's a real pity it's not supported by default on Debian and Ubuntu. I thought you were going to list some obsure distros :/
Apr
25
comment Strange behaviour starting process with init script
Ok I'll try the patch then. Thanks for your help.
Apr
24
comment Strange behaviour starting process with init script
Yes, Xen VMs. I just ran the command in that linked question and see NUMA turned off.
Apr
24
comment Strange behaviour starting process with init script
Regarding NUMA - I'm afraid I don't know anything about this. It's a 64 bit Linode VPS instance. Is there any way I can check?
Apr
24
comment Strange behaviour starting process with init script
Ah - it certainly seems to match those symptoms, thanks! At least I know what it is now :) I will log into jira and add what I can.
Apr
23
comment Strange behaviour starting process with init script
Hmm - it seems that if I boot fresh, the process id in the PID file is different from the one reported by ps -ef. (The pid file value is slightly higher). Any ideas what could be causing this?
Apr
23
comment Strange behaviour starting process with init script
Thanks for the response. There should only be one instance running on this machine (the config server mongod) and as far as I can see that is the case. Regarding permisions on the PID file - its root/root with readonly permissions for everyone else - should this be different? If so, I wonder why I havent seen this problem on other machines. The only other thing I;m thinking is maybe the fork=true in the config - is that a potential problem? I've added the config file to the question. Thanks.
Apr
22
comment Mongodb sharding - Init script for mongos process?
Thanks for the detailed reply Adam, I've now implemented something along these lines.
Mar
30
comment How to block IP addresses in HAProxy?
Do you know of way to read the ips from a more flexible store, like db or seperate flat file?