Hello friends,
I use Fttpsrv against AJAX client. When a client asks twice the same
request in a very short time, the second ask ends with an error
{probably because of used stream or file]. I am not able to find out
the main problem by debugging because it's a question of timing. Just
now the ask
I find that the server side script may require different format.
When I did upload to a PHP page, I had to hand craft the MIME
content. It may not work with a non-PHP server side.
Jack
Thursday, March 16, 2006, 4:47:21 AM, you wrote:
>> Is it possible to send a file from a windows machine from,
Hello!
> Is there a way to limit the cpu usage when receiving files thru TWsocket?
> Usualy CPU is 90-100% used and the computer freezes for the time the transfer
> is made.
If you write in a random sized chunks (especially byte-per-write), use
some kind of write-buffering filestream (AFAIR Ar
Or throttle the sending of the data in the sender application. Now you
have probably something like this:
Socket.Send(DataChunck, Len);
in SocketDataSent:
SendNext;
in SendNext:
// read next chunck from file
Socket.Send(DataChunck, Len);
== you can change thsi as follow ==
Socket.Send
Hello iwsc,
I don't think you'll bootleneck your hard drive with network data
transfert, unless you get many at same time on a Gigabyte LAN ?
imc> Indeed the data transfered is continously transfered at high speed and it
is written directly to disk.
imc> Which is the best method I could use to
> Indeed the data transfered is continously transfered at high speed and it is
> written directly to disk.
> Which is the best method I could use to slow cpu usage?
> - make a timer and send data whith interrupts (but how to make a timer whith
> 0.2 seconds step for example?)
> - find somehow a
Indeed the data transfered is continously transfered at high speed and it is
written directly to disk.
Which is the best method I could use to slow cpu usage?
- make a timer and send data whith interrupts (but how to make a timer whith
0.2 seconds step for example?)
- find somehow a component t
I think he is using sync methods which consume a fake 100% CPU. I
experienced the same with TFtpServer 5 years ago before I switched to async.
the reason is the default message pump of ICS uses PeekMessage whereas my
suggestion is to build a message pump with GetMessage.
Best Regards,
SubZ
--
Hello Radu,
It is also possible if you send / receive very mutch data at high speed
and save to disk or so. This take some time and meanwhile next chunck is
probably already received.
If this is the reason then you can slow down the sending a little by
waiting a littel between data chuncks. You c
> Is there a way to limit the cpu usage when receiving files thru TWsocket?
> Usualy CPU is 90-100% used and the computer freezes for
> the time the transfer is made.
TWSocket component doesn't use much of the CPU. It is likely that in your
application you've done
some wait loop which eat all CPU
Hello,
I think you have a problem because it should not eat 100% CPU nor
freeze your system.
regards.
imc> Hello
imc> Is there a way to limit the cpu usage when receiving files thru TWsocket?
imc> Usualy CPU is 90-100% used and the computer freezes for the time the
transfer is made.
imc> Ra
Hello,
On my Message Tickering server I also get nearly same performances (a
bit less because there is user/login request+ settings data sending
once logged in).
Regards.
FT> Hello,
FT> We have a beta reverse proxy that when measured with socrates can open
FT> 450connections/s with IIS 5.1, w
Hello
Is there a way to limit the cpu usage when receiving files thru TWsocket?
Usualy CPU is 90-100% used and the computer freezes for the time the transfer
is made.
Radu
___
No banners. No pop-ups. No kidding.
Make My Way your home on the Web
> Is it possible to send a file from a windows machine from, lets
> say d:/testfile.txt to a weblink (like http://192.168.0.1/datas/upload/)
> or phisical address (like //192.168.0.1/datas/upload/) on linux using ICS?
>
> Assuming that I don't want to install FTP on linux server, is it still
> pos
Hello,
We have a beta reverse proxy that when measured with socrates can open
450connections/s with IIS 5.1, which when run directly can supply 750 con./s
on the same machine. We have keep-alice HTTP client connection pooling and
thread pooling as well as a 32-client/thread arcthecture thanks t
Hello iwsc,
Usually, file upload is a server side feature done thru binary HTTP
POST so if you can upload data with a POST, then ICS can do it.
Regards.
imc> Hello
imc> Is it possible to send a file from a windows machine from, lets say
d:/testfile.txt to a weblink (like http://192.168.0.1/dat
Hello
Is it possible to send a file from a windows machine from, lets say
d:/testfile.txt to a weblink (like http://192.168.0.1/datas/upload/) or
phisical address (like //192.168.0.1/datas/upload/) on linux using ICS?
Assuming that I don't want to install FTP on linux server, is it still possi
17 matches
Mail list logo