384 reputation
1518
bio website
location
age
visits member for 3 years, 7 months
seen Mar 28 at 15:32

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?
Mar
28
comment CDNs - is there a delay between file submission and availability?
@Jay - yeah apparently its the time before it's purged from the CDN (not just the cache headers sent to the client), according to their support. The docs are a little more ambiguous though: support.netdna.com/howto/custom-expiry-headers.
Mar
28
comment CDNs - is there a delay between file submission and availability?
@Jay - yeah good point. I checked and it seems you can override the default cache expiry time in MaxCDN (they say 'no limit' but I'm sure there must be).
Mar
28
comment CDNs - is there a delay between file submission and availability?
@MichaelHampton - wasn't familiar with it, but yes it seems like the way to go.
Mar
27
comment CDNs - is there a delay between file submission and availability?
I see. Thank you.
Mar
27
comment CDNs - is there a delay between file submission and availability?
Thanks! The files will not change, so I'm not worried about long cache rules. However there will be files added regularly, and I'm concerned about when these new files will become available to users after they are added via the API.
Mar
27
comment CDNs - is there a delay between file submission and availability?
BTW - I realise that is a bit of an edge question (which presumably is why the vote to close). I don't think its a perfect match for SO, Serverfault or webmasters.
Mar
26
comment Is this a sensible way to scale Nginx for static content serving?
That's in the sense that NFS is not particularly known to be a performant solution, but that's the reason for my question, and as Dennis mentioned, NFS might not be a good fit. but if you know that your site can run out of a small VPS - I never said this, only that we are using VPS as the basis. There are many sites that have grown to a large scale on VPS (e.g. Pintest, Reddit - which has 200-odd EC2 instances AFAIK). The whole reason for my question is that I want to consider scalability of this part of the architecture now rather than later.
Mar
25
comment Is this a sensible way to scale Nginx for static content serving?
Thanks. Not sure I understand this sentence If you're thinking about using VPS and NFS, I don't think your concerns about scalability are justified. - could you clarify? At some point 1 machine is not going to cut it (VPS or not), so I'd rather have things set up for scale-out before that.
Mar
23
comment Is this a sensible way to scale Nginx for static content serving?
Ah, looks like varnish can use ram and disk.
Mar
23
comment Is this a sensible way to scale Nginx for static content serving?
Thanks. One last question then :) - I've no experience with caching proxies - do they cache in RAM only? Or do they also cache to local disk? Just wondering what amount of RAM would be required to keep them going back to the content servers.
Mar
23
comment which CDNs are popular websites using?
Great info, thanks. I see that MaxCDN list stackoverflow as a customer on their frontpage - wonder if that's still the case?