HTTP1.1

Chandrashekhar Mullaparthi Chandrashekhar.Mullaparthi@REDACTED
Thu Jan 10 17:05:47 CET 2002


On UNIX, generally there is a per process limit on the number of open files.
Probably this is what is limiting you more than anything else. On Solaris I
would do something like this:

shutdown the erlang node
In the UNIX shell type "ulimit -n" to see the current limit (which is
usually 64)
ulimit -n 256 (to set the limit to 256)
Start the erlang node again.

hope this helps.
Chandru

-----Original Message-----
From: Tanja Godau [mailto:eedtag@REDACTED]
Sent: 10 January 2002 15:45
To: erlang-questions@REDACTED
Subject: HTTP1.1


G'day,

I've been happily using the HTTP1.1 client from Johan Blom contained in the 
sowap application to PUT and GET images and text, and to POST data to a
form.
 
But have discovered that if I setup several PPP connections and attempt to
PUT 
or GET large numbers of files,  e.g. do a few hundred GETs or PUTs one after
the 
other, then I eventually get the following error:

	?error("Couldn't create TCP connection ~p",[Tag],tcp_connect),

The tcp connection is opened with:

 	gen_tcp:connect(Host,Port,TCPArgs)

After this I am unable to create any new TCP connections, i.e. I can no
longer 
do any http or ftp down- or uploads.

I think the problem may be that I have reached the max. number of sockets I
can 
open with Erlang. How many sockets can I open in Erlang? 

How can I check that the socket I have just used has been closed again
properly 
or reset before I continue?

Is there anything else new on the HTTP1.1 front? 

(I am working on a PC with RedHat Linux 7.0.)

Thankyou
Tanja Godau :-)



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




More information about the erlang-questions mailing list