3
votes
2answers
2k views

Nginx to apache reverse proxy, instruct use of unix sockets

My Nginx reverse proxy works on the same machine as the webserver(apache) as follows server { server_name site.net; location / { proxy_pass http://localhost:82; ...
1
vote
1answer
393 views

Using UNIX sockets with nginx

I would like to clarify some doubts I have about using nginx to proxy requests over a cluster of thin servers (http://code.macournoyer.com/thin/). I've read many blog posts about using UNIX sockets ...
2
votes
1answer
879 views

TIME_WAIT consumes file descriptors?

In many TCPIP and Web tunning guide, recommends increasing max number of file descriptors when getting the error "Too many open files" but, i can't see TIME_WAIT in outputs of "lsof -i" Does anyone ...
4
votes
2answers
468 views

Are serial-to-ethernet adapters interchangeable?

I need to get data from a serial device (a weather station) over our network where it'll be processed by a Unix host (using custom software). I was able to compile remserial which makes the remote ...
6
votes
5answers
1k views

Is there still a reason why binding to port < 1024 is only authorized for root on Unix systems?

On Unix systems, binding to tcp port < 1024 from a process without root privileged is denied. What was the initial reason and is it still valid ? For example http server don't need root ...
57
votes
7answers
69k views

How to forcibly close a socket in TIME_WAIT?

I run a particular program on linux which sometimes crashes. If you open it quickly after that, it listens on socket 49201 instead of 49200 as it did the first time. netstat reveals that 49200 is in ...