Sponsored Content
Operating Systems BSD Too many connections from ::1 - OPTIONS * HTTP/1.0 Post 302352950 by justwondering01 on Monday 14th of September 2009 05:44:38 AM
Old 09-14-2009
Too many connections from ::1 - OPTIONS * HTTP/1.0

Hi!

I am really not sure if this the right place to post this question but since my server is FreeBSD, I'll go for it Smilie

I have a server and there are times that the load of my server would just shoot up. I'm using apache-top right now to check the cause of the problem and all I see are a lot of connections from ::1 (localhost). Here is a sample of what I'm seeing when running apache-top or when accessing /server-status. Yes ExtendedStatus is set to On.

121-0 - 0/0/ . 0.01 14201 0 0.0 0.00 21.46 ::1 xxx.xxxx.xxxx OPTIONS * HTTP/1.0 2145
122-0 - 0/0/ . 0.00 14208 0 0.0 0.00 39.73 ::1 xxx.xxxx.xxxx OPTIONS * HTTP/1.0 1716
123-0 - 0/0/ . 0.28 14116 0 0.0 0.00 38.23 ::1 xxx.xxxx.xxxx OPTIONS * HTTP/1.0 1926
124-0 - 0/0/ . 0.06 14164 0 0.0 0.00 17.90 ::1 xxx.xxxx.xxxx OPTIONS * HTTP/1.0 1507
125-0 - 0/0/ . 0.07 14149 0 0.0 0.00 22.40 ::1 xxx.xxxx.xxxx OPTIONS * HTTP/1.0 1690
126-0 - 0/0/ . 0.28 14134 0 0.0 0.00 7.63 ::1 xxx.xxxx.xxxx OPTIONS * HTTP/1.0 1166
127-0 - 0/0/ . 1.13 13992 0 0.0 0.00 43.96 ::1 xxx.xxxx.xxxx OPTIONS * HTTP/1.0 1499
128-0 - 0/0/ . 30.16 14052 0 0.0 0.00 9.73 ::1 xxx.xxxx.xxxx OPTIONS * HTTP/1.0 1386
129-0 - 0/0/ . 0.09 14184 0 0.0 0.00 44.47 ::1 xxx.xxxx.xxxx OPTIONS * HTTP/1.0

I've tried searching in the net for answers regarding my problem. Some says it's just normal to have this kind of lines but I think it's the cause of the high cpu usage in my server. Anyone out there who have any ideas or suggestions regarding my problem? http://www.apache.com/forums/Smileys/default/huh.gif I really really need your help guys about this issue. http://www.apache.com/forums/Smileys/default/cry.gif

My OS is FreeBSD 6.2. Apache version is 2.2. Please help http://www.apache.com/forums/Smileys/default/cry.gif

Thanks in advance.

-justwondering01
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Threads v/s Connections

Can someone please explain the difference between a connection and a thread. Any explanation will help! Thanks (3 Replies)
Discussion started by: suntan
3 Replies

2. HP-UX

HP-UX: X connections...?

Hello All, I have 2 qries about X connections on HP-UX : 1.How/where to determine whether "X connections" to the server are controlled. 2. How/where to determine whether "X11 connection" are tunnelled via ssh. 3. How/where to determine the "Time in minutes before unattended X terminals... (0 Replies)
Discussion started by: abhayh
0 Replies

3. Web Development

How to find number of http connections active currently in apache web server

Hi I have a solaris 9 OS with apache web server running on top of it. i want to know how many http connections are active at any point in time. (In other words how many users are accessing my website it at any moment of time) How to get it..? hit counters are not required... ----------... (0 Replies)
Discussion started by: aemunathan
0 Replies

4. Programming

sending http url through http socket programming..

hi am senthil am developing a software to send and receive SMS using HTTP connection first of all am forming a URL and sending that URL to a remote server using my Client Program i send that url through Socket(using Send() Function) if i send more than one URL one by one using the same... (0 Replies)
Discussion started by: senkerth
0 Replies

5. Shell Programming and Scripting

sending http url through http socket programming..

hi am senthil am developing a software to send and receive SMS using HTTP connection first of all am forming a URL and sending that URL to a remote server using my Client Program i send that url through Socket(using Send() Function) if i send more than one URL one by one using the same... (4 Replies)
Discussion started by: senkerth
4 Replies

6. Ubuntu

Kernel boot options removed by fault, no boot options

Hello Everyone, First of all, I highly appreciate all Linux forum members and whole Linux community. http://forums.linuxmint.com/images/smilies/icon_wink.gif. I wish you the best for all of you ! I will try to be short and concise: I am using Linux Mint 10 for 2 months on 2 ws, and all went... (3 Replies)
Discussion started by: cdt
3 Replies

7. Web Development

HTTP Headers Reference: HTTP Status-Codes

Hypertext Transfer Protocol -- HTTP/1.1 for Reference - HTTP Headers 10 Status Code Definitions Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response. (1 Reply)
Discussion started by: Neo
1 Replies

8. Shell Programming and Scripting

awk script to find time difference between HTTP PUT and HTTP DELETE requests in access.log

Hi, I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log. Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies
CURLOPT_HTTP_VERSION(3) 				     curl_easy_setopt options					   CURLOPT_HTTP_VERSION(3)

NAME
CURLOPT_HTTP_VERSION - specify HTTP protocol version to use SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_HTTP_VERSION, long version); DESCRIPTION
Pass version a long, set to one of the values described below. They ask libcurl to use the specific HTTP versions. This is not sensible to do unless you have a good reason. You have to set this option if you want to use libcurl's HTTP/2 support. Note that the HTTP version is just a request. libcurl will still prioritize to re-use an existing connection so it might then re-use a con- nection using a HTTP version you haven't asked for. CURL_HTTP_VERSION_NONE We don't care about what version the library uses. libcurl will use whatever it thinks fit. CURL_HTTP_VERSION_1_0 Enforce HTTP 1.0 requests. CURL_HTTP_VERSION_1_1 Enforce HTTP 1.1 requests. CURL_HTTP_VERSION_2_0 Attempt HTTP 2 requests. libcurl will fall back to HTTP 1.1 if HTTP 2 can't be negotiated with the server. (Added in 7.33.0) The alias CURL_HTTP_VERSION_2 was added in 7.43.0 to better reflect the actual protocol name. CURL_HTTP_VERSION_2TLS Attempt HTTP 2 over TLS (HTTPS) only. libcurl will fall back to HTTP 1.1 if HTTP 2 can't be negotiated with the HTTPS server. For clear text HTTP servers, libcurl will use 1.1. (Added in 7.47.0) CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE Issue non-TLS HTTP requests using HTTP/2 without HTTP/1.1 Upgrade. It requires prior knowledge that the server supports HTTP/2 straight away. HTTPS requests will still do HTTP/2 the standard way with negotiated protocol version in the TLS handshake. (Added in 7.49.0) DEFAULT
CURL_HTTP_VERSION_NONE PROTOCOLS
HTTP EXAMPLE
TODO AVAILABILITY
Along with HTTP RETURN VALUE
Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. SEE ALSO
CURLOPT_SSLVERSION(3), CURLOPT_HTTP200ALIASES(3), libcurl 7.54.0 May 01, 2016 CURLOPT_HTTP_VERSION(3)
All times are GMT -4. The time now is 05:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy