Sponsored Content
Full Discussion: Solaris sftp throttling?
Operating Systems Solaris Solaris sftp throttling? Post 302559598 by AGermain on Tuesday 27th of September 2011 03:01:30 PM
Old 09-27-2011
Solaris sftp throttling?

I get poor performance when sftp'ing a file to a server on a SunOS 5.10 system, with Sun_SSH_1.1.4. The same client performs much better to a linux system at the same site.

From a TCPdump, it appears that the Solaris server is throttling the thruput. After proceeding normally for a while, the server sends a duplicate ack, then a return data packet. This data packet seems to cause my client to stop sending.

After the server receives the ack for that reverse data packet, the server acks all outstanding packets, and sends another data packet. On receipt of that second data packet, my client resumes sending.

This process is repeated regularly, resulting in poor performance.

Any clues on what is going on, or how to speed this up?
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Help using SFTP i Solaris

Folks; How can i give a user the privilege to upload files into Solaris UNIX box using sftp? (10 Replies)
Discussion started by: moe2266
10 Replies

2. Solaris

Implementing sftp within Solaris 10

Greetings! Does anyone know of any HowTos or cookbooks that will give a good overview of implementing sftp within Solaris 10? Specifically, I need to know (1) Installation procedure (2) which logs monitor sftp and where the logs are located at (3) how to create/install sftp users and... (4 Replies)
Discussion started by: RobSand
4 Replies

3. Shell Programming and Scripting

Throttling

Hey guys, Need your help/suggestions I have a log file which has 5K lines in it, I need to send only 200 lines to an application at a time and delete the 200 lines from log fileafter its been fed to application. The script should keep on running until all 5K has been... (2 Replies)
Discussion started by: achararun
2 Replies

4. UNIX for Advanced & Expert Users

Throttling Process Resource Consumption

Is there a way of throttling a process resources, something akin to limits but for processes not users? ie I want processX to be restricted in the amount of memory it can consume. For process cpu I guess I can simply nice the process, but total memory consumption is my primary concern. (3 Replies)
Discussion started by: humbletech99
3 Replies

5. Solaris

SFTP from Solaris to Windows

Hello Guys, I was looking for a method for passwordless SFTP from Solaris to Windows server. I googled a lot, but could not find anything which would suit my purpose. All I found on google was the error messages that people got, but not how to do it. Please help. I am in urgent need of it. (7 Replies)
Discussion started by: grajp002
7 Replies

6. UNIX for Dummies Questions & Answers

automate sftp in sun solaris.

Hi, I'm using Sun Solaris OS. I have configured sftp and can exchange files in command prompt. Now when I try to automate it in ksh script, facing issue as I want to capture the status if the transfer was successful or not. So tried sftp -b and sftp -B option but its not working. The... (3 Replies)
Discussion started by: shinny
3 Replies

7. Solaris

SCP/SFTP- Stalled- solaris

hello all, I am getting the following error with the SCP/Sftp is getting stalled on solaris 10 . pxxx_xxx_SOLARIS64_1of7.zip 0% 2068KB 0.0KB/s - stalled -Write failed: Broken pipe pxxx_xxx_SOLARIS64_1of7.zip ... (2 Replies)
Discussion started by: Sojourner
2 Replies

8. Solaris

Enabling SFTP log on Solaris

Hi Guys, Hope you can shed the light to this issue. I have enabled SFTP logging on Linux this way and it works: But trying this on Solaris it wont work, the ssh goes to maintenance in when checking with svcs. The logs said a syntax error it doesn't recognize "-l" (3 Replies)
Discussion started by: batas
3 Replies

9. Red Hat

Throttling a Yum Mirror sync

I'm building a yum mirror on Oracle Enterprise Linux, which is a fork of RHEL. I'm using uln-yum-mirror to create and maintain the mirror. In the Yum client, more specifically in /etc/yum.conf there is a throttle setting. Is there a like feature in /etc/sysconfig/uln-yum-mirror? If so, what is... (0 Replies)
Discussion started by: os2mac
0 Replies
PCAP_INJECT(3PCAP)														PCAP_INJECT(3PCAP)

NAME
pcap_inject, pcap_sendpacket - transmit a packet SYNOPSIS
#include <pcap/pcap.h> int pcap_inject(pcap_t *p, const void *buf, size_t size); int pcap_sendpacket(pcap_t *p, const u_char *buf, int size); DESCRIPTION
pcap_inject() sends a raw packet through the network interface; buf points to the data of the packet, including the link-layer header, and size is the number of bytes in the packet. Note that, even if you successfully open the network interface, you might not have permission to send packets on it, or it might not sup- port sending packets; as pcap_open_live() doesn't have a flag to indicate whether to open for capturing, sending, or capturing and sending, you cannot request an open that supports sending and be notified at open time whether sending will be possible. Note also that some devices might not support sending packets. Note that, on some platforms, the link-layer header of the packet that's sent might not be the same as the link-layer header of the packet supplied to pcap_inject(), as the source link-layer address, if the header contains such an address, might be changed to be the address assigned to the interface on which the packet it sent, if the platform doesn't support sending completely raw and unchanged packets. Even worse, some drivers on some platforms might change the link-layer type field to whatever value libpcap used when attaching to the device, even on platforms that do nominally support sending completely raw and unchanged packets. pcap_sendpacket() is like pcap_inject(), but it returns 0 on success, rather than returning the number of bytes written. (pcap_inject() comes from OpenBSD; pcap_sendpacket() comes from WinPcap. Both are provided for compatibility.) RETURN VALUE
pcap_inject() returns the number of bytes written on success and -1 on failure. pcap_sendpacket() returns 0 on success and -1 on failure. If -1 is returned, pcap_geterr() or pcap_perror() may be called with p as an argument to fetch or display the error text. SEE ALSO
pcap(3PCAP), pcap_geterr(3PCAP) 5 April 2008 PCAP_INJECT(3PCAP)
All times are GMT -4. The time now is 03:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy