392 reputation
519
bio website thongtincongnghe.com
location Paris, France
age 32
visits member for 3 years, 4 months
seen Nov 22 at 23:50

Drupal developer. FOSS user.


Mar
2
comment Nginx failed to start on boot: “Cannot assign requested address”
Great comment. Not really. I do need to separate sites from LAN and from Internet (which I have port forwarding on router), I also use iptables to forward things line 127.0.1.2:80 to another host in a ssh tunnel. But all of them do not require to bind nginx to a specific IP as I thought. I already use different hostnames.
Mar
1
comment Nginx failed to start on boot: “Cannot assign requested address”
I added more detail. It indeed seems like IP assignation problem. I just don't know how it happens nor how to debug. nginx is on the last lines of the /var/log/boot.log. The IP is fixed and assigned by a DHCP server (which is a set-top-box).
Mar
1
awarded  Custodian
Mar
1
reviewed Approve Nginx failed to start on boot: “Cannot assign requested address”
Feb
28
asked Nginx failed to start on boot: “Cannot assign requested address”
Dec
8
comment Nginx: How to serve different urls with different settings from one file?
I tested and it did not work. I always get the text/plain, with or without .html dev.jcisio.com/paste/Nfe74Cxf
Dec
8
comment Nginx: How to serve different urls with different settings from one file?
I could modify your settings to match a pattern with regular expression. However the tricky part is there is no content-type header if it is accessed without extension, and nginx uses "Content-Type: application/octet-stream".
Dec
8
comment Nginx: How to serve different urls with different settings from one file?
I've modified the question to clarify that it should match a pattern.
Dec
8
revised Nginx: How to serve different urls with different settings from one file?
clarify that it should match a pattern instead of individual files.
Dec
7
asked Nginx: How to serve different urls with different settings from one file?
Nov
22
awarded  Popular Question
Jul
26
awarded  Yearling
Apr
11
comment How do I optimize TCP stack for HTTP server?
The high latency is due to a long route (EU -> Asia). I have little choice on geographical location of the main server.
Apr
11
comment How do I optimize TCP stack for HTTP server?
As the actual kernel in Debian Squeeze is 2.6.32, I think I'll have to get a new one from backports then try to increase cwnd to about 12 to fit my 16 KB file size.
Apr
11
accepted How do I optimize TCP stack for HTTP server?
Apr
9
asked How do I optimize TCP stack for HTTP server?
Feb
21
comment High disk I/O when cache is used?
Read the question comment and the accepted answer. I commented out apc.mmap_file_mask=/tmp/apc.XXXXXX
Feb
21
revised High disk I/O when cache is used?
add more graphs
Feb
21
answered High disk I/O when cache is used?
Feb
18
comment High disk I/O when cache is used?
@psusi There are/were multiple problems that I can only resume, not explain: 1/ APC cache miss (but OS cache hit for those PHP files, so very little disk I/O, less wait time but more avg I/O time, which mostly MySQL InnoDB transaction commit) 2/ APC cache hit but APC was using files (then OS cache miss, don't know why) 3/ brief, my question is "when cache worked badly, there is (almost) no disk I/O" - what you're saying is completely contrary to that.