395 reputation
212
bio website acmedata.in
location Singapore, Singapore
age
visits member for 3 years, 8 months
seen Mar 25 at 17:28

Nothing about me matters. I still dont get why people like to write about themselves so much on the internet. stfu


Nov
19
comment nginx hackery : change image file every X request
yes agreed. +1 for incron suggestion. might be useful.
Nov
19
answered What server setup for a small web development company?
Nov
19
comment What server setup for a small web development company?
posting my answer below since it slonger than comment
Nov
19
answered is it worth to use load balancer on web server/website
Nov
19
answered nginx hackery : change image file every X request
Nov
19
comment nginx hackery : change image file every X request
Yes, but I don't see how we can store state information. For e.g. file xyz.txt was accessed 12 times - lets replace it. So end of it I need to maintain a running process or (FILE) to hold these values. I think I found an easier solution using nginx. posting answer.
Nov
19
comment nginx hackery : change image file every X request
sounds like a plausible solution. Do you have any example of this IN_ACCESS event? I will lookup incron now. edit: ok i checked incron. although in_access will occur everytime , i am wondering how to do the nTH access for every file.
Nov
19
comment How to setup a Postfix SMTP-only for multiple domains
Your answer came later but I add a note why I think its not correct for my question. My problem was not with gmail , the problem is with email headers not correctly using the domain I am sending from. Also I need to send from multiple domains on the same system. For some reason it just uses hostname.localdomain or the one real domain I manage to specify.
Nov
19
asked nginx hackery : change image file every X request
Nov
6
awarded  Popular Question
Oct
13
comment Slow network file copy on Windows 7
well Filezilla FTP works fine. it delivers the max speed possible like 70Mbps. However I am guessing its the negotiation between windows in the windows ways of doing things is screwed. Still no solution.
Oct
7
comment Slow network file copy on Windows 7
hey wesley, i follow you on twitter. coincidence. I tried this but it has no efect. Also tried mnually setting FUll duplex. One thing of note is that my windows 7 has gigabit ethernet connected to gigabit power adapter but the XP is 100 Mbps lan. I am going to try Filezilla ftp solution. sysamdin to rescue. darm i hate windoze
Oct
4
comment What's a common mechanism for emailing in the background?
I think you are right lamp_Scaler about using mail server as the middle man. Atleast the user experience is instantaneous. As to why connection is taking so long maybe your provider is at fault here. I suggest switching providers if possible or to pose this issue to them in their tech support.
Sep
15
comment MySQL max_connections on an EC2 m1.large instance
found the myisam_sort_buffer_size which I could definitely use if it can help. However I have successfully used 6000 connections on 32GB Ram in RDS, but it was one of those omgwtf! moments
Sep
8
revised php 5.3.6 is php-fpm included?
new info
Sep
8
accepted anyone doing php-fpm and APC? cache files missing in /tmp
Sep
6
comment Managing logs for several dynamic instance on Amazon
Great! Just what I needed. will be adding logstash. thanks again
Jul
26
comment Managing logs for several dynamic instance on Amazon
yes graylog combined with AMQP did my work perfectly. Awesome suggestion and to anyone else who finds this QA helpful know this that I mark it as correct after implementing the suggestion in production. Martin: Will also check out your suggestion for SNMP. Rotation, havent worked this out on graylog yet. lets see when i get to that bridge :D
Jul
26
accepted Managing logs for several dynamic instance on Amazon
Jun
23
comment Unable to remove limit on memory usage for PHP script
I read your response above on Tibbits answer. I was going to suggest (i know quite late) to look at limits. If ulimit is your problem you can make the change permanent with either with kernel tune parameter or i you OS has this file /etc/security/limits.conf and add memlock limit to unlimited for the user that runs php/web.