Questions tagged [requests]

36 questions
14
votes
4 answers

Apache: Limit the Number of Requests/Traffic per IP?

I would like to only allow one IP to use up to, say 1GB, of traffic per day, and if that limit is exceeded, all requests from that IP are then dropped until the next day. However, a more simple solution where the connection is dropped after a…
Ian Kern
4
votes
2 answers

Plain uWSGI error: uwsgi_response_write_body_do() TIMEOUT

This looks like a well-known issue with Nginx+uWSGI timeouts, but my setup is different and I couldn't find information about it. I run a Flask app on uWSGI, on http protocol (not sockets). When I query my API, sometimes I receive an…
adamczi
  • 153
  • 1
  • 6
4
votes
0 answers

REQUEST CACHING IN NGINX

I am trying to cache my requests in nginx. I have connected my django server as upstream. Now, I am trying to cache my requests. proxy_cache_path /var/cache/nginx/ keys_zone=one:10m; location / { proxy_cache one; …
Luv33preet
  • 206
  • 1
  • 11
3
votes
0 answers

How many HTTP transactions through a connection in Haproxy

I want to know how many http transactions occur through a specific connection of Haproxy with a client (frontend). If I could associate connection (session) id with the frontend's request I would be able to count number of log lines with this id,…
rlib
  • 195
  • 1
  • 1
  • 7
3
votes
1 answer

how to get list of http request currently getting handled by nginx server?

i am using ab command to hit the http request to my local host . now on server side i want to check how many request currently getting handled by my nginx server. like in case of DB we can check the list of db-connection made by any…
mayur
  • 31
  • 2
2
votes
2 answers

is there any difference between a request vs a hit?

In metrics such as "requests per second" and "hits per second" for web servers, are the terms "request" and "hit" synonymous? Can you think of a context in which a request is not a hit?
Rand Dom
  • 31
  • 2
2
votes
1 answer

Nginx redirect all request that does not match a file to a php file

I'm trying to get all request to: http://example.com/downloads/* redirect to http://example.com/downloads/index.php except if the requested file exist in /downloads/ ex: http://example.com/downloads =>…
Cyrbil
  • 123
  • 1
  • 7
2
votes
2 answers

Strange "GET /api/levels/ " and "GET /play/" requests in logs

I've setup new Amazon EC2 instance. In a day or two started to get strange "GET" requests from the "google bot-like" IP's (eg 66.249.76.84, 66.249.74.152) about one in 10 seconds (some examples): 66.249.74.152 - - [10/Apr/2013:06:05:02 +0000] "GET…
domage
  • 23
  • 2
2
votes
1 answer

Strange requests being made to my site

I've recently started hosting my dev site from my laptop and I see these requests being made on my domain. I've no idea what these are. Please…
ram
  • 123
  • 2
2
votes
2 answers

What is a good live request monitor for Apache httpd?

I have used SeeFusion to monitor ColdFusion requests. Is there a similar tool that would allow me to monitor Apache httpd requests in real time? We have a server that was fast and responsive for months, but suddenly today, it is using 80% cpu…
2
votes
4 answers

keep a count of each file served

I've inherited a php project from an offshore firm and I'm pretty sure that ~50% of the files are no longer used. I want to weed out the unused files so I was thinking of just tracking the number of times each file is requested or included while I…
doub1ejack
  • 537
  • 1
  • 6
  • 12
1
vote
0 answers

many connections to one of our website

We are hosting multiple websites with Nginx as an SSL terminator. All traffics are proxied through Nginx to backend servers. There are many connections to one of our websites, netstat shows: # netstat -ntp|grep nginx |wc -l 1041 when I check…
1
vote
1 answer

Setting up proxy to handle subdomain requests

I have setup a proxy for a site which works with the following nginx config: server { listen 80; server_name proxy.example.com; access_log /dev/null; error_log /dev/null; location / { proxy_pass …
PeeHaa
  • 221
  • 4
  • 18
1
vote
2 answers

Lots of requests for same URL at new IP address

Just got a new VPS with two IPs. I'm getting a tonne of requests from multiple different client IPs for a single path on one of the IPs, almost one per second. The path is "/lzb/gz.php". Any ideas what this is? And should I be concerned? Should…
user101570
  • 67
  • 7
1
vote
2 answers

Strange code in URL request \x18\xbaL\x03@\xea$\x03HZm ... how can I find out what they are up to?

Well someone is requesting some URL's with really strange hex codes. How can I find out what they are up to. The problem is I don't even know what code that is, it's not a hex code. How can I find out what's going on here?
mashup
  • 330
  • 1
  • 11
1
2 3